/* Officelovin Partners: the panel under the header and the booking page.
   Colours and radii come from the Officelovin theme tokens; the fallbacks keep it usable without them. */

/* --- Panel --------------------------------------------------------------- */

/* Straight on the page, no card: it lines up with the content below and the motion does the rest */
.olp-bar {
  display: flex;
  align-items: center;
  height: 36px;
  margin: -6px 0 14px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1;
}

.olp-bar__label {
  flex: none;
  padding: 0 6px 0 0;
  color: var(--ol-text-3, #86868b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.olp-bar__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.olp-bar--moving .olp-bar__track {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.olp-bar__run {
  display: flex;
  width: max-content;
}

.olp-bar--moving .olp-bar__run {
  animation: olp-run var(--olp-duration, 40s) linear infinite;
}

.olp-bar--moving:hover .olp-bar__run,
.olp-bar--moving:focus-within .olp-bar__run {
  animation-play-state: paused;
}

@keyframes olp-run {
  to { transform: translateX(-50%); }
}

.olp-bar__set {
  display: flex;
}

/* Doubled class beats the theme's link colours, hover included */
.olp-bar .olp-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  color: var(--ol-text-2, #6e6e73);
  white-space: nowrap;
  text-decoration: none;
}

.olp-bar .olp-bar__item b {
  color: var(--ol-text, #1d1d1f);
  font-weight: 600;
  transition: color .2s;
}

.olp-bar .olp-bar__item:hover {
  color: var(--ol-text-2, #6e6e73);
}

.olp-bar .olp-bar__item:hover b,
.olp-bar .olp-bar__item--you b {
  color: var(--ol-accent, #3a9ad9);
}

.olp-bar__logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .2);
  color: var(--ol-text, #1d1d1f);
  font-size: 9px;
  font-weight: 700;
}

/* The inset keeps the hairline ring visible around the logo */
.olp-bar__logo img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
}

.olp-bar__item--you .olp-bar__logo {
  background: none;
  box-shadow: none;
  outline: 1px dashed var(--ol-text-3, #86868b);
  outline-offset: -1px;
  color: var(--ol-text-2, #6e6e73);
  font-size: 13px;
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .olp-bar--moving .olp-bar__run {
    animation: none;
  }

  .olp-bar--moving .olp-bar__track {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .olp-bar__set[aria-hidden] {
    display: none;
  }
}

/* --- Booking page (landing.php) --------------------------------------------- */

.olp-landing {
  padding-bottom: 80px;
  color: var(--ol-text-2, #6e6e73);
}

.olp-landing h1,
.olp-landing h2,
.olp-landing h3 {
  color: var(--ol-text, #1d1d1f);
  letter-spacing: -.02em;
}

.olp-eyebrow {
  margin: 0 0 12px;
  color: var(--ol-text-3, #86868b);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.olp-hero {
  max-width: 680px;
  padding: 48px 0 56px;
}

.olp-hero h1 {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

.olp-lead {
  margin: 0 0 20px;
  font-size: 19px;
  line-height: 1.5;
}

.olp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0 0 28px;
  font-size: 15px;
}

.olp-facts b {
  color: var(--ol-text, #1d1d1f);
  font-weight: 600;
}

/* Doubled class: the theme colours every link on hover */
.olp-landing .olp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 980px;
  background: var(--ol-accent, #3a9ad9);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}

.olp-landing .olp-button:hover {
  background: var(--ol-accent-hover, #2785c6);
  color: #fff;
}

/* Under the sticky header when jumping to #book */
.olp-book {
  scroll-margin-top: 88px;
}

.olp-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  padding: 40px;
  border-radius: var(--ol-radius-lg, 16px);
  background: var(--ol-surface, #fff);
}

.olp-landing h2 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.olp-fields {
  display: grid;
  align-content: start;
  gap: 18px;
}

.olp-fields h2 {
  margin-bottom: 6px;
}

.olp-field {
  display: grid;
  gap: 6px;
  margin: 0;
}

.olp-field > span {
  display: flex;
  justify-content: space-between;
  color: var(--ol-text, #1d1d1f);
  font-size: 15px;
  font-weight: 600;
}

.olp-count {
  color: var(--ol-text-3, #86868b);
  font-style: normal;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.olp-field input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ol-hairline, #d2d2d7);
  border-radius: var(--ol-radius-sm, 8px);
  background: #fff;
  color: var(--ol-text, #1d1d1f);
  font: inherit;
  font-size: 16px;
}

.olp-field input[type="file"] {
  height: auto;
  padding: 10px 14px;
}

.olp-field input:focus {
  border-color: var(--ol-accent, #3a9ad9);
  outline: 3px solid color-mix(in srgb, var(--ol-accent, #3a9ad9) 25%, transparent);
  outline-offset: 0;
}

.olp-field small {
  color: var(--ol-text-2, #6e6e73);
  font-size: 13px;
  line-height: 1.4;
}

.olp-summary {
  position: sticky;
  top: 96px;
  display: grid;
  align-self: start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--ol-radius, 12px);
  background: var(--ol-bg, #f5f5f7);
}

.olp-summary .olp-eyebrow {
  margin: 0;
}

/* The panel item as the site shows it, on a white strip */
.olp-bar.olp-preview {
  height: 40px;
  margin: 0;
  padding: 0 4px 0 12px;
  border-radius: var(--ol-radius-sm, 8px);
  background: var(--ol-surface, #fff);
}

.olp-preview .olp-bar__item {
  min-width: 0;
  overflow: hidden;
  padding: 0 0 0 10px;
}

.olp-preview [data-preview-pitch] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.olp-rows {
  margin: 0;
}

.olp-rows div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--ol-separator, rgba(0, 0, 0, .08));
  font-size: 15px;
}

.olp-rows dt {
  color: var(--ol-text-2, #6e6e73);
}

.olp-rows dd {
  margin: 0;
  color: var(--ol-text, #1d1d1f);
  font-weight: 600;
}

.olp-summary .olp-button {
  width: 100%;
}

.olp-fine {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.olp-message {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--ol-radius-sm, 8px);
  background: var(--ol-fill, #f5f5f7);
  color: var(--ol-text, #1d1d1f);
  font-size: 15px;
}

.olp-message p {
  margin: 0;
}

.olp-message--error {
  background: #fff2f1;
  color: #b42318;
}

.olp-fax {
  position: absolute;
  left: -9999px;
}

.olp-done {
  max-width: 560px;
  padding: 40px;
  border-radius: var(--ol-radius-lg, 16px);
  background: var(--ol-surface, #fff);
}

.olp-done h2 {
  margin-bottom: 8px;
}

.olp-done > p {
  margin: 0 0 24px;
  font-size: 17px;
}

.olp-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.olp-timeline li {
  position: relative;
  margin: 0;
  padding: 0 0 20px 28px;
  font-size: 15px;
}

.olp-timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ol-hairline, #d2d2d7);
  border-radius: 50%;
  background: var(--ol-surface, #fff);
}

.olp-timeline li.is-done::before {
  border-color: var(--ol-accent, #3a9ad9);
  background: var(--ol-accent, #3a9ad9);
}

.olp-timeline b {
  display: block;
  color: var(--ol-text, #1d1d1f);
  font-weight: 600;
}

.olp-how {
  padding: 72px 0 0;
}

.olp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: olp-step;
}

/* Also clears the theme's list bullets */
.olp-steps li {
  margin: 0;
  padding: 0;
}

/* The theme numbers ordered lists with an absolutely placed counter */
.olp-steps li::before {
  content: counter(olp-step);
  counter-increment: olp-step;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: var(--ol-text, #1d1d1f);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.olp-steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.olp-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.olp-faq {
  max-width: 720px;
  padding: 72px 0 0;
}

.olp-faq details {
  border-top: 1px solid var(--ol-separator, rgba(0, 0, 0, .08));
}

.olp-faq details:last-of-type {
  border-bottom: 1px solid var(--ol-separator, rgba(0, 0, 0, .08));
}

.olp-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--ol-text, #1d1d1f);
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.olp-faq summary::-webkit-details-marker {
  display: none;
}

.olp-faq summary::after {
  content: "+";
  color: var(--ol-text-3, #86868b);
  font-weight: 400;
  transition: transform .2s;
}

.olp-faq details[open] summary::after {
  transform: rotate(45deg);
}

.olp-faq details p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
}

.olp-contact {
  margin: 24px 0 0;
  font-size: 15px;
}

@media (max-width: 899px) {
  .olp-hero {
    padding: 24px 0 40px;
  }

  .olp-hero h1 {
    font-size: 36px;
  }

  .olp-lead {
    font-size: 17px;
  }

  .olp-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 24px;
  }

  .olp-summary {
    position: static;
  }

  .olp-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .olp-how,
  .olp-faq {
    padding-top: 56px;
  }

  .olp-done {
    padding: 24px;
  }
}
