/* cm-popup 1.0.2: restyle of the Klaviyo footer signup embed ThTqRu (home page). CSS only, copy unchanged.
   Everything is scoped to .klaviyo-form-ThTqRu; the only rule outside it is the band behind it (.cm-join that directly contains it).
   Klaviyo writes inline styles on rows, text and spans, so !important is used on purpose. Each rule stands alone,
   so a browser without :has() simply keeps Klaviyo's default layout for that rule. Theme fonts (Cormorant Garamond, Jost) are already loaded by the theme. */
.cm-join:has(> .klaviyo-form-ThTqRu){background:#fff!important;padding:40px 20px 56px!important}
.klaviyo-form-ThTqRu{max-width:560px!important;margin:0 auto!important;width:100%!important;box-sizing:border-box!important}
.klaviyo-form-ThTqRu form.klaviyo-form{width:100%!important;max-width:560px!important;margin:0 auto!important;box-sizing:border-box!important;background:#F6F4F0!important;border:1px solid #E7E3DB!important;border-radius:0!important;padding:40px 40px 32px!important;color:#2A2018!important;font-family:'Jost',Arial,sans-serif!important}
/* column holding the rows: wrap so email + button can sit on one line */
.klaviyo-form-ThTqRu form.klaviyo-form>div{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:center!important;gap:12px!important;min-height:0!important;width:100%!important;margin:0!important;padding:0!important}
.klaviyo-form-ThTqRu [data-testid="form-row"]{flex:0 0 100%!important;max-width:100%!important;justify-content:center!important;margin:0!important;padding:0!important}
.klaviyo-form-ThTqRu [data-testid="form-component"]{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
/* heading */
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(h1){order:1!important;margin-bottom:0!important}
.klaviyo-form-ThTqRu h1,.klaviyo-form-ThTqRu h1 *{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:400!important;font-size:clamp(30px,3.2vw,38px)!important;line-height:1.1!important;letter-spacing:0!important;color:#2A2018!important;text-align:center!important;margin:0!important}
/* body copy (the paragraph row without a link) */
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(p):not(:has(a)){order:2!important;margin-bottom:6px!important}
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(p):not(:has(a)) p,.klaviyo-form-ThTqRu [data-testid="form-row"]:has(p):not(:has(a)) p *{font-family:'Jost',Arial,sans-serif!important;font-size:16.5px!important;line-height:1.6!important;letter-spacing:0!important;color:#2A2018!important;text-align:center!important;text-wrap:balance}
/* email field */
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(input[type=email]){order:3!important;flex:1 1 260px!important;min-width:0!important}
.klaviyo-form-ThTqRu .klaviyo-emailinput{width:100%!important}
.klaviyo-form-ThTqRu input[type=email]{display:block!important;width:100%!important;height:52px!important;box-sizing:border-box!important;margin:0!important;padding:0 16px!important;background:#fff!important;border:1px solid #CFC8BC!important;border-radius:0!important;box-shadow:none!important;font-family:'Jost',Arial,sans-serif!important;font-size:16px!important;line-height:1.2!important;color:#2A2018!important;text-align:left!important}
.klaviyo-form-ThTqRu input[type=email]::placeholder{color:#756A5E!important;opacity:1!important;font-family:'Jost',Arial,sans-serif!important;font-size:16px!important}
.klaviyo-form-ThTqRu input[type=email]:focus,.klaviyo-form-ThTqRu input[type=email]:focus-visible{outline:none!important;border-color:#8A6420!important;box-shadow:0 0 0 1px #8A6420!important}
/* button */
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(button){order:4!important;flex:0 0 auto!important;width:auto!important}
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(button) [data-testid="form-component"]{width:auto!important}
.klaviyo-form-ThTqRu button.klaviyo-form-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:150px!important;height:52px!important;box-sizing:border-box!important;margin:0!important;padding:0 28px!important;background:#8A6420!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:'Jost',Arial,sans-serif!important;font-size:13.5px!important;font-weight:500!important;letter-spacing:.14em!important;line-height:1!important;text-transform:uppercase!important;text-align:center!important;cursor:pointer!important;transition:background-color .15s ease!important}
.klaviyo-form-ThTqRu button.klaviyo-form-button:hover{background:#6F4F18!important}
.klaviyo-form-ThTqRu button.klaviyo-form-button:focus-visible{outline:2px solid #2A2018!important;outline-offset:2px!important}
/* legal line + muted link, shown under the field and button */
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a){order:5!important;margin-top:2px!important}
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a) p,.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a) p *{font-family:'Jost',Arial,sans-serif!important;font-size:13.5px!important;line-height:1.5!important;letter-spacing:0!important;color:#6B5A45!important;text-align:center!important}
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a) a,.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a) a *{color:#6B5A45!important;text-decoration:underline!important;text-underline-offset:2px!important}
.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a) a:hover,.klaviyo-form-ThTqRu [data-testid="form-row"]:has(a) a:hover *{color:#2A2018!important}
/* mobile: stack field and button, full width */
@media (max-width:560px){
  .cm-join:has(> .klaviyo-form-ThTqRu){padding:28px 16px 40px!important}
  .klaviyo-form-ThTqRu form.klaviyo-form{padding:30px 20px 24px!important}
  .klaviyo-form-ThTqRu [data-testid="form-row"]:has(input[type=email]),.klaviyo-form-ThTqRu [data-testid="form-row"]:has(button){flex:0 0 100%!important;width:100%!important}
  .klaviyo-form-ThTqRu [data-testid="form-row"]:has(button) [data-testid="form-component"]{width:100%!important}
  .klaviyo-form-ThTqRu button.klaviyo-form-button{width:100%!important}
  .klaviyo-form-ThTqRu h1,.klaviyo-form-ThTqRu h1 *{font-size:30px!important}
}
