/* BC Date-First Booking (frontend) */

/* BrickClub-ish, dark + red accent, while staying self-contained */
.bcdfb-wrap{
  --bcdfb-bg:#0b0b0f;
  --bcdfb-card:#121216;
  --bcdfb-soft:#17171d;
  --bcdfb-b:rgba(255,255,255,.08);
  --bcdfb-t:rgba(255,255,255,.92);
  --bcdfb-m:rgba(255,255,255,.62);
  --bcdfb-ac:#e10d2d;
  --bcdfb-ac2:#b40a22;
  --bcdfb-r:18px;
  max-width:1100px;
  margin:24px auto;
  padding:0 14px;
  font-family:inherit;
  color:var(--bcdfb-t);
}

.bcdfb-card{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--bcdfb-b);
  border-radius:var(--bcdfb-r);
  box-shadow:0 18px 60px rgba(0,0,0,.45);
  overflow:hidden;
  backdrop-filter:saturate(140%) blur(10px);
}

.bcdfb-head{padding:22px 22px 10px}
.bcdfb-title{margin:0;font-size:32px;line-height:1.06;letter-spacing:-.02em}
.bcdfb-sub{margin:10px 0 0;color:var(--bcdfb-m)}
.bcdfb-steps{display:flex;gap:10px;padding:0 22px 16px;flex-wrap:wrap}
.bcdfb-step{font-size:13px;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);color:var(--bcdfb-m)}
.bcdfb-step.is-active{background:linear-gradient(180deg, rgba(225,13,45,.22), rgba(180,10,34,.14));border-color:rgba(225,13,45,.35);color:var(--bcdfb-t)}

.bcdfb-body{padding:18px 22px 22px}
.bcdfb-panel{display:none}
.bcdfb-panel.is-active{display:block}
.bcdfb-field{margin:14px 0}
.bcdfb-field label{display:block;font-weight:700;margin-bottom:7px}
.bcdfb-field input[type="date"],.bcdfb-field input[type="time"],.bcdfb-field input[type="text"],.bcdfb-field input[type="email"],.bcdfb-field input[type="tel"],.bcdfb-field textarea{
  width:100%;
  max-width:560px;
  padding:12px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(0,0,0,.35);
  color:var(--bcdfb-t);
}
.bcdfb-field input::placeholder,.bcdfb-field textarea::placeholder{color:rgba(255,255,255,.38)}
.bcdfb-field textarea{max-width:680px}
.bcdfb-help{font-size:12px;color:var(--bcdfb-m);margin-top:7px}
.bcdfb-help a{color:var(--bcdfb-t);text-decoration:underline}
.bcdfb-muted{color:var(--bcdfb-m)}
.bcdfb-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.bcdfb-btn{appearance:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03);border-radius:14px;padding:12px 14px;font-weight:800;cursor:pointer;color:var(--bcdfb-t)}
.bcdfb-btn:disabled{opacity:.5;cursor:not-allowed}
.bcdfb-btn-primary{background:linear-gradient(180deg, var(--bcdfb-ac), var(--bcdfb-ac2));color:#fff;border-color:rgba(225,13,45,.55)}
.bcdfb-btn-primary:hover{filter:brightness(1.02)}
.bcdfb-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:680px}
@media (max-width:640px){.bcdfb-slots{grid-template-columns:1fr}}
.bcdfb-slot{border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:12px 12px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.02)}
.bcdfb-slot input{margin:0}
.bcdfb-slot.is-selected{border-color:rgba(225,13,45,.65);box-shadow:0 0 0 2px rgba(225,13,45,.18)}
.bcdfb-slot__meta{font-size:12px;color:var(--bcdfb-m)}
.bcdfb-summary{border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:14px 14px;background:rgba(0,0,0,.25);max-width:680px}
.bcdfb-summary__row{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.bcdfb-summary__row:last-child{border-bottom:0}
.bcdfb-summary__total strong{font-size:18px}
.bcdfb-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;margin-top:14px}
@media (max-width:860px){.bcdfb-grid{grid-template-columns:1fr}}
.bcdfb-h3{margin:6px 0 10px;font-size:18px}
.bcdfb-addons{display:flex;flex-direction:column;gap:10px}
.bcdfb-addon{border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:5px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(255,255,255,.02)}
.bcdfb-addon__left{display:flex;align-items:center;gap:10px;min-width:0}
.bcdfb-addon__img{width:42px;height:42px;border-radius:12px;object-fit:cover;background:rgba(255,255,255,.08);flex:0 0 auto}
.bcdfb-addon__img--ph{display:block}
.bcdfb-addon__title{font-weight:700;    margin-top: 5px;overflow:hidden;text-overflow:ellipsis;max-width:220px;font-size: 14px;
    line-height: 1.1;}
.bcdfb-addon__price{font-size:12px;color:var(--bcdfb-m)}
.bcdfb-qty{display:flex;align-items:center;gap:8px}
.bcdfb-qty__btn{width:36px;height:36px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);cursor:pointer;font-weight:900;color:var(--bcdfb-t)}
.bcdfb-qty__val{max-width: 49px;
max-height:38px;
    padding: 0px 0px 0px 12px !important;
    line-height: 2px;
    font-size: 20px;
    display: block;}
.bcdfb-check{display:flex;align-items:flex-start;gap:10px}
.bcdfb-check input{margin-top:3px}
.bcdfb-msg{margin-top:10px;font-size:13px;color:#ff6b7b}
.bcdfb-success{max-width:680px}

/* Prefer readable white on dark for summaries */
.bcdfb-summary strong{color: #fff;
    text-align: right;
    font-size: 16px;
    line-height: 1.4;}

/* Prevent theme tables/styles from messing with our buttons */
.bcdfb-wrap button{font-family:inherit}
:root{
  --bcdfb-accent: #e30120;
  --bcdfb-accent-rgb: 227, 1, 32;
}

/* GRID */
#bcdfb .bcdfb-slots{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  max-width: 760px !important;
}
@media (max-width: 640px){
	.bcdfb-form-grid{gap:0px;}
	.bcdfb-summary__row,.bcdfb-summary__row span{display:block;}
	.bcdfb-summary strong {
    color: #fff;
    text-align: right;
    font-size: 14px;
}
	.bcdfb-step {
    font-size: 13px;
    padding: 6px 7px;}
	.bcdfb-addon{    display: block;}
	.bcdfb-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    float: right!important;
    margin-top: -20px!important;
}
  #bcdfb .bcdfb-slots{ grid-template-columns: 1fr !important; }
}

/* CARD BASE */
#bcdfb .bcdfb-slot{
  position: relative !important;
  overflow: hidden !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;

  padding: 18px !important;
  border-radius: 20px !important;
  cursor: pointer !important;

  background:
    radial-gradient(120% 120% at 0% 0%,
      rgba(255,255,255,.08) 0%,
      rgba(255,255,255,.03) 40%,
      rgba(0,0,0,.14) 100%) !important;

  border: 1px solid rgba(255,255,255,.10) !important;

  box-shadow:
    0 18px 46px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06) !important;

  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}

/* kill any theme pseudo elements on label */
#bcdfb .bcdfb-slot::before,
#bcdfb .bcdfb-slot::after{
  content: none !important;
  display: none !important;
}

/* hide native radio completely */
#bcdfb .bcdfb-slot input[type="radio"]{
  -webkit-appearance: none !important;
  appearance: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
#bcdfb .bcdfb-slot input[type="radio"]::before,
#bcdfb .bcdfb-slot input[type="radio"]::after{
  content: none !important;
  display: none !important;
}

/* HOVER */
#bcdfb .bcdfb-slot:hover{
  transform: translateY(-2px) !important;
  border-color: rgba(var(--bcdfb-accent-rgb), .40) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.65),
    0 0 0 1px rgba(var(--bcdfb-accent-rgb), .14),
    inset 0 1px 0 rgba(255,255,255,.07) !important;
}

/* SELECTED */
#bcdfb .bcdfb-slot.is-selected{
  border-color: rgba(var(--bcdfb-accent-rgb), .90) !important;
  background:
    radial-gradient(120% 120% at 100% 0%,
      rgba(var(--bcdfb-accent-rgb), .20) 0%,
      rgba(255,255,255,.035) 45%,
      rgba(0,0,0,.14) 100%) !important;

  box-shadow:
    0 26px 72px rgba(0,0,0,.72),
    0 0 0 1px rgba(var(--bcdfb-accent-rgb), .16),
    0 0 46px rgba(var(--bcdfb-accent-rgb), .14),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Right-side text (if using .bcdfb-slot__time) */
#bcdfb .bcdfb-slot__time{
  font-size: 16px !important;
  font-weight: 850 !important;
  letter-spacing: .25px !important;
  color: rgba(255,255,255,.96) !important;
  white-space: nowrap !important;
}

/* PRICE PILL */
#bcdfb .bcdfb-slot__meta{
  display: inline-flex !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,.80) !important;
}
#bcdfb .bcdfb-slot.is-selected .bcdfb-slot__meta{
  background: rgba(var(--bcdfb-accent-rgb), .12) !important;
  border-color: rgba(var(--bcdfb-accent-rgb), .22) !important;
}

/* CHECK (top-right) – visible ONLY on selected (no hover ghosting) */
#bcdfb .bcdfb-slot__check{
  position: absolute !important;
  right: 14px !important;
  top: 14px !important;

  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;

  border: 1px solid rgba(255,255,255,.20) !important;
  background: rgba(0,0,0,.28) !important;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.38), 0 6px 18px rgba(0,0,0,.40) !important;

  opacity: 0 !important;
  transform: scale(.92) !important;
  transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}

/* tick */
#bcdfb .bcdfb-slot__check::after{
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 5px !important;
  width: 9px !important;
  height: 5px !important;

  border-left: 2px solid rgba(255,255,255,.96) !important;
  border-bottom: 2px solid rgba(255,255,255,.96) !important;

  transform: rotate(-45deg) !important;
  opacity: 0 !important;
  transition: opacity .15s ease !important;
}

/* show check ONLY when selected */
#bcdfb .bcdfb-slot.is-selected .bcdfb-slot__check{
  opacity: 1 !important;
  transform: scale(1) !important;
  border-color: rgba(var(--bcdfb-accent-rgb), .95) !important;
  background: rgba(var(--bcdfb-accent-rgb), .26) !important;
  box-shadow: 0 0 0 5px rgba(var(--bcdfb-accent-rgb), .14), 0 10px 26px rgba(0,0,0,.55), inset 0 0 0 2px rgba(0,0,0,.18) !important;
}
#bcdfb .bcdfb-slot.is-selected .bcdfb-slot__check::after{
  opacity: 1 !important;
}
#bcdfb .bcdfb-slot__left.is-empty{
  display: none !important;
}#bcdfb .bcdfb-slot__left.is-empty + .bcdfb-slot__right{
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Focus ring */
#bcdfb .bcdfb-slot:focus-within{
  outline: 2px solid rgba(var(--bcdfb-accent-rgb), .55) !important;
  outline-offset: 3px !important;
}


/* --- Calendar UI --- */
.bcdfb-date-native.is-hidden{
  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;
}

.bcdfb-dategrid{
  display:grid;
  grid-template-columns:minmax(0,420px) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
@media (max-width:860px){
  .bcdfb-dategrid{grid-template-columns:1fr}
}

.bcdfb-cal{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.20);
  border-radius:16px;
  padding:14px;
}
.bcdfb-cal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.bcdfb-cal__month{
  font-weight:800;
  letter-spacing:-.01em;
  text-transform:capitalize;
}
.bcdfb-cal__nav{
  width:36px;height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:var(--bcdfb-t);
  cursor:pointer;
}
.bcdfb-cal__nav:hover{background:rgba(255,255,255,.06)}
.bcdfb-cal__dow{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:6px;
  font-size:12px;
  color:var(--bcdfb-m);
  margin-bottom:8px;
}
.bcdfb-cal__days{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:6px;
}
.bcdfb-cal__day{
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  color:var(--bcdfb-t);
  cursor:pointer;
  font-weight:700;
}
.bcdfb-cal__day.is-empty{
  border:0;background:transparent;cursor:default;
}
.bcdfb-cal__day:disabled{
  cursor:not-allowed;
  opacity:.6;
}
.bcdfb-cal__day.is-available{
  border-color:rgba(53, 239, 160, .35);
  background:rgba(53, 239, 160, .08);
}
.bcdfb-cal__day.is-booked{
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
}
.bcdfb-cal__day.is-blackout,
.bcdfb-cal__day.is-closed{
  border-color:rgba(255,255,255,.08);
  background:rgba(0,0,0,.25);
  color:rgba(255,255,255,.45);
}
.bcdfb-cal__day.is-past,
.bcdfb-cal__day.is-lead,
.bcdfb-cal__day.is-future{
  border-color:rgba(255,255,255,.06);
  background:rgba(0,0,0,.18);
  color:rgba(255,255,255,.35);
}
.bcdfb-cal__day.is-selected{
  border-color:rgba(225,13,45,.65);
  box-shadow:0 0 0 2px rgba(225,13,45,.18);
}
.bcdfb-cal__legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
  font-size:12px;
  color:var(--bcdfb-m);
}
.bcdfb-leg{
  padding-left:18px;
  position:relative;
}
.bcdfb-leg:before{
  content:"";
  width:10px;height:10px;
  border-radius:999px;
  position:absolute;
  left:0;top:3px;
  background:rgba(255,255,255,.12);
}
.bcdfb-leg--avail:before{background:rgba(53,239,160,.75)}
.bcdfb-leg--booked:before{background:rgba(255,255,255,.35)}
.bcdfb-leg--blackout:before{background:rgba(255,255,255,.12)}

/* --- Addons scroll (show first 4, rest scroll) --- */
.bcdfb-addons.is-scroll{
  overflow:auto;
  padding-right:4px;
}
.bcdfb-addons.is-scroll::-webkit-scrollbar{width:10px}
.bcdfb-addons.is-scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.12);
  border-radius:999px;
}


/* Loading state */
.bcdfb-loading{display:flex;align-items:center;gap:10px;padding:12px;border:1px dashed rgba(255,255,255,.16);border-radius:12px}
.bcdfb-loading:before{content:'';width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:bcdfbspin .8s linear infinite;opacity:.7}
@keyframes bcdfbspin{to{transform:rotate(360deg)}}
