html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  overflow-x:hidden;
}
/* iOS/Chrome on iPhone zooms focused form controls when computed font-size < 16px. */
input,
select,
textarea{
  font-size:16px !important;
}
/* Keep native browser controls readable on the dark UI. */
.booking-form input,
.booking-form select,
.booking-form textarea{
  color-scheme:dark;
}
.booking-form input[type="date"]{
  color-scheme:dark;
}
.booking-form input[type="date"]::-webkit-calendar-picker-indicator{
  cursor:pointer;
  opacity:.95;
  filter:invert(1) brightness(1.9);
}
.booking-form input[type="date"]::-webkit-datetime-edit,
.booking-form input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.booking-form input[type="date"]::-webkit-datetime-edit-text,
.booking-form input[type="date"]::-webkit-datetime-edit-month-field,
.booking-form input[type="date"]::-webkit-datetime-edit-day-field,
.booking-form input[type="date"]::-webkit-datetime-edit-year-field{
  color:#f4f2ed;
}
.booking-form select{
  color:#f4f2ed;
  background-color:#0e1013;
}
.booking-form select option{
  background:#111318;
  color:#f4f2ed;
}
.booking-form input[type="number"]::-webkit-inner-spin-button,
.booking-form input[type="number"]::-webkit-outer-spin-button{
  filter:invert(1);
  opacity:.72;
}
.booking-form input[type="checkbox"],
.booking-form input[type="radio"]{
  accent-color:var(--accent);
}
/* Product source labels are internal demo metadata and should never be customer-facing. */
.product-source,
.market-links{
  display:none !important;
}

/* Booking choice columns */
.booking-choice-row{
  align-items:start;
}

/* Workshop picker: two clean independent cards. */
.booking-form .branch-field{
  border:0 !important;
  outline:0 !important;
  padding:0 !important;
  margin:0 0 12px !important;
  min-width:0;
  align-self:start;
}
.booking-form .branch-field legend{
  display:block;
  width:100%;
  padding:0 !important;
  margin:0 0 6px !important;
  border:0;
  font-size:11px;
  line-height:1.35;
  color:#aeb4bd;
}
.booking-form .branch-field legend span{
  color:#6f7782;
  margin-left:5px;
}
.branch-options{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
  width:100%;
}
.booking-form .branch-option{
  position:relative;
  display:block !important;
  width:100%;
  min-height:82px;
  margin:0 !important;
  padding:13px 46px 13px 14px !important;
  border:1px solid #333842 !important;
  background:#0e1013 !important;
  border-radius:12px !important;
  color:#fff;
  cursor:pointer;
  overflow:hidden;
  transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.booking-form .branch-option:hover{
  border-color:#555d68 !important;
  transform:translateY(-1px);
}
/* Hide native radio; the whole card is the control. */
.booking-form .branch-option > input[type="radio"]{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  opacity:0 !important;
  pointer-events:none;
}
.booking-form .branch-option::after{
  content:'✓';
  position:absolute;
  right:14px;
  top:50%;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  border:1px solid #454c56;
  border-radius:50%;
  background:#171a1f;
  color:transparent;
  font-size:13px;
  font-weight:900;
}
.booking-form .branch-option > span{
  display:block !important;
  min-width:0;
}
.booking-form .branch-option b{
  display:block;
  margin:0;
  color:#fff;
  font-size:13px;
  line-height:1.3;
}
.booking-form .branch-option small{
  display:block;
  margin-top:4px;
  color:#9ca3ad;
  font-size:11px;
  line-height:1.3;
}
.booking-form .branch-option em{
  display:block;
  margin-top:3px;
  color:#707985;
  font-size:10px;
  font-style:normal;
  line-height:1.3;
}
/* Selected workshop becomes a solid orange card. */
.booking-form .branch-option:has(> input[type="radio"]:checked){
  border-color:var(--accent) !important;
  background:var(--accent) !important;
  box-shadow:0 8px 24px rgba(255,90,31,.18);
}
.booking-form .branch-option:has(> input[type="radio"]:checked)::after{
  border-color:rgba(255,255,255,.8);
  background:#fff;
  color:var(--accent);
}
.booking-form .branch-option:has(> input[type="radio"]:checked) b{
  color:#fff;
}
.booking-form .branch-option:has(> input[type="radio"]:checked) small,
.booking-form .branch-option:has(> input[type="radio"]:checked) em{
  color:rgba(255,255,255,.82);
}

/* Force a visible calendar affordance on dark backgrounds.
   The native date control remains clickable; only its black glyph is hidden. */
.booking-form input[type="date"]{
  position:relative;
  padding-right:46px !important;
  color:#f4f2ed !important;
  background-color:#0e1013 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 14px center !important;
  background-size:18px 18px !important;
}
.booking-form input[type="date"]::-webkit-calendar-picker-indicator{
  position:absolute;
  right:0;
  top:0;
  width:46px;
  height:100%;
  margin:0;
  padding:0;
  opacity:0 !important;
  cursor:pointer;
}

@media (max-width:720px){
  .booking-form{
    padding:18px;
    border-radius:20px;
  }
  .booking-form label,
  .booking-form .service-field legend,
  .booking-form .branch-field legend{
    font-size:13px;
  }
  .booking-form input,
  .booking-form select,
  .booking-form textarea{
    min-height:48px;
    padding:12px 13px;
    font-size:16px !important;
  }
  .booking-form input[type="date"]{
    padding-right:46px !important;
  }
  .booking-form textarea{
    min-height:110px;
  }
  .service-options{
    max-height:260px;
    gap:7px;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .booking-form .service-option{
    padding:10px 11px;
    gap:10px;
  }
  .booking-form .service-option input{
    width:20px;
    height:20px;
    min-height:20px;
    margin-top:1px;
    font-size:16px !important;
  }
  .booking-form .service-option b{
    font-size:14px;
    line-height:1.25;
  }
  .booking-form .service-option small{
    font-size:12px;
    line-height:1.25;
  }
  .booking-form .branch-option{
    min-height:78px;
    padding:12px 44px 12px 13px !important;
  }
  .booking-form .branch-option b{
    font-size:14px;
  }
  .booking-form .branch-option small{
    font-size:12px;
  }
  .booking-form .branch-option em{
    font-size:11px;
  }
  .shop-tools input,
  .shop-tools select{
    font-size:16px !important;
    min-height:46px;
  }
}
