/* BikerCare storefront design system */
:root {
    --c-text: #3d3d3d;
    --c-muted: #7a7a7a;
    --c-yellow: #fed900;
    --c-red: #ec5a43;
    --c-sale: #f13030;
    --c-grey: #f3f3f3;
    --c-grey-2: #e3e3e3;
    --c-border: #d6d6d6;
    --c-teal: #2bb3a3;
    --c-white: #fff;
    --font: "Poppins", Arial, Helvetica, sans-serif;
    --container: 1360px;
    --gutter: 32px;
    --radius-pill: 999px;
    --shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--c-text); background: var(--c-white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
del { color: var(--c-muted); }
:focus-visible { outline: 2px solid var(--c-text); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--c-yellow); font-weight: 600; }
.skip-link:focus { top: 8px; }
.text-center { text-align: center; }
.underline { text-decoration: underline; }

.icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; vertical-align: middle; }
.icon--xs { width: 10px; height: 10px; }
.icon--sm { width: 13px; height: 13px; }
.icon--lg { width: 26px; height: 26px; }
.icon--xl { width: 36px; height: 36px; }

/* ---------- Buttons & shared bits ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 3px 30px 3px 18px; min-height: 38px; font-size: 16px; font-weight: 500; font-style: italic; text-transform: uppercase; border: 1px solid currentColor; background: transparent; transition: background .2s, color .2s; }
.btn:hover { text-decoration: none; }
.btn--outline { color: var(--c-text); }
.btn--outline:hover { background: var(--c-text); color: var(--c-white); }
.btn--outline-light { color: var(--c-white); }
.btn--outline-light:hover { background: var(--c-white); color: var(--c-text); }
.btn--primary { justify-content: center; padding: 10px 24px; min-height: 50px; background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-text); font-size: 17px; }
.btn--primary:hover { background: #f0cc00; }
.btn--block { flex: 1; }

.eyebrow { font-size: 16px; text-transform: uppercase; letter-spacing: 1.6px; }

.badge { display: inline-block; padding: 0 5px; font-size: 12px; font-weight: 500; line-height: 20px; color: var(--c-white); background: var(--c-red); }
.badge--new { background: var(--c-text); text-transform: uppercase; }
.badge--lg { font-size: 16px; line-height: 28px; padding: 0 8px; }

.section { padding: 50px 0; }
.section--grey { background: var(--c-grey); }
.section--heading-only { padding-bottom: 30px; }

.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading__eyebrow { font-size: 16px; text-transform: uppercase; letter-spacing: 1.6px; }
.section-heading__eyebrow::after { content: ""; display: block; width: 40px; height: 3px; margin: 8px auto 10px; background: var(--c-yellow); }
.section-title { font-size: 35px; font-weight: 600; line-height: 1.2; text-transform: uppercase; text-align: center; }
.section-title--sm { font-size: 24px; margin-bottom: 20px; }
.page-title { font-size: 35px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-style: italic; font-weight: 500; text-transform: uppercase; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--c-text); color: var(--c-white); font-size: 14px; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 30px; }
.top-bar__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.top-bar__item.is-italic { font-style: italic; }
.top-bar__item .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--c-white); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 90px; }
.site-header__menu-toggle { display: none; }

.logo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo__mark svg { width: 54px; height: 40px; }
.logo__img { display: block; max-height: 48px; width: auto; }
.logo__text { font-size: 30px; font-weight: 700; font-style: italic; letter-spacing: -.5px; line-height: 1; }
.logo__text span { color: var(--c-red); }

.department-tabs { display: flex; align-self: stretch; }
.department-tabs__item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-width: 90px; padding: 0 16px; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.department-tabs__item .icon { width: 30px; height: 30px; }
.department-tabs__item.is-active { background: var(--c-yellow); }
.department-tabs__item:hover { text-decoration: none; }

.search { flex: 1; display: flex; align-items: center; max-width: 640px; height: 42px; margin-left: auto; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: var(--c-white); }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 20px; border: 0; background: transparent; font-size: 14px; outline: none; }
.search input::placeholder { color: #9a9a9a; }
.search button { display: grid; place-items: center; width: 48px; height: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions__item { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
.header-actions__badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--c-red); color: var(--c-white); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }

/* ---------- Main navigation ---------- */
.main-nav { position: relative; background: var(--c-yellow); }
.main-nav__inner { position: relative; display: flex; align-items: center; }
.main-nav__list { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav__list::-webkit-scrollbar { display: none; }
.main-nav__item { flex-shrink: 0; }
.main-nav__item + .main-nav__item .main-nav__link::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 1px; background: rgba(61, 61, 61, .35); }
.main-nav__link { position: relative; display: flex; align-items: center; height: 40px; padding: 0 20px; font-size: 15px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.main-nav__link:hover, .main-nav__item:hover > .main-nav__link { text-decoration: none; background: rgba(255, 255, 255, .45); }
.main-nav__link.is-active { box-shadow: inset 0 -3px 0 var(--c-text); }
.main-nav__link.is-highlighted { color: var(--c-sale); }
.main-nav__arrow { display: none; place-items: center; width: 28px; height: 40px; }
.main-nav.is-scrollable .main-nav__arrow { display: grid; }

.flyout { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--c-white); box-shadow: 0 10px 20px rgba(0, 0, 0, .12); border-top: 1px solid var(--c-grey-2); }
.main-nav__item:hover > .flyout, .main-nav__item:focus-within > .flyout { display: block; }
.flyout__inner { padding-top: 24px; padding-bottom: 32px; }
.flyout__header { margin-bottom: 16px; font-weight: 600; text-transform: uppercase; }
.flyout__header a { display: inline-flex; align-items: center; gap: 6px; }
.flyout__groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.flyout__title { display: block; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
.flyout__link { display: block; padding: 3px 0; color: #555; }

/* ---------- Promo bar ---------- */
.promo-bar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 33px; padding: 4px var(--gutter); background: var(--c-red); color: var(--c-white); font-size: 15px; text-align: center; }
.promo-bar a { text-decoration: underline; }
.promo-bar__code { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--c-white); }
.promo-bar__code.is-copied::after { content: "copied!"; font-weight: 400; font-size: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 500px; overflow: hidden; background: #1e1e1e; color: var(--c-white); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, transparent 70%); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; padding-left: 90px; }
.hero__eyebrow { margin-bottom: 8px; color: var(--c-yellow); font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.6px; }
.hero__title { display: flex; flex-direction: column; margin-bottom: 14px; font-size: 35px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.hero__text { max-width: 440px; margin-bottom: 24px; font-size: 15px; }
.hero__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .75); color: var(--c-text); transform: translateY(-50%); }
.hero__arrow:hover { background: var(--c-white); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero__dot { width: 40px; height: 3px; background: rgba(255, 255, 255, .45); }
.hero__dot.is-active { background: var(--c-yellow); }
.hero__slide--center::after { background: rgba(0, 0, 0, .4); }
.hero__slide--center .hero__content { align-items: center; text-align: center; padding-right: 90px; }
.hero__slide--right::after { background: linear-gradient(270deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, transparent 70%); }
.hero__slide--right .hero__content { align-items: flex-end; text-align: right; padding-left: 0; padding-right: 90px; }

/* ---------- Category strip ---------- */
.category-strip { background: var(--c-grey); }
.category-strip__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-height: 224px; }
.category-strip__list li + li { border-left: 1px solid var(--c-border); }
.category-strip__list li:nth-child(6n + 1) { border-left: 0; }
.category-strip__list li:nth-child(n + 7) { border-top: 1px solid var(--c-border); }
.category-strip__item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; height: 100%; padding: 24px 10px; font-size: 14px; font-weight: 500; text-align: center; text-transform: uppercase; }
.category-strip__item img { box-sizing: border-box; width: 120px; height: 120px; padding: 0; border: 1px solid var(--c-border); border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); transition: transform .2s, box-shadow .2s; }
.category-strip__item:hover { text-decoration: none; }
.category-strip__item:hover img { transform: scale(1.06); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }

/* ---------- Carousels ---------- */
.carousel { position: relative; }
.carousel-view-all { margin-top: 24px; }
.carousel__track { display: grid; grid-auto-flow: column; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; }
.carousel__track--products { grid-auto-columns: calc((100% - 40px) / 5); }
.carousel__track--tiles { grid-auto-columns: calc((100% - 30px) / 4); }
.carousel__track--brands { grid-auto-columns: calc((100% - 70px) / 8); }
.carousel__track--videos { grid-auto-columns: calc((100% - 20px) / 3); gap: 10px; }
.carousel__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-white); box-shadow: var(--shadow); transform: translateY(-50%); transition: opacity .2s; }
.carousel__arrow--prev { left: -16px; }
.carousel__arrow--next { right: -16px; }
.carousel__arrow--solid { background: var(--c-text); color: var(--c-white); box-shadow: none; }
.carousel__arrow--plain { box-shadow: none; background: transparent; }
.carousel__arrow[disabled] { opacity: 0; pointer-events: none; }
.carousel > .section-title + .carousel__arrow, .carousel > .section-title ~ .carousel__arrow { top: calc(50% + 24px); }

/* ---------- Product card ---------- */
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 14px; background: var(--c-white); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-card__badges { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.product-card__image { display: block; aspect-ratio: 1; margin-bottom: 12px; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__variants { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; background: var(--c-grey); font-size: 14px; }
.product-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; font-size: 14px; line-height: 1.5; }
.product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: auto; }
.product-card__current { font-size: 16px; font-weight: 500; }
.product-card__price.is-sale .product-card__current { color: var(--c-red); }
.product-card__old { font-size: 12px; }

.rating { display: flex; align-items: center; gap: 1px; }
.rating__star { width: 14px; height: 14px; color: #f5c400; fill: currentColor; }
.rating__star.is-empty { color: #d4d4d4; }

/* ---------- Promo sections ---------- */
.promo-section { padding: 50px 0; background: var(--promo-bg, var(--c-grey)); }
.promo-feature { display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.promo-feature__card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-right: -80px; padding: 44px 48px; background: var(--c-white); }
.promo-feature__title { font-size: 26px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.promo-feature__title--xl { font-size: 35px; }
.promo-feature__highlight { font-size: 56px; font-weight: 700; line-height: 1; color: var(--c-red); }
.promo-feature__caption { font-size: 15px; font-weight: 500; text-transform: uppercase; }
.promo-feature__text { font-size: 14px; }
.promo-feature__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-feature--no-image { grid-template-columns: 1fr; }
.promo-feature--no-image .promo-feature__card { margin: 0; }
.promo-section__tiles, .promo-section__products { margin-top: 30px; }

.tile-grid { display: grid; gap: 10px; }
.tile-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid--4 { grid-template-columns: repeat(4, 1fr); }
.image-tile { position: relative; display: block; overflow: hidden; background: var(--c-white); }
.image-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.image-tile--tall img { aspect-ratio: 1; }
.image-tile:hover { text-decoration: none; }
.image-tile:hover img { transform: scale(1.04); }
.image-tile__label { display: block; padding: 12px 16px; background: var(--c-white); font-size: 16px; font-weight: 600; text-align: center; text-transform: uppercase; }
.image-tile--tall .image-tile__label { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.image-tile__wordmark { display: block; padding: 12px; background: var(--c-white); font-size: 18px; font-weight: 700; font-style: italic; text-align: center; text-transform: uppercase; }

/* ---------- Brand strip ---------- */
.brand-strip { padding: 30px 0; border-bottom: 1px solid var(--c-grey-2); }
.brand-strip .carousel__arrow--prev { left: 0; }
.brand-strip .carousel__arrow--next { right: 0; }
.brand-strip .carousel__track { margin: 0 32px; }
.brand-strip__item { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 70px; color: #8a8a8a; transition: color .2s; }
.brand-strip__item:hover { color: var(--c-text); text-decoration: none; }
.brand-strip__item img { width: 100%; height: 100%; object-fit: contain; }
.brand-strip__wordmark { font-size: 18px; font-weight: 700; font-style: italic; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.blog-card { display: flex; flex-direction: column; height: 100%; background: var(--c-grey); }
.blog-card__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: 24px; }
.blog-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--c-muted); }
.blog-card__meta time { margin-right: 10px; }
.blog-card__excerpt { flex: 1; }

/* ---------- Video section ---------- */
.video-section { padding: 50px 0; background: #c4c4c4; }
.video-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 40px; }
.video-section__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.video-section__title { font-size: 30px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.video-card { display: flex; flex-direction: column; height: 100%; background: var(--c-white); }
.video-card:hover { text-decoration: none; }
.video-card__image { position: relative; display: block; }
.video-card__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card__play { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; fill: var(--c-white); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); transform: translate(-50%, -50%); }
.video-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px; }
.video-card__title { font-size: 16px; font-weight: 600; text-transform: uppercase; }
.video-card__text { flex: 1; font-size: 13px; }

/* ---------- About ---------- */
.about__text { columns: 2; column-gap: 40px; margin-bottom: 30px; }
.about__text p { margin-bottom: 14px; break-inside: avoid; }
.about__footnote { margin-top: 30px; font-size: 12px; color: var(--c-muted); text-align: center; }

/* ---------- Footer ---------- */
.footer-main { padding: 50px 0; background: var(--c-grey); }
.newsletter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 50px; }
.newsletter__content { display: flex; flex-direction: column; gap: 14px; padding: 44px 48px; background: var(--c-yellow); }
.newsletter__title { font-size: 26px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.newsletter__benefits li { position: relative; padding-left: 22px; }
.newsletter__benefits li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.newsletter__field { display: flex; height: 46px; background: var(--c-white); }
.newsletter__field input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: none; }
.newsletter__field button { display: grid; place-items: center; width: 52px; background: var(--c-text); color: var(--c-white); }
.newsletter__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 12px; }
.newsletter__consent a { text-decoration: underline; }
.newsletter__image { min-height: 320px; background: center / cover no-repeat; }

.footer-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.footer-column__title { margin-bottom: 14px; font-size: 18px; font-weight: 600; text-transform: uppercase; }
.footer-column { overflow-wrap: anywhere; }
.footer-column li { padding: 3px 0; }
.footer-contact li + li { margin-top: 6px; }

.payment-methods { padding: 30px var(--gutter); text-align: center; }
.payment-methods__title { margin-bottom: 14px; font-size: 18px; font-weight: 600; text-transform: uppercase; }
.payment-methods__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.payment-methods__list li { padding: 6px 16px; border-radius: 6px; background: var(--c-grey); font-size: 13px; font-weight: 600; }

.footer-bottom { padding: 24px 0; background: var(--c-text); color: var(--c-white); font-size: 13px; }
.footer-bottom__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.social-links { display: flex; gap: 14px; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-white); color: var(--c-text); }
.social-links .icon { width: 20px; height: 20px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; }
.legal-links li + li::before { content: "/"; margin: 0 8px; opacity: .7; }
.footer-company { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 12px; text-align: center; opacity: .85; }
.footer-bottom__disclaimer { max-width: var(--container); margin: 16px auto 0; padding: 0 var(--gutter); font-size: 12px; opacity: .75; text-align: center; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-text); color: var(--c-white); border: 2px solid var(--c-white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; align-items: center; gap: 14px; padding: 20px 0; font-size: 13px; }
.breadcrumbs__back { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--c-text); color: var(--c-white); }
.breadcrumbs ol { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.breadcrumbs li { flex: 0 1 auto; min-width: 0; overflow: hidden; font-style: italic; color: var(--c-muted); white-space: nowrap; text-overflow: ellipsis; }
/* The current page shrinks first but keeps a minimum share; ancestors shrink only after that. */
.breadcrumbs li:last-child { flex-shrink: 1000; min-width: 30%; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; }
.breadcrumbs [aria-current] { color: var(--c-text); }

/* ---------- Category page ---------- */
.category-page__header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.category-page__logo { align-self: center; max-height: 48px; width: auto; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 50px; }
.brand-grid__item { height: 100px; padding: 16px; overflow: hidden; border: 1px solid var(--c-grey-2); }
.category-page__count { font-size: 16px; color: var(--c-muted); }

.subcategories { display: flex; gap: 20px; margin-bottom: 24px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; }
.subcategories__item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; width: 110px; font-size: 13px; text-align: center; }
.subcategories__item:hover { text-decoration: none; }
.subcategories__image { display: grid; place-items: center; width: 100px; height: 100px; overflow: hidden; border: 2px solid transparent; border-radius: 50%; background: var(--c-grey); }
.subcategories__image img { width: 80%; height: 80%; object-fit: contain; }
.subcategories__item.is-active .subcategories__image { border-color: var(--c-teal); }
.subcategories__item.is-active .subcategories__name { font-weight: 600; }

.listing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.sort-form { min-width: 0; }
.pill-button { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 42px; padding: 0 22px; white-space: nowrap; border: 1px solid var(--c-text); border-radius: var(--radius-pill); background: var(--c-white); font-size: 14px; font-weight: 500; text-transform: uppercase; }
.pill-button select { min-width: 0; max-width: 100%; border: 0; background: transparent; font-weight: 500; text-transform: uppercase; cursor: pointer; outline: none; }

.brand-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.brand-filters[hidden] { display: none; }
.brand-filters__item { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--c-grey); border-radius: var(--radius-pill); background: var(--c-white); font-size: 13px; }
.brand-filters__item:hover { text-decoration: none; border-color: var(--c-text); }
.brand-filters__item img { height: 20px; width: auto; }
.brand-filters__item.is-active { border-color: var(--c-teal); font-weight: 600; }
.category-intro { margin-top: 32px; font-size: 14px; line-height: 1.7; white-space: pre-line; color: var(--c-muted); }
.listing { padding: 20px 0 50px; background: var(--c-grey); }
.listing__empty { padding: 60px 0; text-align: center; font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.product-grid__banner { grid-column: span 2; grid-row: span 2; }
.grid-banner { position: relative; display: block; height: 100%; min-height: 400px; overflow: hidden; color: var(--c-white); }
.grid-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grid-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 50%); }
.grid-banner__text { z-index: 1; }
.grid-banner:hover { text-decoration: none; }
.grid-banner__text { position: absolute; left: 30px; right: 30px; bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.grid-banner__title { font-size: 30px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.grid-banner__cta { display: inline-flex; align-items: center; gap: 8px; font-style: italic; font-weight: 500; text-transform: uppercase; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.pagination__page, .pagination__arrow { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 50%; background: var(--c-white); font-weight: 500; }
.pagination__page:hover, .pagination__arrow:hover { text-decoration: none; background: var(--c-grey-2); }
.pagination__page.is-active { background: var(--c-text); color: var(--c-white); }
.pagination__arrow.is-disabled { opacity: .35; pointer-events: none; }

/* ---------- Product page ---------- */
.product-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 50px; margin-bottom: 50px; }
.gallery__stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-height: 640px; margin: 0 auto 16px; }
.gallery__stage .badge { position: absolute; top: 0; left: 0; }
.gallery__image { width: 100%; height: 100%; object-fit: contain; }
.notice { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 18px; border: 1px solid var(--c-border); font-size: 13px; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; }
.gallery__thumb { width: 90px; height: 90px; padding: 6px; border: 1px solid var(--c-grey-2); background: var(--c-white); }
.gallery__thumb.is-active { border-color: var(--c-text); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.buy-box { display: flex; flex-direction: column; gap: 12px; }
.side-banner { display: block; margin-top: 8px; }
.side-banner img { width: 100%; height: auto; }
.buy-box__brand { font-size: 16px; font-weight: 600; text-transform: uppercase; color: var(--c-muted); }
.buy-box__title { padding-bottom: 12px; border-bottom: 3px solid var(--c-yellow); font-size: 24px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.buy-box__prices { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.buy-box__old { font-size: 15px; }
.buy-box__saving { padding: 2px 10px; border: 1px solid var(--c-red); color: var(--c-red); font-size: 13px; font-weight: 500; }
.buy-box__price { font-size: 32px; font-weight: 600; line-height: 1.1; }
.buy-box__price.is-sale { color: var(--c-red); }
.buy-box__vat { font-size: 12px; color: var(--c-muted); }

.buy-form { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid var(--c-grey-2); }
.buy-form__label { font-weight: 600; }
.buy-form__label span { font-weight: 400; }
.buy-form__row { display: flex; justify-content: space-between; align-items: center; }
.buy-form__size-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: underline; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches__item { display: block; width: 64px; height: 64px; padding: 4px; border: 1px solid var(--c-grey-2); }
.swatches__item.is-active { border: 2px solid var(--c-text); }
.swatches__item img { width: 100%; height: 100%; object-fit: contain; }
.swatches__dot { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid var(--c-grey-2); }
.swatches__name { display: grid; place-items: center; width: 100%; height: 100%; font-size: 11px; text-align: center; overflow: hidden; }
.select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--c-border); background: var(--c-white); }
.availability { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--c-grey); font-size: 13px; }
.availability strong { color: #2a9d3c; }
.availability__hint { color: var(--c-muted); }
.buy-box__short { margin: 10px 0; font-size: 14px; line-height: 1.6; white-space: pre-line; }
a.buy-box__brand { display: inline-block; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.video-embed { position: relative; aspect-ratio: 16 / 9; max-width: 860px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.buy-form__actions { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; height: 50px; border: 1px solid var(--c-border); }
.qty button { display: grid; place-items: center; width: 40px; height: 100%; }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-box__links { border-top: 1px solid var(--c-grey-2); }
.buy-box__links a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-grey-2); }
.buy-box__links a .icon--xs { margin-left: auto; }

.tabs { margin-bottom: 20px; }
.tabs__list { display: flex; gap: 30px; border-bottom: 1px solid var(--c-grey-2); }
.tabs__tab { padding: 14px 0; font-size: 16px; font-weight: 600; text-transform: uppercase; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs__tab.is-active { border-bottom-color: var(--c-yellow); }
.tabs__panel { padding: 30px 0; }
.rich-text { max-width: 900px; }
/* Legacy TinyMCE content carries inline font families (e.g. Times New Roman); keep the brand font. */
.rich-text [style*="font-family"], .about__text [style*="font-family"] { font-family: inherit !important; }
.rich-text p, .rich-text ul { margin-bottom: 14px; }
.rich-text ul { padding-left: 20px; list-style: disc; }
.rich-text h3 { margin: 20px 0 10px; font-size: 18px; font-weight: 600; text-transform: uppercase; }
.rich-text table { border-collapse: collapse; min-width: 360px; max-width: 100%; margin-bottom: 14px; }
.rich-text th, .rich-text td { padding: 10px 18px; border: 1px solid var(--c-grey-2); text-align: left; }
.rich-text th { background: var(--c-grey); font-weight: 600; }
.size-guide { overflow-x: auto; }

/* ---------- Content pages, contact, article ---------- */
.content-page { padding-bottom: 48px; }
.content-page__section { margin-top: 36px; scroll-margin-top: 24px; }
.content-page__heading { margin: 28px 0 14px; font-size: 20px; font-weight: 700; text-transform: uppercase; }
.content-page__subheading { margin: 20px 0 10px; font-size: 16px; font-weight: 600; }
.content-page .rich-text { overflow-x: auto; }
.contact-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.contact-list li { margin-bottom: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-list a { text-decoration: underline; }
.contact-page__map iframe { display: block; width: 100%; height: 360px; border: 0; }
.booking-form { max-width: 760px; }
.booking-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-bottom: 24px; }
.booking-form__field { display: flex; flex-direction: column; gap: 6px; }
.booking-form__field--wide { grid-column: 1 / -1; }
.booking-form__field label { font-size: 14px; font-weight: 600; }
.booking-form__field input, .booking-form__field select, .booking-form__field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--c-border); background: var(--c-white); font: inherit; }
.booking-form__field .input-validation-error { border-color: var(--c-red); }
.booking-form__error, .booking-form__summary { color: var(--c-red); font-size: 13px; }
.flash { margin-top: 16px; padding: 10px 16px; border-left: 4px solid #2a9d3c; background: var(--c-grey); font-size: 14px; }
.flash--error { border-left-color: var(--c-red); color: var(--c-red); }
.booking-form__summary ul { margin-bottom: 16px; }
.booking-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cart-table__wrap { overflow-x: auto; margin-bottom: 12px; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cart-table th, .cart-table td { padding: 12px 10px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: middle; }
.cart-table thead th { font-weight: 700; text-transform: uppercase; font-size: 13px; }
.cart-table .cart-table__num { text-align: right; white-space: nowrap; }
.cart-table tr.is-unavailable td { background: var(--c-grey); }
.cart-line { display: flex; align-items: center; gap: 14px; min-width: 240px; }
.cart-line img { width: 80px; height: 80px; object-fit: contain; }
.cart-line__meta { margin-top: 4px; font-size: 13px; }
.cart-line__warning { margin-top: 4px; color: var(--c-red); font-size: 13px; }
.cart-line__qty { display: flex; gap: 6px; }
.cart-line__qty input { width: 64px; min-height: 40px; padding: 6px; border: 1px solid var(--c-border); }
.cart-line__remove { width: 32px; height: 32px; font-size: 22px; line-height: 1; }
.article { max-width: 900px; padding-bottom: 32px; }
.article__header { margin-bottom: 20px; }
.article__image { width: 100%; height: auto; margin-bottom: 20px; }
.article__lead { margin-bottom: 20px; font-size: 17px; font-weight: 600; line-height: 1.6; }
.article .rich-text img { max-width: 100%; height: auto; }

/* ---------- Not found ---------- */
.not-found { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 80px var(--gutter); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .carousel__track--products { grid-auto-columns: calc((100% - 30px) / 4); }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .category-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-strip__list li:nth-child(n) { border-left: 1px solid var(--c-border); border-top: 0; }
    .category-strip__list li:nth-child(4n + 1) { border-left: 0; }
    .category-strip__list li:nth-child(n + 5) { border-top: 1px solid var(--c-border); }
    .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .department-tabs { display: none; }
}

@media (max-width: 992px) {
    :root { --gutter: 20px; }
    .top-bar__item:not(:first-child) { display: none; }
    .top-bar__inner { justify-content: center; }
    .site-header__inner { flex-wrap: wrap; gap: 12px 16px; height: auto; padding-top: 12px; padding-bottom: 12px; }
    .site-header__menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; }
    .search { order: 10; flex-basis: 100%; max-width: none; margin-left: 0; }
    .header-actions { margin-left: auto; }
    .logo__text { font-size: 24px; }

    .main-nav { display: none; }
    .main-nav.is-open { display: block; }
    .main-nav__inner { padding: 0; }
    .main-nav__list { flex-direction: column; overflow: visible; }
    .main-nav__arrow, .main-nav.is-scrollable .main-nav__arrow { display: none; }
    .main-nav__item + .main-nav__item { border-top: 1px solid rgba(61, 61, 61, .2); }
    .main-nav__item + .main-nav__item .main-nav__link::before { display: none; }
    .main-nav__link { padding: 0 var(--gutter); height: 46px; }
    .flyout, .main-nav__item:hover > .flyout { display: none; }

    .hero { height: 420px; }
    .hero__content, .hero__slide--center .hero__content, .hero__slide--right .hero__content { padding-left: var(--gutter); padding-right: var(--gutter); }
    .hero__arrow { display: none; }
    .carousel__track--products { grid-auto-columns: calc((100% - 20px) / 3); }
    .carousel__track--tiles { grid-auto-columns: calc((100% - 10px) / 2); }
    .carousel__track--brands { grid-auto-columns: calc((100% - 30px) / 4); }
    .carousel__track--videos { grid-auto-columns: 70%; }
    .carousel__arrow--prev { left: 0; }
    .carousel__arrow--next { right: 0; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-feature { grid-template-columns: minmax(0, 1fr); }
    .promo-feature__card { order: 2; margin: -40px 20px 0; padding: 30px; }
    .tile-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-page { grid-template-columns: minmax(0, 1fr); }
    .video-section__inner { grid-template-columns: minmax(0, 1fr); }
    .about__text { columns: 1; }
    .newsletter { grid-template-columns: minmax(0, 1fr); }
    .newsletter__image { min-height: 220px; }
    .product-main { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .section-title, .page-title { font-size: 28px; }
}

/* Tablet: a lone last blog card spans the row side-by-side instead of leaving a gap. */
@media (min-width: 641px) and (max-width: 992px) {
    .blog-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .blog-grid > li:last-child:nth-child(odd) .blog-card { flex-direction: row; }
    .blog-grid > li:last-child:nth-child(odd) .blog-card__image { flex: 0 0 50%; }
}

@media (max-width: 640px) {
    .booking-form__grid { grid-template-columns: 1fr; }
    .hero__title { font-size: 26px; }
    .category-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 0; }
    .category-strip__list li:nth-child(n) { border-left: 1px solid var(--c-border); border-top: 0; }
    .category-strip__list li:nth-child(3n + 1) { border-left: 0; }
    .category-strip__list li:nth-child(n + 4) { border-top: 1px solid var(--c-border); }
    .category-strip__item { justify-content: flex-start; gap: 8px; padding: 16px 4px; font-size: 12px; overflow-wrap: anywhere; }
    .category-strip__item img { width: 72px; height: 72px; }
    .carousel__track--products { grid-auto-columns: calc((100% - 10px) / 2); }
    .carousel__track--tiles, .carousel__track--videos { grid-auto-columns: 85%; }
    .carousel__track--brands { grid-auto-columns: calc((100% - 20px) / 3); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid__banner { grid-row: span 1; }
    .grid-banner { min-height: 260px; }
    .tile-grid--3, .blog-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .newsletter__content { padding: 30px 24px; }
    .section-title, .page-title { font-size: 24px; }
    .promo-feature__highlight { font-size: 44px; }
    .buy-box__title { font-size: 20px; }
    .video-section__title { font-size: 24px; }
    .blog-card__body { padding: 18px; }
    .blog-card__title { font-size: 17px; }
    .footer-column__title { font-size: 16px; }

    /* 16px form text stops iOS Safari from zooming in on focus. */
    .search input, .newsletter__field input, .select, .qty input, .cart-line__qty input, .pill-button select,
    .booking-form__field input, .booking-form__field select, .booking-form__field textarea { font-size: 16px; }

    .listing-toolbar { gap: 10px; }
    .pill-button { gap: 8px; padding: 0 14px; }
    .pagination { gap: 4px; }
    .subcategories { gap: 12px; }
    .subcategories__item { width: 84px; font-size: 12px; }
    .subcategories__image { width: 72px; height: 72px; }
    .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-grid__item { height: 80px; padding: 10px; }
    .booking-form .btn--primary { width: 100%; }

    /* Cart: each table row becomes a card (product / qty + total), the remove button sits top-right. */
    .cart-table__wrap { overflow: visible; }
    .cart-table, .cart-table tbody, .cart-table tfoot { display: block; }
    .cart-table thead { display: none; }
    .cart-table tbody tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
    .cart-table tbody td { padding: 0; border: 0; }
    .cart-table tbody td:first-child { grid-column: 1 / -1; padding-right: 44px; }
    .cart-table tbody td:nth-child(2) { grid-column: 1 / -1; padding-left: 94px; text-align: left; font-size: 13px; }
    .cart-table tbody td:nth-child(4) { font-weight: 600; }
    .cart-table tbody td:last-child { position: absolute; top: 8px; right: 0; }
    .cart-line { min-width: 0; }
    .cart-line__remove { width: 44px; height: 44px; }
    .cart-table tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
    .cart-table tfoot th, .cart-table tfoot td { padding: 14px 0; border: 0; }
    .cart-table tfoot td:empty { display: none; }

    .footer-bottom { padding-bottom: 84px; }
    .legal-links { gap: 4px 16px; }
    .legal-links li + li::before { display: none; }
}

/* ---------- Service detail ---------- */
.service-body { margin: 32px 0; }
.service-body img { max-width: 100%; height: auto; }
