:root{
  --bc-yellow:#ffbb3a;
  --bc-border:#e9e9e9;
  --bc-red:#ff2d2d;
  --bc-radius:14px;
  --bc-gap:12px;
}

html, body{ overflow-x: clip; }
@supports not (overflow-x: clip){
  html, body{ overflow-x:hidden; }
}

.bc-carousel{ width:100%; }

.bc-carousel__row{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:center;
}
.bc-carousel__row--no-arrows{
  grid-template-columns:1fr;
}

.bc-carousel button.bc-carousel__btn{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:none !important;
  place-items:center !important;
  position:relative !important;
  z-index:5 !important;
  box-sizing:border-box !important;
  width:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  height:42px !important;
  min-height:42px !important;
  max-height:42px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid rgba(17,17,17,.14) !important;
  border-radius:50% !important;
  background:#fff !important;
  background-image:none !important;
  color:#111 !important;
  box-shadow:0 7px 20px rgba(0,0,0,.13) !important;
  font-size:0 !important;
  line-height:0 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  user-select:none !important;
  opacity:1 !important;
  transform:translateY(0) scale(1) !important;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .16s ease, opacity .2s ease !important;
}

.bc-carousel button.bc-carousel__btn .bc-carousel__btn-icon{
  display:block !important;
  width:19px !important;
  height:19px !important;
  overflow:visible !important;
  pointer-events:none !important;
}

.bc-carousel button.bc-carousel__btn:hover:not(:disabled){
  background:var(--bc-yellow) !important;
  border-color:#111 !important;
  color:#111 !important;
  box-shadow:0 10px 25px rgba(0,0,0,.18) !important;
  transform:translateY(-2px) scale(1.04) !important;
}

.bc-carousel button.bc-carousel__btn:active:not(:disabled){
  box-shadow:0 4px 12px rgba(0,0,0,.14) !important;
  transform:translateY(0) scale(.94) !important;
}

.bc-carousel button.bc-carousel__btn:focus-visible{
  outline:3px solid rgba(255,187,58,.42) !important;
  outline-offset:3px !important;
}

.bc-carousel button.bc-carousel__btn:disabled,
.bc-carousel button.bc-carousel__btn[aria-disabled="true"]{
  background:#f5f5f5 !important;
  border-color:#e3e3e3 !important;
  color:#a9a9a9 !important;
  box-shadow:none !important;
  cursor:default !important;
  opacity:.58 !important;
  transform:none !important;
}

.bc-carousel__track{
  --bc-cols: var(--bc-cols-mobile, 2);
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  display:grid;
  grid-auto-flow:column;
  column-gap:var(--bc-gap);
  padding:2px 0 6px;
  -webkit-overflow-scrolling:touch;
  grid-auto-columns:calc((100% - (var(--bc-gap) * (var(--bc-cols) - 1))) / var(--bc-cols));
}

@media (min-width:900px){
  .bc-carousel__row{
    grid-template-columns:52px minmax(0, 1fr) 52px;
    gap:10px;
  }
  .bc-carousel__row--no-arrows{
    grid-template-columns:1fr;
    gap:0;
  }
  .bc-carousel button.bc-carousel__btn{ display:grid !important; }
  .bc-carousel__track{ --bc-cols:var(--bc-cols-desktop, 4); }
}

.bc-carousel__track{ scrollbar-width:none; -ms-overflow-style:none; }
.bc-carousel__track::-webkit-scrollbar{ display:none; }

html.bc-car-modal-open{ overflow:hidden; }
.bc-car-modal{ position:fixed; inset:0; display:none; z-index:99999999; }
.bc-car-modal.is-open{ display:block !important; z-index:99999999 !important; }
.bc-car-modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.bc-car-modal__panel{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(520px, calc(100% - 24px));
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  overflow:hidden;
  z-index:100000000;
}
.bc-car-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--bc-border);
}
.bc-car-modal__title{ font-weight:900; font-size:16px; color:#111; }
.bc-car-modal__close{ border:0; background:transparent; font-size:18px; line-height:1; cursor:pointer; padding:6px 8px; }
.bc-car-modal__body{ padding:14px 16px 16px; }
.bc-car-modal__meta{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.bc-car-modal__product{ font-weight:900; color:#111; }
.bc-car-modal__list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:56vh;
  overflow:auto;
  padding-right:2px;
}
.bc-car-opt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid #e6e6e6;
  border-radius:12px;
  padding:10px 12px;
}
.bc-car-opt__left{ min-width:0; display:flex; flex-direction:column; gap:4px; }
.bc-car-opt__name{ font-weight:700; font-size:14px; color:#111; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bc-car-opt__price{ font-weight:700; font-size:13px; color:#111; }
.bc-car-opt__btn{
  border:1px solid #000;
  background:var(--bc-yellow);
  color:#000;
  font-weight:900;
  border-radius:999px;
  padding:10px 14px;
  cursor:pointer;
  flex:0 0 auto;
}
.bc-car-opt__btn.is-disabled,
.bc-car-opt__btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  background:#f2f2f2;
  border-color:#ddd;
  color:#777;
}
.bc-car-opt-loading,
.bc-car-opt-empty{
  padding:12px;
  border:1px dashed #ddd;
  border-radius:12px;
  text-align:center;
  font-weight:800;
  color:#333;
}
.bc-car-modal__hint{ margin-top:10px; font-size:12px; color:#555; text-align:center; }


/* v1.25.40: smoother mobile carousel swipe.
   Mobile uses native momentum; proximity snap avoids tugging/jank while still aligning cards naturally. */
@media (max-width: 899px) {
	.bc-carousel__track {
		scroll-snap-type: x proximity;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
	}

	.bc-carousel__track .bc-ccard,
	.bc-carousel__track .bcpc-bulk-card {
		scroll-snap-stop: normal;
	}
}
