.slot-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:.5rem;
}
@media (max-width: 576px){
  .slot-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.slot-pill{
  border:1px solid rgba(0,0,0,.15);
  border-radius:999px;
  padding:.55rem .6rem;
  font-weight:600;
  background:#fff;
  color:#333;
  width:100%;
  line-height:1;
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
}
.slot-pill:active{ transform: scale(.98); }

.slot-pill.is-selected{
  background:#0b0f14;
  color:#fff;
  border-color:#0b0f14;
}

.slot-pill.is-disabled{
  opacity:.45;
  pointer-events:none;
}

#slotsWrap{
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);

  transition:
    max-height .35s cubic-bezier(.4,0,.2,1),
    opacity .25s ease,
    transform .25s ease;
}

/* visible state */
#slotsWrap.is-visible{
  max-height: 500px; /* enough to fit slots */
  opacity: 1;
  transform: translateY(0);
}

.slot-pill{
  opacity:0;
  transform:translateY(6px);
  animation: slotFade .25s ease forwards;
}


.br-14{ border-radius:14px; }

.booking-summary{
  border-radius:14px;
}

.summary-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.summary-line:last-of-type{ border-bottom:0; }

.summary-label{
  font-size:.85rem;
  color:rgba(0,0,0,.55);
  white-space:nowrap;
}

.summary-value{
  font-weight:600;
  text-align:right;
}

.confirm-btn{
  border-radius:999px;
  min-height:42px;
  font-weight:700;
}

.booking-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.10);
  border: 1px solid rgba(255, 193, 7, 0.25);
  color: #7a5d00;
}

.booking-warning .warning-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #c99700;
}

.booking-warning .title {
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}

@media (min-width: 992px){
  .booking-summary{
    /* position: sticky; */
    margin-top: -72px;
  }
}


@keyframes slotFade{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

#slotsAlert { animation: fadeUp .18s ease-out; }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }