/* WordPress chrome adjustments for the SR:Lab landing theme. */

.admin-bar .sr-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .sr-site-header {
    top: 46px;
  }
}

.wp-block-srlab-hero,
.wp-block-srlab-vstrom,
.wp-block-srlab-waitlist,
.wp-block-srlab-products,
.wp-block-srlab-value,
.wp-block-srlab-partners,
.wp-block-srlab-partners-page {
  max-width: none;
}

.entry-content > .wp-block-srlab-hero,
.entry-content > .wp-block-srlab-vstrom,
.entry-content > .wp-block-srlab-waitlist,
.entry-content > .wp-block-srlab-products,
.entry-content > .wp-block-srlab-value,
.entry-content > .wp-block-srlab-partners,
.entry-content > .wp-block-srlab-partners-page {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

body:not(.home) .entry-content a {
  color: var(--sr-yellow, #ffd200);
}

body:not(.home) .entry-content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.sr-form-placeholder {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(255, 210, 0, 0.35);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
  max-width: 28rem;
}

.sr-hubspot-embed {
  width: 100%;
  max-width: 28rem;
  --hsf-global__font-family: Inter, system-ui, sans-serif;
  --hsf-global__font-size: 15px;
  --hsf-global__color: #c9ccd1;
  --hsf-global-error__color: #ff8a80;
  --hsf-background__background-color: transparent;
  --hsf-background__padding: 0;
  --hsf-background__border-width: 0;
  --hsf-heading__font-family: Inter, system-ui, sans-serif;
  --hsf-heading__color: #ffffff;
  --hsf-richtext__font-family: Inter, system-ui, sans-serif;
  --hsf-richtext__font-size: 15px;
  --hsf-richtext__color: #c9ccd1;
  --hsf-field-label__font-family: Inter, system-ui, sans-serif;
  --hsf-field-label__font-size: 13px;
  --hsf-field-label__color: #c9ccd1;
  --hsf-field-label-requiredindicator__color: #ffd200;
  --hsf-field-description__color: #8a9099;
  --hsf-field-footer__color: #8a9099;
  --hsf-field-input__font-family: "Space Mono", ui-monospace, monospace;
  --hsf-field-input__color: #ffffff;
  --hsf-field-input__background-color: rgba(255, 255, 255, 0.03);
  --hsf-field-input__placeholder-color: #6e747b;
  --hsf-field-input__border-color: #2c3036;
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-radius: 3px;
  --hsf-field-input__padding: 13px 15px;
  --hsf-field-textarea__font-family: "Space Mono", ui-monospace, monospace;
  --hsf-field-textarea__color: #ffffff;
  --hsf-field-textarea__background-color: rgba(255, 255, 255, 0.03);
  --hsf-field-textarea__placeholder-color: #6e747b;
  --hsf-field-textarea__border-color: #2c3036;
  --hsf-field-textarea__border-width: 1px;
  --hsf-field-textarea__border-style: solid;
  --hsf-field-textarea__border-radius: 3px;
  --hsf-field-textarea__padding: 13px 15px;
  --hsf-field-checkbox__color: #c9ccd1;
  --hsf-field-checkbox__background-color: rgba(255, 255, 255, 0.03);
  --hsf-field-checkbox__border-color: #2c3036;
  --hsf-field-radio__color: #c9ccd1;
  --hsf-field-radio__background-color: rgba(255, 255, 255, 0.03);
  --hsf-field-radio__border-color: #2c3036;
  --hsf-button__font-family: Inter, system-ui, sans-serif;
  --hsf-button__font-size: 15px;
  --hsf-button__color: #121417;
  --hsf-button__background-color: #ffd200;
  --hsf-button__border-radius: 3px;
  --hsf-button__padding: 14px 28px;
  --hsf-button__box-shadow: none;
  --hsf-erroralert__color: #ff8a80;
  --hsf-infoalert__color: #c9ccd1;
  --hsf-row__vertical-spacing: 16px;
}

:root {
  --hsf-global__font-family: Inter, system-ui, sans-serif;
  --hsf-global__color: #c9ccd1;
  --hsf-background__background-color: transparent;
  --hsf-heading__color: #ffffff;
  --hsf-richtext__color: #c9ccd1;
  --hsf-field-label__color: #c9ccd1;
  --hsf-field-label-requiredindicator__color: #ffd200;
  --hsf-field-input__color: #ffffff;
  --hsf-field-input__background-color: rgba(255, 255, 255, 0.03);
  --hsf-field-input__border-color: #2c3036;
  --hsf-field-input__border-radius: 3px;
  --hsf-button__color: #121417;
  --hsf-button__background-color: #ffd200;
  --hsf-button__border-radius: 3px;
}

.sr-hubspot-embed iframe,
.sr-hubspot-embed form,
.sr-hubspot-embed .hs-form,
.sr-hubspot-embed .hs-form-html,
.sr-hubspot-embed [class*="hs-form"] {
  max-width: 100%;
  width: 100%;
}

.sr-partner-card .sr-hubspot-embed {
  max-width: none;
}

/* Classic HubSpot .hs-form (non-iframe) — force carbon-ink over HubSpot light defaults. */
.sr-hubspot-embed .hs-form,
.sr-hubspot-embed form.hs-form {
  font-family: Inter, system-ui, sans-serif !important;
  color: #c9ccd1 !important;
  background: transparent !important;
}

.sr-hubspot-embed .hs-richtext,
.sr-hubspot-embed .hs-richtext p,
.sr-hubspot-embed .hs-richtext span,
.sr-hubspot-embed .legal-consent-container,
.sr-hubspot-embed .legal-consent-container p,
.sr-hubspot-embed .legal-consent-container a,
.sr-hubspot-embed .hs-form-booleancheckbox-display,
.sr-hubspot-embed label,
.sr-hubspot-embed .hs-form-field > label {
  color: #c9ccd1 !important;
  font-family: Inter, system-ui, sans-serif !important;
}

.sr-hubspot-embed .hs-richtext h1,
.sr-hubspot-embed .hs-richtext h2,
.sr-hubspot-embed .hs-richtext h3,
.sr-hubspot-embed h1,
.sr-hubspot-embed h2,
.sr-hubspot-embed h3 {
  color: #ffffff !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  margin: 0 0 0.55em !important;
}

.sr-hubspot-embed .hs-richtext p {
  line-height: 1.55 !important;
  margin: 0 0 1.1em !important;
}

.sr-hubspot-embed .hs-form-required,
.sr-hubspot-embed .hs-form-required-label,
.sr-hubspot-embed label .hs-form-required {
  color: #ffd200 !important;
}

.sr-hubspot-embed .hs-form-field {
  margin-bottom: 14px !important;
}

.sr-hubspot-embed .hs-input,
.sr-hubspot-embed input[type="text"],
.sr-hubspot-embed input[type="email"],
.sr-hubspot-embed input[type="tel"],
.sr-hubspot-embed input[type="number"],
.sr-hubspot-embed select:not(.sr-field),
.sr-hubspot-embed textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  padding: 13px 15px !important;
  border-radius: 3px !important;
  border: 1px solid #2c3036 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important;
  font-family: "Space Mono", ui-monospace, monospace !important;
  font-size: 14px !important;
  box-shadow: none !important;
  outline: none !important;
}

.sr-hubspot-embed select:not(.sr-field) {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ffd200 50%),
    linear-gradient(135deg, #ffd200 50%, transparent 50%) !important;
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50% !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  padding-right: 36px !important;
}

.sr-hubspot-embed .hs-input:focus,
.sr-hubspot-embed input:focus,
.sr-hubspot-embed select:not(.sr-field):focus,
.sr-hubspot-embed textarea:focus {
  border-color: #ffd200 !important;
  background: rgba(255, 210, 0, 0.06) !important;
  box-shadow: 0 0 0 2px #0e1013, 0 0 0 4px #ffd200 !important;
}

.sr-hubspot-embed .hs-input::placeholder,
.sr-hubspot-embed input::placeholder,
.sr-hubspot-embed textarea::placeholder {
  color: #6e747b !important;
}

.sr-hubspot-embed .hs-error-msgs,
.sr-hubspot-embed .hs-error-msgs label,
.sr-hubspot-embed .hs-error-msg,
.sr-hubspot-embed .hs_error_rollup {
  color: #ff8a80 !important;
  font-size: 13px !important;
}

.sr-hubspot-embed .hs-submit {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 8px 0 0 !important;
  float: none !important;
}

.sr-hubspot-embed .hs-button,
.sr-hubspot-embed input[type="submit"],
.sr-hubspot-embed button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 3px !important;
  background: #ffd200 !important;
  background-image: none !important;
  color: #121417 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.sr-hubspot-embed .hs-button:hover,
.sr-hubspot-embed input[type="submit"]:hover,
.sr-hubspot-embed button[type="submit"]:hover {
  filter: brightness(1.08);
}

.sr-hubspot-embed .legal-consent-container a {
  color: #ffd200 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sr-hubspot-embed .grecaptcha-badge,
.sr-hubspot-embed iframe[title*="reCAPTCHA"] {
  margin-top: 8px;
}

.sr-products-list--multi {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.sr-part__price {
  font-family: "Space Mono", ui-monospace, monospace;
  color: #ffd200;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.sr-part__cart .button {
  background: #ffd200 !important;
  color: #121417 !important;
  border: none !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
}

.sr-products-shop {
  margin-top: 2rem;
}

.sr-btn--ghost {
  background: transparent !important;
  color: #ffd200 !important;
  border: 1px solid rgba(255, 210, 0, 0.45) !important;
}

.sr-btn--ghost:hover {
  border-color: #ffd200 !important;
  background: rgba(255, 210, 0, 0.08) !important;
}
