/* Booking entry specific styles for the experience-page widget runtime. */

.go-booking-widget__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.5rem;
}

.go-booking-widget__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

.go-booking-widget__header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-wrap: nowrap;
  margin-left: auto;
}

.go-booking-widget__unit-price {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  white-space: pre-line;
  text-align: right;
  line-height: 1.35;
}

.go-booking-widget__status {
  font-size: 0.82rem;
  opacity: 0.6;
  white-space: normal;
  text-align: right;
}

.go-booking-widget__calendar {
  display: grid;
  gap: 0.6rem;
}

.go-booking-widget__calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.go-booking-widget__month {
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.go-booking-widget__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(2rem, 1fr));
  gap: 0.25rem;
}

.go-booking-widget__day-name {
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}

.go-booking-widget__day-blank {
  min-height: 2rem;
}

.go-booking-widget__day {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  background: transparent;
  color: inherit;
  border-radius: 0.4rem;
  padding: 2px;
  cursor: default;
  font: inherit;
  line-height: 1;
  text-align: center;
  transition: filter 0.12s;
}

.go-booking-widget__day.is-disabled,
.go-booking-widget__day[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.go-booking-widget__day.is-available {
  background: var(--goe-day-avail-bg);
  color: var(--goe-day-avail-fg);
  font-weight: 500;
  cursor: pointer;
  border-color: rgba(0, 0, 0, 0.18);
  border-color: color-mix(in srgb, currentColor 18%, transparent);
}

.go-booking-widget__day.is-available:hover:not(.is-selected) {
  filter: brightness(0.9);
}

.go-booking-widget__day.is-selected {
  background: var(--goe-primary) !important;
  color: var(--goe-primary-fg) !important;
  border-color: var(--goe-primary-dark) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--goe-primary, #2563eb) 32%, transparent);
  font-weight: 700;
}

.go-booking-widget__day.is-continuation {
  background: repeating-linear-gradient(
    135deg,
    var(--goe-day-avail-bg),
    var(--goe-day-avail-bg) 3px,
    transparent 3px,
    transparent 7px
  );
  border-color: rgba(0, 0, 0, 0.18);
  border-color: color-mix(in srgb, currentColor 18%, transparent);
  opacity: 0.65;
  cursor: default;
}

.go-booking-widget__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.go-booking-widget__radio-list {
  display: grid;
  gap: 0.5rem;
}

.go-booking-widget__radio {
  display: flex;
  position: relative;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: var(--goe-radius-sm, 0.6rem);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: rgba(0, 0, 0, 0.03);
  background: color-mix(in srgb, currentColor 3%, transparent);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
}

.go-booking-widget__radio:hover {
  border-color: rgba(0, 0, 0, 0.28);
  border-color: color-mix(in srgb, currentColor 28%, transparent);
  background: rgba(0, 0, 0, 0.06);
  background: color-mix(in srgb, currentColor 6%, transparent);
}

.go-booking-widget__radio.is-selected {
  border-color: var(--goe-primary, #2563eb);
  background: rgba(37, 99, 235, 0.12);
  background: color-mix(in srgb, var(--goe-primary, #2563eb) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--goe-primary, #2563eb) 45%, transparent);
  font-weight: 600;
}

.go-booking-widget__radio.is-selected::after {
  content: '(valgt)';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: var(--goe-primary, #2563eb);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.go-booking-widget__radio-label {
  flex: 1 1 auto;
  min-width: 0;
}

/* Transport til kunden — radio-variant */
.go-booking-widget__radio--transport {
  flex-direction: column;
  align-items: stretch;
}

.go-booking-widget__transport-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.go-booking-widget__transport-icon svg {
  width: 18px;
  height: 18px;
}

/* Inner row: icon + label + price — always visible */
.go-booking-widget__radio-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.go-booking-widget__transport-price {
  font-size: 0.75rem;
  opacity: 0.65;
  flex-shrink: 0;
  white-space: nowrap;
}

/* "(valgt)" indicator on the inner row when transport is selected */
.go-booking-widget__radio--transport.is-selected .go-booking-widget__radio-row::after {
  content: '(valgt)';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: var(--goe-primary, #2563eb);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.go-booking-widget__transport-input {
  display: none;
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: normal;
  padding: 0;
  outline: none;
  cursor: text;
}

.go-booking-widget__radio--transport.is-selected .go-booking-widget__transport-input {
  display: block;
  margin-top: 0.375rem;
}

/* Outer ::after suppressed — valgt shown on inner radio-row instead */
.go-booking-widget__radio--transport.is-selected::after {
  content: none;
}


.go-booking-widget__flow-toggle {
  margin-top: 0.25rem;
}

.go-booking-widget__flow-toggle-list {
  grid-template-columns: 1fr;
}

.go-booking-widget__flow-toggle-action-wrap {
  position: relative;
}

.go-booking-widget__flow-toggle-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.go-booking-widget__flow-toggle-action {
  display: block;
  width: 100%;
  text-align: left;
}

.go-booking-widget__private-note {
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--goe-radius-sm, 0.6rem);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border: 1px solid color-mix(in srgb, var(--goe-warning, #f59e0b) 35%, transparent);
  background: rgba(245, 158, 11, 0.08);
  background: color-mix(in srgb, var(--goe-warning, #f59e0b) 8%, transparent);
  font-size: 0.95rem;
  line-height: 1.5;
}

.go-booking-widget__private-grid {
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .go-booking-widget__private-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.go-booking-widget__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.go-booking-widget__mp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
  padding: 6px 0;
  font-size: 0.82em;
}

.go-booking-widget__mp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.go-booking-widget__slots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.go-booking-widget__slot {
  background: rgba(0, 0, 0, 0.03);
  background: color-mix(in srgb, currentColor 3%, transparent);
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.go-booking-widget__slot:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.07);
  background: color-mix(in srgb, currentColor 7%, transparent);
  border-color: rgba(0, 0, 0, 0.28);
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}

.go-booking-widget__slot.is-selected {
  background: rgba(37, 99, 235, 0.12);
  background: color-mix(in srgb, var(--goe-primary, #2563eb) 12%, transparent);
  border-color: var(--goe-primary, #2563eb);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--goe-primary, #2563eb) 45%, transparent);
  font-weight: 600;
}

.go-booking-widget__muted {
  font-size: 0.9rem;
  opacity: 0.8;
}

.go-booking-widget__price {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  font-weight: 600;
}

.go-booking-widget__panel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: var(--goe-radius-md, 0.75rem);
  padding: clamp(1rem, 2vw, 1.25rem);
}

.go-booking-widget__panel--in-sheet {
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.goe-mobile-bar__main {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
}

.goe-mobile-bar [hidden] {
  display: none !important;
}

.goe-mobile-bar__summary {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.goe-mobile-bar__price-group {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.goe-mobile-bar__price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}

.goe-mobile-bar__price {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
  flex: 1 1 auto;
}

.goe-mobile-bar__from {
  font-size: 0.78rem;
  opacity: 0.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goe-mobile-bar__amount {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.goe-mobile-bar__amount.is-compact {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.goe-mobile-bar__amount small {
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.75;
}

.goe-mobile-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  margin-left: 30px;
  margin-top: 0;
  flex-shrink: 0;
}

.goe-mobile-bar__toggle-label {
  display: inline-flex;
  align-items: center;
}

.goe-mobile-bar__private-toggle {
  margin: 0;
}

.goe-mobile-bar__calendar {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  background: color-mix(in srgb, currentColor 4%, transparent);
  color: inherit;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0;
}

.goe-mobile-bar__cta {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
}

.goe-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: var(--goe-z-sheet, 9950);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.goe-mobile-sheet[hidden] {
  display: none;
}

.goe-mobile-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.goe-mobile-sheet.is-open .goe-mobile-sheet__backdrop {
  opacity: 1;
}

.goe-mobile-sheet__drawer {
  position: relative;
  background: var(--goe-sheet-bg, #ffffff);
  border-radius: 1rem 1rem 0 0;
  width: 100%; /* forsvar mod WP-temaer der bryder flex align-items:stretch */
  max-height: 92vh;  /* fallback for browsere uden dvh-support */
  max-height: 92dvh; /* dynamic viewport height — foretrukket (overskriver vh i understøttede browsere) */
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
}

.goe-mobile-sheet.is-open .goe-mobile-sheet__drawer {
  transform: translateY(0);
}

.goe-mobile-sheet__topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent);
  flex-shrink: 0;
  gap: 0.5rem;
}

.goe-mobile-sheet__topbar::before {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 0.22rem;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.18);
  background: color-mix(in srgb, currentColor 18%, transparent);
}

.goe-mobile-sheet__topbar-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.goe-mobile-sheet__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.goe-mobile-sheet__sheet-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--goe-primary, #2563eb);
  line-height: 1.3;
  min-height: 1em;
}

.goe-mobile-sheet__close {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
}

.goe-mobile-sheet__close:active {
  background: rgba(0, 0, 0, 0.16);
  background: color-mix(in srgb, currentColor 16%, transparent);
}

.goe-mobile-sheet__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1rem 1.5rem;
  flex: 1 1 auto;
}

@media (prefers-reduced-motion: reduce) {
  .goe-mobile-bar {
    transition: none;
  }
  .goe-mobile-sheet__drawer {
    transition: none;
  }
  .goe-mobile-sheet__backdrop {
    transition: none;
  }
}