/*
 * Closed-alpha presentation shell for same-origin Woo account and checkout
 * responses. Commerce markup and behavior remain entirely Woo/FunnelKit-owned.
 */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
}

:root {
  --pp-proxy-background: #fcfbfd;
  --pp-proxy-foreground: #161419;
  --pp-proxy-card: #ffffff;
  --pp-proxy-primary: #5c2b8e;
  --pp-proxy-primary-deep: #451f6b;
  --pp-proxy-primary-soft: #f3eef9;
  --pp-proxy-muted: #6d6479;
  --pp-proxy-border: #e7dfef;
  --pp-proxy-border-strong: #d8cee7;
  --pp-proxy-danger: #9d221c;
  --pp-proxy-danger-soft: #fbecea;
  --pp-proxy-success: #21634a;
  --pp-proxy-success-soft: #eaf6f0;
  --pp-proxy-radius-sm: 0.625rem;
  --pp-proxy-radius: 1rem;
  --pp-proxy-radius-lg: 1rem;
  --pp-proxy-pill: 999px;
  --pp-proxy-shadow: 0 8px 8px -8px rgba(52, 29, 82, 0.28);
  --pp-proxy-font:
    "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body.woocommerce-account,
body.woocommerce-checkout,
body.wfacp_main_wrapper {
  color: var(--pp-proxy-foreground);
  background:
    radial-gradient(circle at 0 0, rgba(92, 43, 142, 0.055), transparent 30rem),
    radial-gradient(
      circle at 100% 18%,
      rgba(118, 166, 213, 0.08),
      transparent 28rem
    ),
    var(--pp-proxy-background);
  font-family: var(--pp-proxy-font);
  -webkit-font-smoothing: antialiased;
}

body.woocommerce-account :where(h1, h2, h3, h4),
body.woocommerce-checkout :where(h1, h2, h3, h4),
.wfacp_main_wrapper :where(h1, h2, h3, h4, .wfacp_section_heading) {
  color: var(--pp-proxy-foreground);
  font-family: var(--pp-proxy-font);
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/*
 * FunnelKit stores typography per widget and can reintroduce its legacy serif
 * face after the proxy shell has styled the page. Keep the checkout task in the
 * storefront's single sans family without touching icon-font or SVG nodes.
 */
body.woocommerce-checkout
  :where(
    form,
    fieldset,
    legend,
    label,
    input,
    select,
    textarea,
    button,
    option,
    p,
    a,
    li,
    table,
    caption,
    th,
    td,
    small,
    strong,
    em
  ),
.wfacp_main_wrapper
  :where(
    form,
    fieldset,
    legend,
    label,
    input,
    select,
    textarea,
    button,
    option,
    p,
    a,
    li,
    table,
    caption,
    th,
    td,
    small,
    strong,
    em
  ) {
  font-family: var(--pp-proxy-font) !important;
}

body.woocommerce-account :where(a),
body.woocommerce-checkout :where(a),
.wfacp_main_wrapper :where(a) {
  color: var(--pp-proxy-primary);
  text-underline-offset: 0.18em;
}

body.woocommerce-account
  :where(a, button, input, select, textarea):focus-visible,
body.woocommerce-checkout
  :where(a, button, input, select, textarea):focus-visible,
.wfacp_main_wrapper :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--pp-proxy-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(92, 43, 142, 0.2);
}

body.woocommerce-account
  :where(
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea
  ),
body.woocommerce-checkout
  :where(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea
  ),
.wfacp_main_wrapper
  :where(
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea
  ) {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--pp-proxy-border-strong) !important;
  border-radius: var(--pp-proxy-radius-sm) !important;
  background: var(--pp-proxy-card) !important;
  color: var(--pp-proxy-foreground) !important;
  font: 1rem/1.35 var(--pp-proxy-font) !important;
  padding: 0.8rem 0.875rem !important;
  box-shadow: none !important;
}

body.woocommerce-account :where(input, select, textarea):focus,
body.woocommerce-checkout :where(input, select, textarea):focus,
.wfacp_main_wrapper :where(input, select, textarea):focus {
  border-color: var(--pp-proxy-primary) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(92, 43, 142, 0.2) !important;
}

body.woocommerce-account :where(button, .button, input[type="submit"]),
body.woocommerce-checkout
  :where(button, .button, input[type="submit"], #place_order),
.wfacp_main_wrapper
  :where(
    button,
    .button,
    #place_order,
    .wfacp_next_page_button,
    .wfacp-order-place-btn-wrap button
  ) {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: var(--pp-proxy-pill) !important;
  background: var(--pp-proxy-primary) !important;
  color: #fff !important;
  font-family: var(--pp-proxy-font) !important;
  font-size: 0.875rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
  padding: 0.8rem 1.5rem !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.woocommerce-account :where(button, .button, input[type="submit"]):hover,
body.woocommerce-checkout
  :where(button, .button, input[type="submit"], #place_order):hover,
.wfacp_main_wrapper
  :where(
    button,
    .button,
    #place_order,
    .wfacp_next_page_button,
    .wfacp-order-place-btn-wrap button
  ):hover {
  background: var(--pp-proxy-primary-deep) !important;
}

/*
 * Smarty suggestions are semantic buttons. The general checkout CTA rule
 * above must not turn every address result into a primary pill button.
 */
body.woocommerce-checkout .ppcaq-suggestions,
.wfacp_main_wrapper .ppcaq-suggestions {
  border: 1px solid var(--pp-proxy-border-strong) !important;
  border-radius: var(--pp-proxy-radius-sm) !important;
  background: var(--pp-proxy-card) !important;
  padding: 0.25rem;
  box-shadow: var(--pp-proxy-shadow) !important;
}

body.woocommerce-checkout .ppcaq-suggestion,
.wfacp_main_wrapper .ppcaq-suggestion {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px !important;
  border: 0 !important;
  border-radius: calc(var(--pp-proxy-radius-sm) - 0.125rem) !important;
  background: transparent !important;
  color: var(--pp-proxy-foreground) !important;
  font: 500 0.9375rem/1.4 var(--pp-proxy-font) !important;
  letter-spacing: 0 !important;
  padding: 0.7rem 0.75rem !important;
  text-align: left !important;
  white-space: normal;
  box-shadow: none !important;
}

body.woocommerce-checkout .ppcaq-suggestion + .ppcaq-suggestion,
.wfacp_main_wrapper .ppcaq-suggestion + .ppcaq-suggestion {
  border-top: 1px solid var(--pp-proxy-border) !important;
}

body.woocommerce-checkout .ppcaq-suggestion:hover,
body.woocommerce-checkout .ppcaq-suggestion:focus,
body.woocommerce-checkout .ppcaq-suggestion[aria-selected="true"],
.wfacp_main_wrapper .ppcaq-suggestion:hover,
.wfacp_main_wrapper .ppcaq-suggestion:focus,
.wfacp_main_wrapper .ppcaq-suggestion[aria-selected="true"] {
  background: var(--pp-proxy-primary-soft) !important;
  color: var(--pp-proxy-primary-deep) !important;
}

body.woocommerce-checkout .ppcaq-suggestion:focus-visible,
.wfacp_main_wrapper .ppcaq-suggestion:focus-visible {
  outline: 2px solid var(--pp-proxy-primary) !important;
  outline-offset: -2px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ppcaq-status,
.wfacp_main_wrapper .ppcaq-status {
  color: var(--pp-proxy-muted);
  font-family: var(--pp-proxy-font) !important;
}

body.woocommerce-checkout .ppcaq-use-address,
.wfacp_main_wrapper .ppcaq-use-address {
  border: 1px solid var(--pp-proxy-primary) !important;
  border-radius: var(--pp-proxy-pill) !important;
  background: transparent !important;
  color: var(--pp-proxy-primary) !important;
  font-family: var(--pp-proxy-font) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ppcaq-use-address:hover,
.wfacp_main_wrapper .ppcaq-use-address:hover {
  background: var(--pp-proxy-primary-soft) !important;
  color: var(--pp-proxy-primary-deep) !important;
}

body.woocommerce-account
  :where(.woocommerce-error, .woocommerce-info, .woocommerce-message),
body.woocommerce-checkout
  :where(.woocommerce-error, .woocommerce-info, .woocommerce-message),
.wfacp_main_wrapper
  :where(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  border: 1px solid var(--pp-proxy-border);
  border-radius: var(--pp-proxy-radius);
  background: var(--pp-proxy-primary-soft);
  color: var(--pp-proxy-foreground);
  line-height: 1.55;
  padding: 1rem 1.125rem;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
  border-color: color-mix(in srgb, var(--pp-proxy-danger) 35%, white);
  background: var(--pp-proxy-danger-soft);
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-checkout .woocommerce-message {
  border-color: color-mix(in srgb, var(--pp-proxy-success) 35%, white);
  background: var(--pp-proxy-success-soft);
}

/* Account login, registration, dashboard, orders, and addresses. */
body.woocommerce-account .woocommerce {
  box-sizing: border-box;
  width: min(100% - 2rem, 78rem);
  margin: clamp(2rem, 6vw, 5rem) auto;
}

body.woocommerce-account #customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}

body.woocommerce-account #customer_login > :where(.u-column1, .u-column2),
body.woocommerce-account form.woocommerce-form-login,
body.woocommerce-account form.woocommerce-form-register,
body.woocommerce-account form.woocommerce-ResetPassword {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid var(--pp-proxy-border) !important;
  border-radius: var(--pp-proxy-radius-lg) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  padding: clamp(1.25rem, 4vw, 2.25rem) !important;
  box-shadow: var(--pp-proxy-shadow) !important;
}

body.woocommerce-account
  #customer_login
  > :where(.u-column1, .u-column2)
  > form {
  height: auto !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-account .password-input {
  position: relative;
  display: block;
  width: 100%;
}

body.woocommerce-account .password-input input {
  padding-right: 3.25rem !important;
}

body.woocommerce-account button.show-password-input {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px !important;
  place-items: center;
  border: 0 !important;
  border-radius: var(--pp-proxy-radius-sm) !important;
  background: transparent !important;
  color: var(--pp-proxy-muted) !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-account button.show-password-input:hover {
  background: var(--pp-proxy-primary-soft) !important;
  color: var(--pp-proxy-primary) !important;
}

body.woocommerce-account :where(.woocommerce-form-row, .form-row) {
  margin: 0 0 1rem !important;
}

body.woocommerce-account :where(label) {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--pp-proxy-foreground);
  font-size: 0.875rem;
  font-weight: 650;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  width: min(17rem, 28%) !important;
}

body.woocommerce-account.logged-in .woocommerce {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2rem);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  width: auto !important;
  float: none !important;
}

body.woocommerce-account.logged-in .woocommerce::before,
body.woocommerce-account.logged-in .woocommerce::after {
  display: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  border: 1px solid var(--pp-proxy-border);
  border-radius: var(--pp-proxy-radius-lg);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.75rem;
  list-style: none;
  box-shadow: var(--pp-proxy-shadow);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: var(--pp-proxy-pill);
  padding: 0.65rem 1rem;
  color: var(--pp-proxy-muted);
  font-weight: 650;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--pp-proxy-primary-soft);
  color: var(--pp-proxy-primary);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  box-sizing: border-box;
  min-width: 0;
  width: auto !important;
  float: none !important;
  border: 1px solid var(--pp-proxy-border);
  border-radius: var(--pp-proxy-radius-lg);
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  box-shadow: var(--pp-proxy-shadow);
}

body.woocommerce-account table.shop_table {
  width: 100%;
  border: 1px solid var(--pp-proxy-border) !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--pp-proxy-radius) !important;
  overflow: hidden;
}

body.woocommerce-account table.shop_table :where(th, td) {
  border-color: var(--pp-proxy-border) !important;
  padding: 0.9rem 1rem !important;
}

/* Native Woo and FunnelKit checkout. */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main,
.wfacp_main_wrapper :where(.wfacp-wrapper-decoration, .wfacp_main_form) {
  box-sizing: border-box;
  width: min(100% - 2rem, 72.5rem) !important;
  margin-inline: auto !important;
}

/*
 * Woo Blocks applies its alignwide breakout with negative inline margins.
 * The proxied checkout already sits in our bounded shell, so neutralize that
 * breakout to keep both columns inside the Next storefront viewport.
 */
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout .wc-block-checkout {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

/* Preserve Woo Blocks' floating-label clearance after applying shell inputs. */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__select {
  height: 58px !important;
  min-height: 58px !important;
}

body.woocommerce-checkout .wc-block-components-text-input.is-active input {
  padding: 1.5rem 0.875rem 0.5rem !important;
}

body.woocommerce-checkout .wc-blocks-components-select__select {
  padding: 1.15rem 2.5rem 0.2rem 0.875rem !important;
}

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

body.woocommerce-checkout #customer_details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  grid-column: 2;
}

body.woocommerce-checkout #order_review {
  position: sticky;
  top: 1.5rem;
  border: 1px solid var(--pp-proxy-border);
  border-radius: var(--pp-proxy-radius-lg);
  background: #0d1020;
  color: #fff;
  padding: 1.25rem;
  box-shadow: var(--pp-proxy-shadow);
}

body.woocommerce-checkout #order_review_heading {
  margin: 0 0 -2.75rem;
  padding: 1.25rem 1.25rem 0;
  color: #fff;
  font-size: 1.1rem;
  z-index: 1;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin-top: 2rem;
  border-collapse: collapse;
}

body.woocommerce-checkout
  .woocommerce-checkout-review-order-table
  :where(th, td) {
  border-color: #28304a;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.85rem 0.25rem;
}

body.woocommerce-checkout #payment,
.wfacp_main_wrapper
  :where(.wfacp-section, .wfacp_order_summary, .wfacp_order_total_field) {
  border: 0;
  border-radius: var(--pp-proxy-radius);
  background: var(--pp-proxy-card);
  color: var(--pp-proxy-foreground);
  box-shadow: none;
}

body.woocommerce-checkout #payment .payment_box,
.wfacp_main_wrapper :where(.payment_box, .payment_method_bacs .payment_box) {
  border-radius: var(--pp-proxy-radius-sm) !important;
  background: var(--pp-proxy-primary-soft) !important;
  color: var(--pp-proxy-muted) !important;
}

body.woocommerce-checkout #place_order,
.wfacp_main_wrapper
  :where(
    #place_order,
    .wfacp_next_page_button,
    .wfacp-order-place-btn-wrap button
  ) {
  width: 100%;
  min-height: 54px !important;
}

@media (max-width: 860px) {
  body.woocommerce-account #customer_login,
  body.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 1rem;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 1;
  }

  body.woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 600px) {
  body.woocommerce-account .woocommerce,
  body.woocommerce-checkout .site-main,
  body.woocommerce-checkout main,
  .wfacp_main_wrapper :where(.wfacp-wrapper-decoration, .wfacp_main_form) {
    width: min(100% - 1rem, 44rem) !important;
  }

  body.woocommerce-account #customer_login > :where(.u-column1, .u-column2),
  body.woocommerce-account form.woocommerce-form-login,
  body.woocommerce-account form.woocommerce-form-register,
  body.woocommerce-account form.woocommerce-ResetPassword,
  body.woocommerce-account .woocommerce-MyAccount-content {
    border-radius: var(--pp-proxy-radius) !important;
    padding: 1rem !important;
  }

  body.woocommerce-checkout :where(.form-row-first, .form-row-last),
  .wfacp_main_wrapper :where(.wfacp-col-left-half, .wfacp-col-right-half) {
    width: 100% !important;
    float: none !important;
  }

  body.woocommerce-checkout,
  .wfacp_main_wrapper {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account *,
  body.woocommerce-checkout *,
  .wfacp_main_wrapper *,
  body.login * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Native wp-login.php has no storefront theme shell, so keep it self-contained. */
body.login {
  box-sizing: border-box;
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 0 0, rgba(92, 43, 142, 0.08), transparent 32rem),
    radial-gradient(
      circle at 100% 18%,
      rgba(118, 166, 213, 0.1),
      transparent 28rem
    ),
    var(--pp-proxy-background);
  padding: max(1rem, env(safe-area-inset-top)) 1rem
    max(1rem, env(safe-area-inset-bottom));
  color: var(--pp-proxy-foreground);
  font-family: var(--pp-proxy-font);
  -webkit-font-smoothing: antialiased;
}

body.login *,
body.login *::before,
body.login *::after {
  box-sizing: border-box;
}

body.login #login {
  width: min(100%, 28rem);
  padding: 0;
}

body.login #login h1 {
  margin: 0 0 1.5rem;
}

body.login #login h1 a {
  width: min(100%, 17.5rem);
  height: 4.25rem;
  margin: 0 auto;
  background-image: url("/brand/peptide-partners-logo.svg");
  background-position: center;
  background-size: contain;
}

body.login
  :where(#loginform, #lostpasswordform, #resetpassform, #registerform) {
  margin: 0;
  border: 1px solid var(--pp-proxy-border);
  border-radius: var(--pp-proxy-radius);
  background: rgba(255, 255, 255, 0.97);
  padding: clamp(1.25rem, 5vw, 2rem);
  box-shadow: var(--pp-proxy-shadow);
}

body.login :where(.message, #login_error, .success) {
  margin: 0 0 1rem;
  border: 1px solid var(--pp-proxy-border);
  border-left: 4px solid var(--pp-proxy-primary);
  border-radius: var(--pp-proxy-radius-sm);
  background: var(--pp-proxy-primary-soft);
  padding: 0.9rem 1rem;
  color: var(--pp-proxy-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  box-shadow: none;
}

body.login #login_error {
  border-left-color: var(--pp-proxy-danger);
  background: var(--pp-proxy-danger-soft);
}

body.login .success {
  border-left-color: var(--pp-proxy-success);
  background: var(--pp-proxy-success-soft);
}

body.login :where(label, .forgetmenot label) {
  color: var(--pp-proxy-foreground);
  font-family: var(--pp-proxy-font);
  font-size: 0.875rem;
  font-weight: 650;
}

body.login
  form
  :where(
    .input,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"]
  ) {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0.4rem 0 1rem;
  border: 1px solid var(--pp-proxy-border-strong);
  border-radius: var(--pp-proxy-radius-sm);
  background: var(--pp-proxy-card);
  color: var(--pp-proxy-foreground);
  font: 1rem/1.35 var(--pp-proxy-font);
  padding: 0.8rem 0.875rem;
  box-shadow: none;
}

body.login form :where(.input, input):focus {
  border-color: var(--pp-proxy-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(92, 43, 142, 0.2);
}

body.login .wp-pwd {
  position: relative;
  display: block;
}

body.login .wp-pwd input {
  padding-right: 3.25rem;
}

body.login .button.wp-hide-pw {
  position: absolute;
  top: calc(50% - 22px);
  right: 2px;
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  border-radius: var(--pp-proxy-radius-sm);
  background: transparent;
  color: var(--pp-proxy-muted);
  padding: 0;
  box-shadow: none;
}

body.login .forgetmenot {
  display: flex;
  min-height: 44px;
  align-items: center;
}

body.login .forgetmenot input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 0.5rem 0 0;
  accent-color: var(--pp-proxy-primary);
}

body.login .submit {
  display: flex;
  justify-content: flex-end;
  margin: 1rem 0 0;
}

body.login .button-primary {
  min-height: 48px;
  border: 0;
  border-radius: var(--pp-proxy-pill);
  background: var(--pp-proxy-primary);
  color: #fff;
  font: 750 0.875rem/1.15 var(--pp-proxy-font);
  padding: 0.8rem 1.5rem;
  text-shadow: none;
  box-shadow: none;
}

body.login .button-primary:hover,
body.login .button-primary:focus {
  background: var(--pp-proxy-primary-deep);
  color: #fff;
}

body.login :where(#nav, #backtoblog, .privacy-policy-page-link) {
  margin: 0;
  padding: 1rem 0 0;
  color: var(--pp-proxy-muted);
  font-size: 0.875rem;
  text-align: center;
}

body.login :where(#nav, #backtoblog, .privacy-policy-page-link) a {
  color: var(--pp-proxy-primary);
  font-weight: 650;
  text-decoration: none;
}

body.login :where(#jetpack_protect_answer, .cf-turnstile) {
  max-width: 100%;
}

body.login .cf-turnstile {
  margin-block: 0.75rem 1rem;
  overflow: auto hidden;
}

@media (max-width: 480px) {
  body.login {
    display: block;
  }

  body.login #login {
    margin: 0 auto;
  }

  body.login #login h1 a {
    width: 14.5rem;
  }

  body.login .submit,
  body.login .button-primary {
    width: 100%;
  }
}
