/* Pacific Stone styling for third-party front-end integrations. */

:root {
  --ps-integration-ink: #231e21;
  --ps-integration-body: #414241;
  --ps-integration-paper: #f6f3ee;
  --ps-integration-white: #ffffff;
  --ps-integration-copper: #a57039;
  --ps-integration-copper-dark: #74502a;
  --ps-integration-line: rgba(35, 30, 33, 0.14);
  --ps-integration-error: #873b34;
}

/*
 * UserWay loads its own stylesheet after this one. The repeated root class and
 * explicit body scope provide a non-JavaScript fallback; the shared embed also
 * reasserts the same values when UserWay applies inline !important styles.
 */
html body .uwy.uwy.userway_p5,
html body .uwy.uwy.userway_p5 .userway_buttons_wrapper {
  top: auto !important;
  right: auto !important;
  bottom: 20px !important;
  left: 18px !important;
}

html body .uwy.uwy.userway_p5 .uai,
html body .uwy.uwy.userway_p5 .ulsti {
  background-color: #231e21 !important;
}

html body .uwy.uwy.userway_p5 .uai:hover,
html body .uwy.uwy.userway_p5 .uai:focus,
html body .uwy.uwy.userway_p5 .ulsti:hover,
html body .uwy.uwy.userway_p5 .ulsti:focus {
  background-color: #382f32 !important;
}

/* Elfsight all-in-one reviews badge: collapsed state. */
#__EAAPS_PORTAL .slide-in-position-container {
  pointer-events: none !important;
  touch-action: pan-y !important;
}

#__EAAPS_PORTAL .slide-in-position-container > * {
  pointer-events: auto !important;
  touch-action: manipulation;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-badge-container {
  border: 1px solid rgba(165, 112, 57, 0.72) !important;
  border-radius: 16px !important;
  background: var(--ps-integration-ink) !important;
  box-shadow: 0 16px 38px rgba(35, 30, 33, 0.28) !important;
  color: var(--ps-integration-white) !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-badge-container:hover {
  box-shadow: 0 19px 44px rgba(35, 30, 33, 0.34) !important;
  transform: translateY(-2px) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-badge-container .es-rating-value {
  color: var(--ps-integration-white) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-weight: 800 !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-badge-container .es-badge-reviews-count {
  color: rgba(255, 255, 255, 0.64) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-badge-container .es-rating-item-filled svg path {
  fill: #d7a556 !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-close-button {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: var(--ps-integration-copper-dark) !important;
  box-shadow: 0 6px 18px rgba(35, 30, 33, 0.22) !important;
  color: var(--ps-integration-white) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-close-button-icon,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-close-button-icon path {
  stroke: var(--ps-integration-white) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-bullets-control-container {
  background: rgba(35, 30, 33, 0.88) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-bullets-control-item {
  background: rgba(255, 255, 255, 0.54) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-bullets-control-item-active {
  background: var(--ps-integration-copper) !important;
}

/* Elfsight expanded reviews drawer. */
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root [aria-label="List of reviews"],
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-popup,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-container {
  font-family: "DM Sans", Arial, sans-serif !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-container,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-scrollable-container {
  background: var(--ps-integration-paper) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-header {
  border-bottom: 4px solid var(--ps-integration-copper) !important;
  background: var(--ps-integration-ink) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-heading-logo {
  filter: grayscale(1) brightness(0) invert(1) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-heading-text,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-rating .es-rating-value {
  color: var(--ps-integration-white) !important;
  font-family: "Plus Jakarta Sans", "DM Sans", Arial, sans-serif !important;
  font-weight: 700 !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-rating-reviews-count {
  color: rgba(255, 255, 255, 0.66) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-write-review-button {
  min-height: 42px !important;
  border: 1px solid var(--ps-integration-copper) !important;
  border-radius: 999px !important;
  background: var(--ps-integration-copper-dark) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  color: var(--ps-integration-white) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-weight: 800 !important;
  transition: background 180ms ease, transform 180ms ease !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-write-review-button:hover,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-header-write-review-button:focus-visible {
  background: var(--ps-integration-copper) !important;
  transform: translateY(-1px) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-close-button-reviews-popup-content {
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: var(--ps-integration-copper-dark) !important;
  color: var(--ps-integration-white) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-close-button-reviews-popup-content svg,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-close-button-reviews-popup-content svg path {
  stroke: var(--ps-integration-white) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-background-container {
  padding: 18px !important;
  border: 1px solid var(--ps-integration-line) !important;
  border-radius: 18px !important;
  background: var(--ps-integration-white) !important;
  box-shadow: 0 10px 30px rgba(35, 30, 33, 0.08) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-author-name,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-content {
  color: var(--ps-integration-ink) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-content-text-container,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-info-date,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-source-name {
  color: var(--ps-integration-body) !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-text-shortener-button,
.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-content-read-more {
  color: var(--ps-integration-copper-dark) !important;
  font-weight: 800 !important;
}

.eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-review-separator-line {
  background: transparent !important;
}

@media (min-width: 768px) {
  .eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-review-background-container {
    padding: 22px 24px !important;
  }

  .eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-popup,
  .eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-container {
    border-radius: 24px !important;
    box-shadow: 0 24px 70px rgba(35, 30, 33, 0.24) !important;
    overflow: hidden !important;
  }

  .eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-reviews-popup-content-header {
    margin: 0 !important;
    padding: 40px 40px 20px !important;
  }
}

/* Elfsight can occasionally return an empty review state on first load. */
html.ps-elfsight-review-pending .eapps-all-in-one-reviews-35318096-ef07-4f32-a706-71f1ee072431-custom-css-root .es-badge-container {
  opacity: 0 !important;
  pointer-events: none !important;
}

#ps-elfsight-review-fallback {
  position: fixed;
  right: auto;
  bottom: 22px;
  left: 50%;
  z-index: 124;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 9px;
  align-items: center;
  min-width: 176px;
  padding: 14px 17px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(165, 112, 57, 0.55);
  border-radius: 18px;
  background: rgba(35, 30, 33, 0.96);
  box-shadow: 0 14px 34px rgba(35, 30, 33, 0.24);
  color: var(--ps-integration-white) !important;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.1;
  text-decoration: none !important;
  transform: translateX(-50%);
  transition: background 180ms ease, transform 180ms ease;
  cursor: pointer;
}

#ps-elfsight-review-fallback:hover,
#ps-elfsight-review-fallback:focus-visible {
  background: var(--ps-integration-copper-dark);
  color: var(--ps-integration-white) !important;
  transform: translateX(-50%) translateY(-2px);
}

#ps-elfsight-review-fallback .ps-review-fallback-rating {
  font-size: 20px;
  font-weight: 800;
}

#ps-elfsight-review-fallback .ps-review-fallback-stars {
  color: #fbbf24;
  font-size: 15px;
  letter-spacing: 1px;
}

#ps-elfsight-review-fallback .ps-review-fallback-count {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 767px) {
  #ps-elfsight-review-fallback {
    bottom: 22px;
    min-width: 164px;
    padding: 12px 14px;
  }
}

/* Gravity Forms validation and error states. */
body .gform_wrapper .gform_validation_errors {
  margin: 0 0 22px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(135, 59, 52, 0.28) !important;
  border-left: 4px solid var(--ps-integration-error) !important;
  border-radius: 14px !important;
  background: #fff8f6 !important;
  box-shadow: none !important;
  color: var(--ps-integration-ink) !important;
  outline: 0 !important;
}

body .gform_wrapper .gform_validation_errors > ol,
body .gform_wrapper .gform_validation_errors > ul {
  display: none !important;
}

body .gform_wrapper .gform_validation_errors > h2,
body .gform_wrapper .gform_submission_error {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  color: var(--ps-integration-ink) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}

body .gform_wrapper .gform_validation_errors .gform-icon,
body .gform_wrapper .gform_validation_errors .gform-icon::before {
  color: var(--ps-integration-error) !important;
}

body .gform_wrapper .gform_validation_errors .gform-icon {
  position: static !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  margin: 1px 0 0 !important;
  font-size: 20px !important;
  line-height: 20px !important;
}

body .gform_wrapper .gfield_error input:not([type="submit"]),
body .gform_wrapper .gfield_error textarea,
body .gform_wrapper .gfield_error select,
body .gform_wrapper [aria-invalid="true"] {
  border-color: var(--ps-integration-error) !important;
  background: #fffafa !important;
  box-shadow: 0 0 0 3px rgba(135, 59, 52, 0.1) !important;
}

body .gform_wrapper .gfield_error .gfield_label,
body .gform_wrapper .gfield_error legend {
  color: var(--ps-integration-ink) !important;
}

body .gform_wrapper .validation_message,
body .gform_wrapper .gfield_validation_message {
  margin: 0 !important;
  padding: 7px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ps-integration-error) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body .gform_wrapper .gfield_required,
body .gform_wrapper .gfield_required_text,
body .gform_wrapper .gfield_required_asterisk {
  color: var(--ps-integration-copper-dark) !important;
}

body .gform_wrapper input[aria-invalid="true"]:focus,
body .gform_wrapper textarea[aria-invalid="true"]:focus,
body .gform_wrapper select[aria-invalid="true"]:focus {
  outline: 2px solid transparent !important;
  box-shadow: 0 0 0 4px rgba(135, 59, 52, 0.18) !important;
}
