/* Light Up Letters — Hero Picker (Airbnb style) */

.lul-hero-picker {
  position: relative;
  max-width: 920px;
  margin: -140px auto 60px;
  z-index: 20;
  font-family: inherit;
}

@media (max-width: 768px) {
  .lul-hero-picker { margin-top: -90px; padding: 0 16px; box-sizing: border-box; }
}

.lul-hp-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 24px 28px;
  overflow: visible;
}

.lul-hp-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #1a1a1a;
}

.lul-hp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr 0.8fr auto;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: visible;
  position: relative;
}

@media (max-width: 1000px) {
  .lul-hp-fields { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 560px) {
  .lul-hp-fields { grid-template-columns: 1fr; }
}

.lul-hp-field {
  padding: 10px 16px;
  border-right: 1px solid #eee;
  cursor: pointer;
}

.lul-hp-field:last-of-type { border-right: none; }

.lul-hp-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 2px;
}

.lul-hp-field-value {
  font-size: 14px;
  color: #1a1a1a;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  width: 100%;
  font-family: inherit;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

input.lul-hp-field-value {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

input.lul-hp-field-value:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.lul-hp-field-value:focus { outline: none; }

button.lul-hp-field-value {
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.lul-hp-submit-wrap {
  display: flex;
  align-items: center;
  padding: 8px;
}

#lul-hp-submit {
  background: #c8a84b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

#lul-hp-submit:hover:not(:disabled) { background: #b8942f; }
#lul-hp-submit:disabled { background: #ddd; cursor: not-allowed; }

@media (max-width: 560px) {
  .lul-hp-submit-wrap { justify-content: stretch; padding: 12px 16px; }
  #lul-hp-submit { width: 100%; border-radius: 8px; height: 44px; font-size: 14px; }
}

/* ── Calendar ── */
.lul-hp-calendar {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  padding: 16px;
  z-index: 9999;
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
}

.lul-hero-picker,
.lul-hp-card,
.lul-hp-fields,
.lul-hp-field {
  overflow: visible !important;
}

.lul-hp-calendar.lul-hp-open { display: block; }

.lul-hp-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
}

.lul-hp-cal-nav {
  background: none;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
}

.lul-hp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.lul-hp-cal-label {
  font-size: 11px;
  color: #888;
  text-align: center;
  padding: 4px 0;
  font-weight: 600;
}

.lul-hp-cal-empty {}

.lul-hp-cal-day {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}

.lul-hp-cal-day:hover:not(:disabled) { background: #f0ede4; }

.lul-hp-cal-disabled {
  color: #ccc;
  cursor: not-allowed;
}

.lul-hp-cal-selected {
  background: #c8a84b !important;
  color: #fff;
  font-weight: 700;
}

.lul-hp-cal-inrange {
  background: #fdf6e3;
}

/* ── Toggle row (below fields) ── */
.lul-hp-extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.lul-hp-toggle-label {
  font-size: 14px;
  color: #444;
  display: flex;
  flex-direction: column;
}

.lul-hp-toggle-label small {
  font-size: 12px;
  color: #999;
  font-weight: normal;
}

.lul-hp-toggle {
  width: 44px;
  height: 24px;
  background: #ddd;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.lul-hp-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lul-hp-toggle-on { background: #c8a84b; }
.lul-hp-toggle-on::after { transform: translateX(20px); }

/* ── Date + time row ── */
.lul-hp-date-time-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.lul-hp-time-select {
  font-size: 11px;
  color: #888;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.lul-hp-time-select:focus { outline: none; }

/* ── Hide native Booqable header date picker + search bar ── */
body.lul-hide-native-picker .booqable-sidebar,
body.lul-hide-native-picker .booqable-product-search,
body.lul-hide-native-picker .booqable-collections,
body.lul-hide-native-picker [data-tid="Cart picker button"] {
  display: none !important;
}

/* Always hide the sidebar date/search bar on pages with the hero picker present */
body.lul-has-hero-picker .booqable-sidebar {
  display: none !important;
}

/* ── Submit button loading spinner ── */
.lul-hp-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lul-hp-spin 0.7s linear infinite;
}

@keyframes lul-hp-spin {
  to { transform: rotate(360deg); }
}

#lul-hp-submit.lul-hp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── New expanded layout ── */

/* Date buttons */
.lul-hp-date-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.lul-hp-date-val {
  font-size: 14px;
  color: #1a1a1a;
  display: block;
}

/* Time row */
.lul-hp-time-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  align-items: flex-start;
}

.lul-hp-time-group {
  flex: 1;
  min-width: 160px;
}

.lul-hp-time-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px;
}

.lul-hp-optional {
  font-size: 10px;
  color: #aaa;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
}

.lul-hp-time-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lul-hp-time-sublabel {
  font-size: 10px;
  color: #aaa;
  margin-bottom: 2px;
}

.lul-hp-time-sel {
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 4px 6px;
  background: #fff;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
}

.lul-hp-time-sel:focus { outline: none; border-color: #c8a84b; }

.lul-hp-time-sep {
  font-size: 12px;
  color: #ccc;
  margin-top: 16px;
}

/* Venue input */
.lul-hp-venue-group { flex: 1.5; min-width: 200px; }

.lul-hp-venue-input {
  width: 100%;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 8px;
  font-family: inherit;
  color: #1a1a1a;
  box-sizing: border-box;
}

.lul-hp-venue-input:focus { outline: none; border-color: #c8a84b; }

/* Extra row */
.lul-hp-extra-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  gap: 16px;
  flex-wrap: wrap;
}

.lul-hp-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lul-hp-toggle-label {
  font-size: 14px;
  color: #444;
}

/* Fee notice */
.lul-hp-fee-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffbf0;
  border: 1px solid #f0e0a0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}

.lul-hp-fee-icon {
  font-size: 16px;
  color: #c8a84b;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Disclaimer */
.lul-hp-disclaimer {
  font-size: 11px;
  color: #999;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Postcode field narrower */
.lul-hp-field-postcode { max-width: 100px; }

@media (max-width: 768px) {
  .lul-hp-time-row { flex-direction: column; }
  .lul-hp-field-postcode { max-width: 100%; }
}

/* ── Tight window hint ── */
.lul-hp-window-hint {
  font-size: 11px;
  color: #c8a84b;
  margin: 4px 0 0;
  font-weight: 600;
}

/* ── "I don't know yet / TBC" window toggle ── */
.lul-hp-tbc-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  cursor: pointer;
}

.lul-hp-tbc-toggle input { margin: 0; }

.lul-hp-tbc-note {
  font-size: 12px;
  color: #7a5c00;
  background: #fff8e6;
  border: 1px solid #f0dfa8;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0 0;
}

.lul-hp-tbc-note a {
  color: #c8a84b;
  font-weight: 700;
  text-decoration: underline;
}

/* ── Event Picker ── */
.lul-event-picker {
  position: relative;
  max-width: 600px;
  margin: -60px auto 40px;
  z-index: 20;
  font-family: inherit;
}

@media (max-width: 680px) {
  .lul-event-picker { margin-top: -40px; padding: 0 16px; box-sizing: border-box; }
}

.lul-ep-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  padding: 20px 24px;
}

.lul-ep-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lul-ep-field {
  flex: 1;
}

.lul-ep-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px;
}

.lul-ep-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lul-ep-select {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  border: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  padding: 4px 28px 4px 0;
  cursor: pointer;
  font-family: inherit;
}

.lul-ep-select:focus { outline: none; }

.lul-ep-select option[value=""][disabled] { color: #aaa; }

.lul-ep-chevron {
  position: absolute;
  right: 0;
  color: #888;
  pointer-events: none;
  font-size: 14px;
}

.lul-ep-submit-wrap {
  flex-shrink: 0;
}

#lul-ep-submit {
  background: #c8a84b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

#lul-ep-submit:hover:not(:disabled) { background: #b8942f; }
#lul-ep-submit:disabled { background: #ddd; cursor: not-allowed; }

/* ── Update order button state ── */
#lul-hp-submit.lul-hp-btn-text {
  width: auto;
  border-radius: 24px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.lul-hp-fee-note {
  font-size: 11px;
  color: #999;
  font-weight: normal;
}

/* ── Clear details button ── */
.lul-hp-clear-btn {
  background: none;
  border: none;
  font-size: 13px;
  color: #aaa;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
.lul-hp-clear-btn:hover {
  color: #dc2626;
  background: #fef2f2;
}

/* Force time selects to always open downward */
.lul-hp-time-sel {
  position: relative;
  z-index: 100;
}

/* Wrap each time pair in overflow-visible container */
.lul-hp-time-pair {
  position: relative;
  overflow: visible;
}

/* ── Custom time picker (replaces native select) ── */
.lul-tp-wrap {
  position: relative;
  display: inline-block;
}

.lul-tp-wrap select { display: none !important; }

.lul-tp-btn {
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 5px 28px 5px 10px;
  background: #fff;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
  min-width: 100px;
  text-align: left;
  position: relative;
  white-space: nowrap;
}

.lul-tp-btn::after {
  content: '▾';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 11px;
}

.lul-tp-btn:focus { outline: none; border-color: #c8a84b; }

.lul-tp-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 99999;
  width: 130px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.lul-tp-dropdown.lul-tp-open { display: block; }

.lul-tp-option {
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #1a1a1a;
  white-space: nowrap;
}

.lul-tp-option:hover { background: #f5f5f5; }
.lul-tp-option.lul-tp-selected { background: #c8a84b; color: #fff; font-weight: 600; }
