/* Brock Wheel Showcase 2.2 – isolated from Divi and legacy carousel styles */
.bws-showcase,
.bws-showcase * { box-sizing: border-box; }

.bws-showcase {
  --bws-max: 1600px;
  --bws-gap: 34px;
  --bws-img-h: 250px;
  --bws-text: #111111;
  --bws-muted: #666666;
  --bws-badge-bg: #111111;
  --bws-badge-fg: #ffffff;
  --bws-arrow-bg: #111111;
  --bws-arrow-fg: #ffffff;
  --bws-control-bg: #111111;
  --bws-control-fg: #ffffff;
  --bws-control-border: #111111;
  --bws-dot-active: #111111;
  --bws-dot-inactive: #d2d2d2;
  --bws-focus: #941914;
  --bws-link-hover: #941914;
  --bws-card-bg: transparent;
  --bws-radius: 0px;
  --bws-transition: 560ms;
  --bws-basis-d: calc(25% - 34px);
  --bws-basis-t: calc(50% - 24px);
  --bws-basis-m: calc(100% - 24px);
  position: relative;
  width: 100%;
  max-width: var(--bws-max);
  margin-inline: auto;
  color: var(--bws-text);
  font-family: inherit;
  line-height: 1.35;
  isolation: isolate;
}

.bws-showcase .bws-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.bws-showcase.bws-draggable .bws-viewport { cursor: grab; }
.bws-showcase.bws-is-dragging .bws-viewport { cursor: grabbing; }
.bws-showcase .bws-viewport:focus-visible {
  outline: 3px solid var(--bws-focus);
  outline-offset: 5px;
}

.bws-showcase .bws-track {
  display: flex;
  align-items: stretch;
  gap: var(--bws-gap);
  width: 100%;
  min-width: 0;
  transform: translate3d(0,0,0);
  transition: transform var(--bws-transition) cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.bws-showcase .bws-track.bws-no-transition,
.bws-showcase .bws-track.bws-dragging { transition: none !important; }

.bws-showcase .bws-card {
  position: relative;
  flex: 0 0 var(--bws-basis-d);
  min-width: 0;
  margin: 0;
  padding: 0 0 12px;
  background: var(--bws-card-bg);
  border: 0;
  border-radius: var(--bws-radius);
  overflow: visible;
}

.bws-showcase .bws-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--bws-img-h);
  min-height: var(--bws-img-h);
  margin: 0;
  padding: 0;
  background: transparent !important;
  overflow: hidden;
  border-radius: var(--bws-radius);
}
.bws-showcase .bws-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent !important;
  text-decoration: none !important;
  border: 0;
}
.bws-showcase .bws-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: var(--bws-img-h);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent !important;
  object-fit: contain;
  object-position: center;
  transform: translate3d(0,0,0) scale(1);
  transition: transform 460ms cubic-bezier(.16,1,.3,1);
}
.bws-showcase.bws-hover-zoom .bws-card:hover .bws-image,
.bws-showcase.bws-hover-zoom .bws-card:focus-within .bws-image {
  transform: translate3d(0,-5px,0) scale(1.04);
}

.bws-showcase .bws-badge {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 11px 6px;
  background: var(--bws-badge-bg);
  color: var(--bws-badge-fg);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bws-showcase .bws-meta {
  min-height: 102px;
  padding: 13px 6px 4px;
  background: transparent;
  text-align: center;
}
.bws-showcase .bws-brand {
  margin: 0 0 7px;
  color: var(--bws-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bws-showcase .bws-model {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: var(--bws-text) !important;
  background: transparent !important;
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
  transition: color 200ms ease, transform 200ms ease;
}
.bws-showcase a.bws-model:hover,
.bws-showcase a.bws-model:focus-visible {
  color: var(--bws-link-hover) !important;
  transform: translateY(-1px);
}
.bws-showcase .bws-sizes {
  margin: 10px 0 0;
  color: var(--bws-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.bws-showcase .bws-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: var(--bws-text) !important;
  background: transparent !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
}
.bws-showcase .bws-cta span { transition: transform 200ms ease; }
.bws-showcase .bws-cta:hover,
.bws-showcase .bws-cta:focus-visible { color: var(--bws-link-hover) !important; }
.bws-showcase .bws-cta:hover span,
.bws-showcase .bws-cta:focus-visible span { transform: translateX(4px); }

.bws-showcase .bws-image-link:focus-visible,
.bws-showcase .bws-model:focus-visible,
.bws-showcase .bws-cta:focus-visible {
  outline: 3px solid var(--bws-focus) !important;
  outline-offset: 4px;
}

/* Arrows: intentionally close to the Brock Home Hero controls */
.bws-showcase .bws-arrow-controls { pointer-events: none; }
.bws-showcase .bws-arrow {
  appearance: none !important;
  -webkit-appearance: none !important;
  z-index: 10;
  width: 50px !important;
  height: 64px !important;
  min-width: 50px !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--bws-arrow-bg) !important;
  color: var(--bws-arrow-fg) !important;
  box-shadow: none !important;
  cursor: pointer;
  display: grid !important;
  place-items: center;
  font: inherit !important;
  line-height: 1 !important;
  text-decoration: none !important;
  pointer-events: auto;
  transition: transform 180ms ease, opacity 180ms ease;
}
.bws-showcase .bws-arrow span {
  display: block;
  color: inherit !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-top: -3px;
}
.bws-showcase .bws-arrow:hover { opacity: .86; }
.bws-showcase .bws-arrow:active { transform: scale(.96); }
.bws-showcase .bws-arrow:disabled { opacity: .25; cursor: default; transform: none; }
.bws-showcase .bws-arrow:focus-visible,
.bws-showcase .bws-play-toggle:focus-visible,
.bws-showcase .bws-dot:focus-visible {
  outline: 3px solid var(--bws-focus) !important;
  outline-offset: 3px;
}

.bws-showcase.bws-arrows-sides .bws-arrow {
  position: absolute !important;
  top: calc(var(--bws-img-h) / 2 - 32px);
}
.bws-showcase.bws-arrows-sides .bws-prev { left: 0; }
.bws-showcase.bws-arrows-sides .bws-next { right: 0; }

.bws-showcase.bws-arrows-top .bws-arrow-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
.bws-showcase.bws-arrows-top .bws-arrow {
  position: static !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
}
.bws-showcase.bws-arrows-top .bws-arrow span { font-size: 33px !important; }

/* Play/Pause + segment dots, matching the interaction pattern of the Home Hero */
.bws-showcase .bws-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 12px;
}
.bws-showcase .bws-play-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-height: 44px;
  min-width: 64px;
  padding: 10px 14px !important;
  border: 2px solid var(--bws-control-border) !important;
  border-radius: 999px !important;
  background: var(--bws-control-bg) !important;
  color: var(--bws-control-fg) !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  text-decoration: none !important;
}
.bws-showcase .bws-play-toggle:hover { opacity: .88; }
.bws-showcase .bws-dots {
  display: flex;
  gap: 0;
  align-items: center;
  max-width: min(70vw, 620px);
  overflow: auto hidden;
  scrollbar-width: none;
  padding: 0 2px;
}
.bws-showcase .bws-dots::-webkit-scrollbar { display: none; }
.bws-showcase .bws-dot {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  overflow: visible;
}
.bws-showcase .bws-dot::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 19px;
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: var(--bws-dot-inactive);
  transition: background-color 180ms ease, transform 180ms ease;
}
.bws-showcase .bws-dot.is-active::before,
.bws-showcase .bws-dot[aria-current="true"]::before { background: var(--bws-dot-active); }
.bws-showcase .bws-dot:hover::before { transform: scaleY(1.35); }

/* Entry animation */
.bws-showcase.bws-enter:not(.is-visible) .bws-card {
  opacity: 0;
  transform: translate3d(0,14px,0);
}
.bws-showcase.bws-enter.is-visible .bws-card {
  opacity: 1;
  transform: translate3d(0,0,0);
  transition: opacity 560ms ease var(--bws-stagger, 0ms), transform 680ms cubic-bezier(.16,1,.3,1) var(--bws-stagger, 0ms);
}

.bws-showcase .bws-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.bws-showcase.bws-no-scroll .bws-arrow-controls,
.bws-showcase.bws-no-scroll .bws-bottom-controls { display: none !important; }

@media (max-width: 999px) {
  .bws-showcase .bws-card { flex-basis: var(--bws-basis-t); }
  .bws-showcase .bws-model { font-size: clamp(27px, 4vw, 32px); }
}

@media (max-width: 619px) {
  .bws-showcase { --bws-gap: min(var(--bws-gap), 18px); }
  .bws-showcase .bws-card { flex-basis: var(--bws-basis-m); padding-bottom: 8px; }
  .bws-showcase .bws-image-wrap { height: min(var(--bws-img-h), 240px); min-height: min(var(--bws-img-h), 240px); }
  .bws-showcase .bws-meta { min-height: 96px; padding-top: 10px; }
  .bws-showcase .bws-model { font-size: 29px; }
  .bws-showcase .bws-brand { font-size: 10px; }
  .bws-showcase.bws-arrows-sides .bws-arrow {
    top: calc(min(var(--bws-img-h), 240px) / 2 - 26px);
    width: 40px !important;
    height: 52px !important;
    min-width: 40px !important;
    min-height: 52px !important;
  }
  .bws-showcase .bws-arrow span { font-size: 34px !important; }
  .bws-showcase .bws-bottom-controls { justify-content: space-between; gap: 10px; margin-top: 8px; }
  .bws-showcase .bws-play-toggle { min-height: 42px; padding: 9px 12px !important; font-size: 13px !important; }
  .bws-showcase .bws-dots { max-width: calc(100% - 82px); gap: 0; }
  .bws-showcase .bws-dot { flex-basis: 36px; width: 36px !important; min-width: 36px !important; }
  .bws-showcase .bws-dot::before { left: 5px; width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .bws-showcase .bws-track,
  .bws-showcase .bws-image,
  .bws-showcase .bws-model,
  .bws-showcase .bws-dot,
  .bws-showcase .bws-card { transition-duration: .001ms !important; animation: none !important; }
  .bws-showcase.bws-enter:not(.is-visible) .bws-card { opacity: 1; transform: none; }
}
