/* Arctic Circle Snowmobile Park — shared action-button system.
   This file is loaded last on Home and Rovaniemi and is the source of truth
   for every primary/secondary CTA, including the booking submit button.
   Tabs, dropdown triggers, calendar dates and quantity controls are not CTAs. */
:root {
  --action-height: 56px;
  --action-padding-x: 26px;
  --action-radius: 999px;
  --action-font-size: 16px;
  --action-font-weight: 500;
  --action-brown: #a07e60;
  --action-ink: #252525;
  --action-outline: #b8b6b4;
}

/* Repeated class intentionally outranks the legacy page-specific button rules. */
.site-button.site-button.site-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: var(--action-height);
  min-height: var(--action-height);
  max-height: var(--action-height);
  padding: 0 var(--action-padding-x);
  border: 1px solid transparent;
  border-radius: var(--action-radius);
  font-family: Poppins, Arial, sans-serif;
  font-size: var(--action-font-size);
  font-weight: var(--action-font-weight);
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-button.site-button.site-button:is(.brown, .button-gold, .site-button--primary) {
  background: var(--action-brown);
  color: #fff;
}
.site-button.site-button.site-button:is(.outline, .outline-button, .navcta, .site-button--outline) {
  background: transparent;
  color: var(--action-ink);
  border-color: var(--action-outline);
}
.site-button.site-button.site-button:is(.button-white, .site-button--white) {
  background: #fff;
  color: var(--action-ink);
}
.site-button.site-button.site-button:is(.button-dark, .site-button--dark) {
  background: var(--action-ink);
  color: #fff;
}
.site-button.site-button.site-button:is(:hover, :focus-visible) {
  transform: translateY(-1px);
}
.site-button.site-button.site-button:focus-visible {
  outline: 2px solid var(--action-brown);
  outline-offset: 3px;
}
.site-button.site-button.site-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* Preserve the 90px finder row: action and its caption stay within one field. */
.booking-shared .booking-action > .site-button.site-button.site-button {
  flex: 0 0 var(--action-height);
  width: 100%;
  margin: 0;
}

/* Tour-card actions use the same pill instead of an arrow-only circle. */
.tour-card-foot > .site-button.site-button.site-button {
  width: auto;
  font-size: var(--action-font-size);
  border-radius: var(--action-radius);
}

/* The booking dropdown's Done action is the same shared component. */
.booking-shared .booking-guest-done.site-button.site-button.site-button {
  width: 100%;
  margin-top: 18px;
}

/* Rovaniemi: one gold treatment for every action CTA, including secondary CTAs. */
.rovaniemi-page .site-button.site-button.site-button {
  background: var(--action-brown);
  border-color: var(--action-brown);
  color: #fff;
}
.rovaniemi-page .site-button.site-button.site-button:is(:hover, :focus-visible) {
  background: #8b6d52;
  border-color: #8b6d52;
  color: #fff;
}

@media (max-width: 700px) {
  .site-button.site-button.site-button { max-width: 100%; }
  .booking-shared .booking-action > .site-button.site-button.site-button { max-width: 320px; }
}
