/*
Theme Name: Mariposa Holidays Child
Theme URI: https://mariposaholidays.com/
Description: Child theme van Hello Elementor voor Mariposa Holidays.
Author: Mariposa Holidays
Author URI: https://mariposaholidays.com/
Template: hello-elementor
Version: 1.19.1
Text Domain: mariposa-holidays
*/

/*
 * Algemene projectvariabelen.
 * Gebruik deze kleuren ook in Elementor Site Settings.
 */
:root {
  --mariposa-accent: #c26a4a;
  --mariposa-cream: #f4eee4;
  --mariposa-radius: 15px;
}

.mariposa-registration-number {
  color: #3b2f24;
  font-family: "Parkinsans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.mariposa-google-reviews,
.mariposa-review-rating {
  color: #3b2f24;
  font-family: "Parkinsans", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.mariposa-google-reviews {
  font-weight: 400;
}

.mariposa-review-rating {
  font-weight: 600;
}

.mariposa-contact-link,
.mariposa-setting-link {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.mariposa-contact-link:hover,
.mariposa-contact-link:focus-visible,
.mariposa-setting-link:hover,
.mariposa-setting-link:focus-visible {
  color: #fd6b00;
}

/* Een voorspelbare box-sizing voor maatwerkonderdelen. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Respecteer bezoekers die minder animatie hebben ingesteld. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   FAQ accordion
   Gebruik native details/summary voor SEO en toegankelijkheid zonder JavaScript.
   -------------------------------------------------------------------------- */

.mariposa-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
}

.mariposa-faq__item {
  overflow: hidden;
  margin: 0;
  border-radius: 15px;
  background: #f4eee4;
}

.mariposa-faq__question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  margin: 0;
  padding: 8px 64px 8px 24px;
  border-radius: 15px;
  color: #171513;
  cursor: pointer;
  list-style: none;
}

.mariposa-faq__question::-webkit-details-marker {
  display: none;
}

.mariposa-faq__question::marker {
  content: "";
}

.mariposa-faq__title {
  margin: 0;
  font-family: "Parkinsans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #171513;
}

.mariposa-faq__question::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #c26a4a;
  border-bottom: 2px solid #c26a4a;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease;
}

.mariposa-faq__item[open] > .mariposa-faq__question::after {
  transform: translateY(-30%) rotate(225deg);
}

.mariposa-faq__question:hover,
.mariposa-faq__question:focus,
.mariposa-faq__question:focus-visible {
  color: #171513;
}

.mariposa-faq__question:focus-visible {
  outline: 3px solid #c26a4a;
  outline-offset: -3px;
}

.mariposa-faq__answer {
  margin: 16px 0 0;
  padding: 0 24px 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #4f4943;
}

.mariposa-faq__answer > :first-child {
  margin-top: 0;
}

.mariposa-faq__answer > :last-child {
  margin-bottom: 0;
}

.mariposa-faq__answer p {
  font: inherit;
  color: inherit;
}

@media (max-width: 1024px) {
  .mariposa-faq__question {
    min-height: 56px;
    padding-right: 48px;
    padding-left: 16px;
  }

  .mariposa-faq__question::after {
    right: 16px;
  }

  .mariposa-faq__answer {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 767px) {
  .mariposa-faq__question {
    min-height: 48px;
  }

  .mariposa-faq__answer {
    padding-bottom: 16px;
  }
}
/* WP Booking System – formulier */
#wpbs-form-1 .wpbs-form-fields > .wpbs-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 0px;
}

/* Marges van plugin neutraliseren */
#wpbs-form-1 .wpbs-form-field-label,
#wpbs-form-1 .wpbs-form-field-input {
  margin-top: 0;
  margin-bottom: 0;
}

/* Velden */
#wpbs-form-1 input[type="text"],
#wpbs-form-1 input[type="email"],
#wpbs-form-1 input[type="tel"],
#wpbs-form-1 input[type="number"],
#wpbs-form-1 input[type="date"],
#wpbs-form-1 select {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
}

/* Verzendknop */
#wpbs-form-1 .wpbs-form-submit-button button,
#wpbs-form-1 button[type="submit"],
#wpbs-form-1 input[type="submit"] {
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  background-color: #FD6B00;
  color: #FFFFFF !important;
  font-family: "Parkinsans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

/* Ook eventuele elementen binnen de knop wit maken */
#wpbs-form-1 .wpbs-form-submit-button button *,
#wpbs-form-1 button[type="submit"] * {
  color: #FFFFFF !important;
}

/* Hover en focus */
#wpbs-form-1 .wpbs-form-submit-button button:hover,
#wpbs-form-1 .wpbs-form-submit-button button:focus,
#wpbs-form-1 button[type="submit"]:hover,
#wpbs-form-1 button[type="submit"]:focus,
#wpbs-form-1 input[type="submit"]:hover,
#wpbs-form-1 input[type="submit"]:focus {
  border: 0;
  background-color: #ED6300;
  color: #FFFFFF !important;
}

/* Terms & Conditions-link */
#wpbs-form-1 .wpbs-form-field-consent a {
  color: #FD6B00;
}

#wpbs-form-1 .wpbs-form-field-consent a:hover,
#wpbs-form-1 .wpbs-form-field-consent a:focus-visible {
  color: #ED6300;
}

/* Gewone links in Elementor-tekst en berichtcontent */
.elementor-widget-text-editor .elementor-widget-container a:not(.elementor-button),
.elementor-widget-theme-post-content .elementor-widget-container a:not(.elementor-button),
.entry-content a:not(.elementor-button):not([class*="mariposa-"]) {
  color: #FD6B00;
  transition: color 0.2s ease;
}

.elementor-widget-text-editor .elementor-widget-container a:not(.elementor-button):hover,
.elementor-widget-text-editor .elementor-widget-container a:not(.elementor-button):focus-visible,
.elementor-widget-theme-post-content .elementor-widget-container a:not(.elementor-button):hover,
.elementor-widget-theme-post-content .elementor-widget-container a:not(.elementor-button):focus-visible,
.entry-content a:not(.elementor-button):not([class*="mariposa-"]):hover,
.entry-content a:not(.elementor-button):not([class*="mariposa-"]):focus-visible {
  color: #ED6300;
}

/* Alle gewone inline links in alinea's; button-links blijven uitgesloten. */
.elementor p a:not(.elementor-button),
.entry-content p a:not(.elementor-button),
.mariposa-booking-assurance a:not(.elementor-button) {
  color: #FD6B00 !important;
}

.elementor p a:not(.elementor-button):hover,
.elementor p a:not(.elementor-button):focus-visible,
.entry-content p a:not(.elementor-button):hover,
.entry-content p a:not(.elementor-button):focus-visible,
.mariposa-booking-assurance a:not(.elementor-button):hover,
.mariposa-booking-assurance a:not(.elementor-button):focus-visible {
  color: #ED6300 !important;
}

/* --------------------------------------------------------------------------
   WP Booking System – leesbaarheid kalender en prijstabellen
   Geldt voor het formulier en de betalingsbevestiging van alle casas.
   -------------------------------------------------------------------------- */

/* Datumnummers leesbaar houden op de donkerblauwe selectie en hoverstatus. */
.wpbs-main-wrapper .wpbs-date.wpbs-date-selected .wpbs-date-number,
.wpbs-main-wrapper .wpbs-date.wpbs-date-hover .wpbs-date-number,
.wpbs-main-wrapper .wpbs-date.wpbs-selected-first .wpbs-date-number,
.wpbs-main-wrapper .wpbs-date.wpbs-selected-last .wpbs-date-number {
  z-index: 3;
  color: #FFFFFF !important;
}

/* Kopregel van de prijstabel: lichte tekst op de donkerbruine achtergrond. */
.wpbs-main-wrapper table.wpbs-pricing-table thead th,
.wpbs-main-wrapper table.wpbs-pricing-table thead th * {
  color: #FBF7EF !important;
}

/* Subtotaal, totaal en eventueel gefactureerd bedrag blijven leesbaar. */
.wpbs-main-wrapper table.wpbs-pricing-table tr.wpbs-line-item-subtotal td,
.wpbs-main-wrapper table.wpbs-pricing-table tr.wpbs-line-item-subtotal td *,
.wpbs-main-wrapper table.wpbs-pricing-table tr.wpbs-line-item-total td,
.wpbs-main-wrapper table.wpbs-pricing-table tr.wpbs-line-item-total td *,
.wpbs-main-wrapper .wpbs-amount-billed,
.wpbs-main-wrapper .wpbs-amount-billed * {
  color: #FBF7EF !important;
}

/* Prijsuitsplitsing in de eigen Mariposa-kleuren, in beide betaalstappen. */
.wpbs-main-wrapper a.wpbs-show-price-breakdown-toggle {
  color: #FD6B00 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wpbs-main-wrapper a.wpbs-show-price-breakdown-toggle:hover,
.wpbs-main-wrapper a.wpbs-show-price-breakdown-toggle:focus-visible,
.wpbs-main-wrapper a.wpbs-show-price-breakdown-toggle.active {
  color: #ED6300 !important;
}
