/* ==========================================================================
   SHERCO ISRAEL — BIKES v2 (models hub + category pages)
   Extends the Home v2 design system (home.css): same tokens, type and buttons.
   ========================================================================== */

/* ---------- Page head: blue slab, livery line underneath ---------- */
.b-hero { position: relative; background: var(--blue); color: var(--white); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 84px)); }
.b-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,0,0,.28), rgba(0,0,0,0) 55%); pointer-events: none; }
.b-hero__inner { position: relative; padding-bottom: clamp(36px, 5vw, 64px); }
.b-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--muted-l); }
.b-crumbs li + li::before { content: "/"; margin-inline-end: 10px; opacity: .6; }
.b-crumbs a:hover { color: var(--neon); }
.b-hero__title { margin-top: 18px; font-weight: 800; font-size: clamp(38px, 6vw, 88px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.b-hero__sub { margin-top: 18px; max-width: 62ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: rgba(255,255,255,.86); }
.b-chips { display: flex; gap: 10px; margin: 30px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.b-chips::-webkit-scrollbar { display: none; }
.b-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); font-size: 15.5px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.b-chip:hover { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--white); }
.b-chip.is-current { background: var(--neon); color: var(--ink); box-shadow: none; }
.shb .b-hero :focus-visible, .shb .b-more :focus-visible { outline-color: var(--neon); }

/* ---------- Category block ---------- */
.b-cat { padding: clamp(64px, 8vw, 120px) 0; background: var(--paper); }
.b-cat:nth-of-type(odd) { background: #ecece8; }
.b-cat--page { background: var(--paper) !important; padding-bottom: clamp(48px, 6vw, 88px); }
.b-cat__head { margin-bottom: clamp(24px, 3vw, 40px); }
.b-cat__title { font-size: clamp(32px, 4vw, 56px); }
.b-cat__title a:hover { color: var(--blue); }
.b-h2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.b-cat--page > .s-wrap > .b-h2 { margin-bottom: 24px; }

/* ---------- Slider ---------- */
.b-slider { position: relative; }
.b-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.b-rail::-webkit-scrollbar { display: none; }
.b-rail > .b-card { flex: 0 0 min(84%, 400px); scroll-snap-align: start; }
.b-slider__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.b-slider.is-static .b-slider__nav { display: none; }
.b-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .25s, color .25s, opacity .25s; }
.b-arrow .shx-ico { width: 22px; height: 22px; }
.b-arrow--prev .shx-ico { transform: scaleX(-1); }
.b-arrow:hover:not([disabled]) { background: var(--ink); color: var(--white); }
.b-arrow[disabled] { opacity: .25; cursor: default; }
@media (min-width: 720px) { .b-rail > .b-card { flex-basis: calc((100% - 16px) / 2 - 20px); } }
@media (min-width: 1100px) { .b-rail > .b-card { flex-basis: calc((100% - 32px) / 3 - 28px); } }

/* ---------- Grid (category page) ---------- */
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }

/* ---------- Model card ---------- */
.b-card { position: relative; display: flex; flex-direction: column; background: var(--white); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.b-card:hover { box-shadow: 0 18px 40px -22px rgba(11,11,16,.45); transform: translateY(-3px); }
.b-card__fig { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; background: var(--white); }
.b-card__num { position: absolute; inset: 0; display: grid; place-items: center; font: italic 800 clamp(120px, 15vw, 190px)/.8 var(--f-d); color: rgba(11,11,16,.05); letter-spacing: -.03em; pointer-events: none; user-select: none; }
.b-card__img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 6% 5% 2%; transition: transform .6s var(--ease); }
.b-card:hover .b-card__img { transform: translateX(-2.5%) scale(1.03); }
.b-card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.b-card__name { font: italic 800 clamp(32px, 2.8vw, 40px)/.92 var(--f-d); text-transform: uppercase; }
.b-card__name a { display: inline-block; }
.b-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.b-card__name span, .b-solo__name span { color: var(--blue); }
.b-card__tag { margin-top: -6px; font-size: 16px; color: var(--muted); }
.b-card__specs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.b-card__specs dt, .b-solo__facts dt { font-size: 12.5px; color: var(--muted); }
.b-card__specs dd, .b-solo__facts dd { font-size: 15px; font-weight: 700; white-space: nowrap; }
.b-card__price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.b-card__price-l { font-size: 13px; color: var(--muted); }
.b-card__price strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.b-card__ctas { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }

.b-badge { position: absolute; z-index: 2; top: 14px; inset-inline-start: 0; padding: 5px 14px 5px 20px; font-size: 13px; font-weight: 800; background: var(--ink); color: var(--white); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.b-badge--last { background: var(--neon); color: var(--ink); }
.b-badge--soon { background: var(--blue); }

/* ---------- Solo (single-model category) ---------- */
.b-solo { display: grid; background: var(--white); }
.b-solo__fig { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; background: var(--white); }
.b-solo__img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.b-solo:hover .b-solo__img { transform: scale(1.03); }
.b-solo__body { display: grid; align-content: center; gap: 18px; padding: 28px 24px 32px; }
.b-solo__name { font: italic 800 clamp(44px, 5vw, 76px)/.9 var(--f-d); text-transform: uppercase; }
.b-solo__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 18px 0; border-block: 1px solid var(--line); }
.b-solo__facts dd { white-space: normal; font-size: 16px; }
@media (min-width: 960px) {
	.b-solo { grid-template-columns: 7fr 5fr; }
	.b-solo__fig { aspect-ratio: auto; min-height: 420px; }
	.b-solo__body { padding: 48px 48px 52px; }
	.b-solo__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Compare ---------- */
.b-compare { margin-top: clamp(48px, 6vw, 80px); }
.b-compare .b-h2 { margin-bottom: 12px; }
.b-table { min-width: 720px; }
.b-table thead th a:hover { color: var(--blue); }

/* ---------- Text sections ---------- */
.b-text { padding: clamp(56px, 7vw, 104px) 0; background: var(--white); }
.b-text--guide { background: var(--white); }
.b-text__grid { display: grid; gap: 18px; }
.b-text__row { padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); }
.b-text__row:first-child { border-top: 1px solid var(--ink); }
.b-prose { display: grid; gap: 16px; max-width: 70ch; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.7; color: #2b2b33; }
.b-prose__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 10px; color: var(--ink); }
@media (min-width: 1024px) { .b-text__grid { grid-template-columns: 4fr 8fr; gap: 88px; } }

/* ---------- Other categories ---------- */
.b-more { padding: clamp(56px, 7vw, 96px) 0; background: var(--blue); color: var(--white); }
.b-more__list { margin-top: 24px; border-top: 1px solid var(--line-l); }
.b-more__a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 20px; padding: 22px 0; border-bottom: 1px solid var(--line-l); transition: padding .4s var(--ease), color .2s; }
.b-more__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.01em; }
.b-more__txt { grid-column: 1; font-size: 15.5px; color: rgba(255,255,255,.74); }
.b-more__a .shx-ico { grid-row: 1 / span 2; grid-column: 2; width: 26px; height: 26px; transition: transform .35s var(--ease); }
.b-more__a:hover { color: var(--neon); padding-inline-start: 10px; }
.b-more__a:hover .shx-ico { transform: translateX(-6px); }

/* ---------- Header additions: 4-category mega menu, grouped mobile menu ---------- */
.shb-body .b-mega .s-mega__inner { grid-template-columns: 5fr 1fr; gap: 20px 40px; padding: 28px 0 34px; }
.shb-body .b-mega .s-mega__col .s-mega__list { grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); }
.shb-body .b-mega .s-mega__label { margin-bottom: 6px; }
.shb-body .b-mega .s-mega__label a { color: var(--white); font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; }
.shb-body .b-mega .s-mega__label a:hover { color: var(--neon); border-color: var(--neon); }
.shb-body .b-mega .s-mega__model { padding: 8px 6px 12px; }
.shb-body .b-mega .s-mega__img { height: 70px; }
.shb-body .b-mega .s-mega__name { font-size: 21px; text-align: center; }
.shb-body .b-mega .s-mega__name small { display: block; margin-top: 3px; font-size: 13px; color: var(--neon); letter-spacing: .04em; }
.b-menu__group + .b-menu__group { margin-top: -12px; }
.b-menu__label { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--neon); }
.shb .s-menu__models a { font-size: 26px; padding: 8px 0; }

/* ---------- Form consent ---------- */
.b-consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; font-size: 13px; line-height: 1.5; cursor: pointer; }
.b-consent input { margin-top: 4px; flex: none; }

/* The page head replaces the home hero: keep the header readable from the first pixel. */
.shb-body .s-header:not(.is-solid) { background: transparent; }

@media (prefers-reduced-motion: reduce) {
	.b-card:hover, .b-card:hover .b-card__img, .b-solo:hover .b-solo__img { transform: none; }
}
