@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

/* Additions for the static copy: service/size dropdowns, inline success state, quote card on service pages */
.jjr-select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center}
.jjr-select:invalid{color:var(--bde-palette-000000-33f70b6b-6ddb-4667-bb85-145c86ec2813-5,#757575)}
.jjr-select option{color:#000}
.jjr-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.jjr-form-error{grid-column:1/-1;color:#ff8a65;font-size:15px;margin:0}
.jjr-form-success{text-align:center;color:#fff;padding:24px 0}
.breakdance .jjr-form-success[hidden],.breakdance .jjr-form-error[hidden],.breakdance .jjr-quote-form[hidden],.breakdance .jjr-quote-form>.breakdance-form-field[hidden]{display:none!important}
.jjr-tick{width:56px;height:56px;border-radius:50%;background:#F26E0B;margin:0 auto 14px;display:grid;place-items:center;font-size:28px;font-weight:700}
.jjr-form-success p{margin:8px 0 0}
.jjr-quote-form button:disabled{opacity:.6;cursor:wait}

/* Match the homepage card only on the spa and deceased-estate hero forms. */
.breakdance .bde-columns:has(> .jjr-quote-col) {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(420px,1fr);
  align-items:center;
  gap:clamp(28px,4vw,64px);
}
.breakdance .bde-columns:has(> .jjr-quote-col) > .bde-column {
  width:100% !important;
  min-width:0;
  max-width:none;
  --column-width:100%;
}
.breakdance .jjr-quote-col {
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  align-self:start;
  text-align:left;
  height:fit-content;
  padding:24px;
  border:1px solid rgba(255,255,255,.6);
  border-radius:24px;
  background:#fffefa;
  color:#191711;
  box-shadow:0 24px 70px rgba(12,10,8,.22);
  font:500 16px/1.45 'DM Sans',sans-serif;
}
.breakdance .jjr-quote-col .jjr-quote-title {
  margin:0 0 14px;
  color:#191711;
  font:800 22px/1.04 'Manrope',sans-serif;
  letter-spacing:-.045em;
  text-align:left;
}
.breakdance .jjr-quote-col .bde-form-builder {
  width:100%;
  min-width:0;
  text-align:left;
}
.breakdance .jjr-quote-col .jjr-quote-form {
  display:flex !important;
  flex-flow:row wrap !important;
  gap:10px 12px !important;
}
.breakdance .jjr-quote-col .breakdance-form-field {
  display:block !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
}
.breakdance .jjr-quote-col .breakdance-form-field--text {
  flex:0 0 calc(50% - 6px) !important;
  width:calc(50% - 6px) !important;
}
.breakdance .jjr-quote-col :is(.breakdance-form-field--select,
  .breakdance-form-field--textarea,.breakdance-form-footer,.jjr-form-error) {
  flex:0 0 100% !important;
  width:100% !important;
  max-width:none !important;
}
.breakdance .jjr-quote-col .breakdance-form-field__label {
  display:block;
  margin:0 0 5px;
  color:#302e28;
  font:700 16px/1.3 'DM Sans',sans-serif;
}
.breakdance .jjr-quote-col .breakdance-form-field__required { color:#F26E0B; }
.breakdance .jjr-quote-col .breakdance-form-field__input {
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:43px;
  padding:10px 12px;
  border:1px solid #e7e2d9;
  border-radius:9px;
  background-color:#f8f6f2;
  color:#191711;
  font:500 16px/1.3 'DM Sans',sans-serif;
  box-shadow:none;
}
.breakdance .jjr-quote-col .breakdance-form-field__input::placeholder { color:#666158; }
.breakdance .jjr-quote-col .breakdance-form-field__input:focus {
  outline:2px solid rgba(242,110,11,.22);
  border-color:#F26E0B;
  background-color:#fff;
}
.breakdance .jjr-quote-col textarea.breakdance-form-field__input {
  height:78px;
  min-height:78px;
  resize:vertical;
}
.breakdance .jjr-quote-col .breakdance-form-button__submit {
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height:47px;
  padding:12px 20px;
  border:0;
  border-radius:999px;
  background:#F26E0B;
  color:#fffaf4;
  font:800 16px/1.2 'DM Sans',sans-serif;
}
.breakdance .jjr-quote-col .breakdance-form-button__submit:hover { filter:brightness(.95); }
.breakdance .jjr-quote-col .jjr-form-success { color:#191711; }
.breakdance .jjr-quote-col .jjr-form-error { color:#b91c1c; }
@media (max-width:1023px) {
  .breakdance .bde-columns:has(> .jjr-quote-col) { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:680px) {
  .breakdance .jjr-quote-col { padding:19px; border-radius:19px; }
  .breakdance .jjr-quote-col .jjr-quote-title { font-size:20px; }
}
@media (max-width:380px) {
  .breakdance .jjr-quote-col .breakdance-form-field--text {
    flex-basis:100% !important;
    width:100% !important;
  }
}
