/* The Bike Place adaptation of purchased Cartzilla Electronics 3.1.1.
   Layout/typography/spacing/responsive behaviour remain in unmodified theme.min.css. */
:root,[data-bs-theme=light]{--cz-primary:#ff8a4d;--cz-primary-rgb:255,138,77;--cz-link-color:#ad3905;--cz-link-hover-color:#823006;--cz-link-color-rgb:173,57,5;--cz-link-hover-color-rgb:130,48,6}
.brand{font-weight:800;letter-spacing:-1.3px;font-size:1.75rem;line-height:1.2;color:#242424;text-decoration:none}
.bp-development{background:#242424;color:#fff;font-size:.65rem!important;letter-spacing:.01em}.bp-development strong{color:#ff8a4d;letter-spacing:.08em}
.btn-primary{--cz-btn-color:#242424;--cz-btn-bg:#ff8a4d;--cz-btn-border-color:#ff8a4d;--cz-btn-hover-color:#fff;--cz-btn-hover-bg:#ad3905;--cz-btn-hover-border-color:#ad3905;--cz-btn-active-color:#fff;--cz-btn-active-bg:#ad3905;--cz-btn-active-border-color:#ad3905;--cz-btn-disabled-color:#242424;--cz-btn-disabled-bg:#ff8a4d;--cz-btn-disabled-border-color:#ff8a4d}
.text-primary{color:#ad3905!important}.bp-cart-badge{background:#ff8a4d;color:#242424;display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;padding:.25em .42em;line-height:1}
.bp-categories{--cz-dropdown-spacer:0;--cz-dropdown-item-padding-y:.625rem;--cz-dropdown-item-spacer:0}.bp-megamenu{min-width:19rem;max-width:100%}.bp-category-art{--cz-aspect-ratio:45%}.bp-thumb{width:80px}.bp-cart-thumb{width:110px}.bp-product-ratio{--cz-aspect-ratio:calc(240 / 258 * 100%)}.bp-hero-image{max-width:495px;--cz-aspect-ratio:calc(537 / 495 * 100%)}.bp-hero-gradient{background:linear-gradient(90deg,#ffcba8 0%,#fff1e7 100%)}.bp-feature-banner{background:linear-gradient(145deg,#28313a,#172028)}.bp-contact-title{background:linear-gradient(110deg,#fff2e8,#ffe0c7)}.bp-footer-help{width:250px;max-width:100%}.bp-article{max-width:48rem}.bp-compare-table{min-width:600px}.bp-filter-scroll{max-height:28rem;overflow:auto}.bp-gallery .bike-illustration{width:100%;height:100%}.bp-min-gallery{min-height:320px}.bp-order-step{border-left:2px solid var(--cz-border-color);padding:0 0 1.75rem 1.5rem;position:relative;list-style:none}.bp-order-step:before{content:'';position:absolute;left:-7px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--cz-border-color)}.bp-order-step.done:before{background:#ad3905}.bp-order-step:last-child{border-left:0;padding-bottom:0}.bp-swiper-controls{position:absolute;top:.75rem;right:.75rem;z-index:3}.bp-sample-tag{font-size:.6875rem}.bp-readonly{background:var(--cz-tertiary-bg)}
@media(min-width:992px){.bp-home-categories .dropdown-menu-static{min-height:537px;display:flex;flex-direction:column}.bp-header.navbar-stuck .bp-home-categories .dropdown-menu-static{display:none}.bp-header.navbar-stuck .bp-home-categories .dropdown-menu-static.show{display:flex}.bp-megamenu{max-width:none}}
@media(max-width:991.98px){.bp-categories .bp-megamenu{min-width:0}.brand{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){.animate-up-down{animation:none!important}}
.bp-cart-quantity{width:4rem}.bp-electronics fieldset{min-width:0}

.bp-arrivals-image{max-width:320px;margin-bottom:-19%;--cz-aspect-ratio:calc(690 / 640 * 100%)}.bp-feature-banner .bike-illustration>g>path:first-of-type{stroke:#ff8a4d}

.footer [data-bs-theme=dark]{--cz-tertiary-color:#a6b0bf;--cz-secondary-color:#c1c9d4;--cz-body-color:#cbd2dc;--cz-link-color:#dbe1e8;--cz-link-hover-color:#ff8a4d}.footer a[href^='tel:']{color:inherit}

.footer .nav-link{--cz-nav-link-color:#cbd2dc;--cz-nav-link-hover-color:#ff8a4d;color:var(--cz-nav-link-color)}

/* Keep lifestyle subjects visible in the slideshow photo. */
.bp-hero-image>img[src*="hero-kids.jpg"]{object-position:70% center}
.bp-hero-image>img[src*="hero-road.jpg"]{object-position:26% center}
.bp-hero-image>img[src*="hero-mountain.jpg"]{object-position:70% center}

/* Full-photo slideshow; keep the existing container and category-column widths. */
.bp-photo-hero{height:537px;background:#242424;isolation:isolate}
.bp-photo-hero .bp-hero-backdrop{position:absolute;inset:0;z-index:0;width:100%;height:100%}
.bp-photo-hero .bp-hero-image{width:100%;max-width:none;height:100%}
.bp-photo-hero .bp-hero-image>img,.bp-photo-hero .bp-hero-image>svg{display:block;width:100%;height:100%;object-fit:cover}
.bp-hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.46) 42%,rgba(0,0,0,.06) 78%);pointer-events:none}
.bp-photo-hero .bp-hero-copy{position:relative;z-index:2;height:100%;width:100%}
.bp-hero-copy .swiper-slide{height:100%;display:flex;align-items:center;padding:3.5rem 3rem}
.bp-hero-caption{display:flex;flex-direction:column;align-items:flex-start;width:58%;max-width:32rem;text-align:left}
.bp-hero-caption p,.bp-hero-caption h2{text-shadow:0 2px 12px rgba(0,0,0,.3)}
.bp-photo-hero .bp-swiper-controls{top:1rem;right:1rem;z-index:4}
.bp-photo-hero .bp-hero-progress{position:absolute;z-index:4;bottom:1.5rem;left:2rem;top:auto;width:calc(100% - 4rem);background:rgba(255,255,255,.35)}
.bp-photo-hero .swiper-scrollbar-drag{background:#fff}
.bp-photo-hero .bp-swiper-controls,.bp-photo-hero .bp-hero-progress{opacity:0;pointer-events:none;transition:opacity .2s ease}
.bp-photo-hero:focus-within .bp-swiper-controls,.bp-photo-hero:focus-within .bp-hero-progress,.bp-photo-hero.bp-controls-visible .bp-swiper-controls,.bp-photo-hero.bp-controls-visible .bp-hero-progress{opacity:1;pointer-events:auto}
@media(hover:hover) and (pointer:fine){.bp-photo-hero:hover .bp-swiper-controls,.bp-photo-hero:hover .bp-hero-progress{opacity:1;pointer-events:auto}}
@media(max-width:767.98px){.bp-photo-hero{height:520px}.bp-hero-copy .swiper-slide{align-items:flex-end;padding:4.5rem 1.5rem 3.5rem}.bp-hero-caption{width:100%;max-width:26rem}.bp-hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.55) 35%,rgba(0,0,0,.05) 80%)}.bp-photo-hero .bp-hero-progress{left:1.5rem;width:calc(100% - 3rem)}}
@media(prefers-reduced-motion:reduce){.bp-photo-hero .bp-swiper-controls,.bp-photo-hero .bp-hero-progress{transition:none}}

/* Long category families scroll inside their existing Cartzilla flyout. */
.bp-subcategories{max-height:60vh;overflow-y:auto;overscroll-behavior:contain}

/* Welcome/announcement copy fits the existing carousel, including on phones. */
.bp-hero-announcement h2{font-size:clamp(2rem,3vw,2.75rem);line-height:1.12}
@media(max-width:767.98px){.bp-hero-announcement-image>img{object-position:74% center}}

/* Keep supplier sentences distinct, with a small gap after size changes too. */
#catalogue-supplier{white-space:normal}
#catalogue-supplier>.bp-supplier-sentence+.bp-supplier-sentence{margin-top:.4rem}
/* Line up expandable categories with links at the same level. */
.bp-shop-branch{display:flex;align-items:center;justify-content:space-between;gap:.5rem;list-style:none}
.bp-shop-branch::-webkit-details-marker{display:none}
details[open]>.bp-shop-branch>.ci-chevron-down{transform:rotate(180deg)}

/* Mobile navigation uses the full row for each link or disclosure. */
@media (max-width:991.98px){
  #navbarNav{width:min(25rem,calc(100% - 1.5rem))}
  #navbarNav .offcanvas-header{justify-content:space-between;gap:.5rem;padding: .65rem 1rem !important;border-bottom:1px solid var(--cz-border-color)}
  #navbarNav .offcanvas-title{font-size:1.2rem}
  #navbarNav .btn-close{box-sizing:border-box;flex-shrink:0;width:44px;height:44px;margin:0;padding:0;background-size:1rem}
  #navbarNav .offcanvas-body{padding:0 1rem max(1rem,env(safe-area-inset-bottom)) !important;overscroll-behavior:contain}
  #navbarNav .col-lg-9{padding-top:0 !important}
  #navbarNav .nav-item+.nav-item{border-top:1px solid var(--cz-border-color)}
  #navbarNav .nav-link{
    display:flex;align-items:center;justify-content:space-between;min-height:52px;
    padding:.65rem .75rem;font-size:1.125rem;font-weight:600;line-height:1.35
  }
  #navbarNav .nav-link.active,
  #navbarNav .nav-link.show{background:var(--cz-tertiary-bg)}
  #navbarNav .nav-link[href*="sale=1"]{color:#a73d16}
  #navbarNav .nav-item>.dropdown-menu{margin:0 0 .5rem;padding:.25rem 0}
  #navbarNav .dropdown-item{
    min-height:48px;padding:.65rem .75rem;font-size:1.0625rem;line-height:1.35;
    white-space:normal;overflow-wrap:anywhere
  }
  #navbarNav .bp-shop-branch>i{font-size:.875rem}
  #navbarNav details[open]>.bp-shop-branch{font-weight:650}
  #navbarNav details>ul{border-inline-start:2px solid var(--cz-border-color);margin-inline-start:.75rem}
  #navbarNav :is(a,button,summary):focus-visible{outline:2px solid #ad3905;outline-offset:-3px}
  body:has(#navbarNav:is(.show,.showing,.hiding)) :is(#tbp-chat:not(.is-open),.bp-mobile-purchase,.floating-buttons){
    visibility:hidden
  }
}


/* Black Friday carousel slide. */
.bp-hero-copy .bp-hero-event{gap:clamp(1rem,3vw,2.5rem)}
.bp-hero-event .bp-hero-caption{width:44%;flex:0 0 44%}
.bp-hero-event-art{display:block;flex:1;min-width:0;border-radius:1rem;overflow:hidden}
.bp-hero-event-art img{display:block;width:100%;height:auto}
.bp-hero-event-art:focus-visible{outline:3px solid #ff8a4d;outline-offset:4px}
@media(max-width:767.98px){
  .bp-hero-copy .bp-hero-event{flex-direction:column-reverse;align-items:stretch;justify-content:center;gap:1rem;padding:3.5rem 1.25rem 2.75rem}
  .bp-hero-event .bp-hero-caption{width:100%;flex:none}
  .bp-hero-event .bp-hero-caption h2{font-size:clamp(1.6rem,6vw,2rem)}
  .bp-hero-event .bp-hero-caption p{margin-bottom:.6rem!important}
  .bp-hero-event-art{flex:none}
}
