/* Eclipse Baleares — Genie Store Pickup overrides
 * Cosmetic-only fixes layered over Genie's widget.
 * Do NOT edit genie-store-pickup-app.js — this file + genie-overrides.js own all customisations.
 */

/* Hide stray address line that renders ", Balears, 07820" when address1 is empty.
 * Genie still prints the address row even if street is blank — JS adds .eb-empty-addr to those rows. */
.eb-empty-addr {
  display: none !important;
}

/* Sub-option ("Local Collection Points") visual styling.
 * Mirrors Genie's row layout but slightly indented + muted to read as a child option.
 * The dashed top border is the in-group divider between the airport row and its
 * paired local-pickup row for the SAME island — never between unrelated cards. */
.eb-sub-location {
  padding-left: 2.25rem;
  border-top: 1px dashed hsl(var(--border, 0 0% 0% / 0.25));
  background: hsl(var(--background, 39 41% 95%));
  margin-top: 0;
  position: relative;
}
/* Let the airport card keep its own frame so each island stays as two clear rows,
 * with the dashed divider only separating the airport row from its local-pickup row. */
.eb-sub-location {
  border-left: 1px solid hsl(var(--border, 0 0% 0% / 0.12));
  border-right: 1px solid hsl(var(--border, 0 0% 0% / 0.12));
  border-bottom: 1px solid hsl(var(--border, 0 0% 0% / 0.12));
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
.eb-sub-location .eb-sub-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: hsl(var(--foreground, 0 0% 4%));
}
.eb-sub-location .eb-sub-helper {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground, 0 0% 40%));
  margin-top: 0.125rem;
  line-height: 1.35;
}
.eb-sub-location.eb-active-sub {
  background: hsl(var(--primary, 18 68% 53%) / 0.08);
  border-left: 2px solid hsl(var(--primary, 18 68% 53%));
}
.eb-sub-location.eb-active-sub .eb-sub-label {
  color: hsl(var(--primary, 18 68% 53%));
}

/* Date picker: dim and block dates outside the eclipse pickup window (3–12 Aug 2026).
 * Genie's pickadate cells use the bare `day` BEM class (not picker__day). */
.eb-day-disabled,
.eb-day-disabled > *,
.day.eb-day-disabled,
td.eb-day-disabled {
  opacity: 0.22 !important;
  pointer-events: none !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
  background: transparent !important;
  color: hsl(var(--muted-foreground, 0 0% 45%)) !important;
}

/* Hide the time-slot dropdown — pickup is on-arrival, no fixed time slot needed. */
.eb-hide,
.genie-time-slot-dropdown.eb-hide {
  display: none !important;
}

/* Reassurance notice shown in place of the date picker for local-collection customers. */
.eb-local-notice {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid hsl(var(--primary, 18 68% 53%) / 0.35);
  background: hsl(var(--primary, 18 68% 53%) / 0.06);
  color: hsl(var(--foreground, 0 0% 4%));
  font-size: 0.85rem;
  line-height: 1.4;
  border-radius: 0.125rem;
}


/* Hint banner above the pickup-location list — makes it obvious the list scrolls. */
.eb-locations-hint {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 0.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid hsl(var(--primary, 18 68% 53%) / 0.45);
  background: hsl(var(--primary, 18 68% 53%) / 0.08);
  border-radius: 0.125rem;
}
.eb-locations-hint__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--primary, 18 68% 53%));
  font-weight: 700;
}
.eb-locations-hint__label::before {
  content: "↓ ";
  display: inline-block;
  margin-right: 0.25rem;
}
.eb-locations-hint__sub {
  font-size: 0.85rem;
  line-height: 1.35;
  color: hsl(var(--foreground, 0 0% 4%));
}
