/** Shopify CDN: Minification failed

Line 140:1 Unexpected "<"
Line 144:7 Unexpected "{"
Line 144:9 Expected identifier but found "'icon-arrow.svg'"
Line 145:4 Unexpected "<"

**/
/* 🌟 Premium Newsletter Form - Shopify OS 2.0 Optimized */
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}

@media screen and (min-width: 750px) {
  .newsletter-form {
    align-items: flex-start;
    max-width: min(36rem, 100%);
    margin-inline: auto;
  }
}

/* 🔹 Field Wrapper & Input */
.newsletter-form__field-wrapper {
  width: 100%;
  position: relative;
  isolation: isolate; /* Skapar egen stacking-context */
}

.newsletter-form__field-wrapper .field__input {
  width: 100%;
  padding-inline-end: 5.2rem; /* Utrymme för absolut knapp */
  border-radius: var(--inputs-corner-radius, 0.4rem);
  transition: border-color var(--duration-short) ease, box-shadow var(--duration-short) ease;
}

.newsletter-form__field-wrapper .field {
  z-index: 1;
}

/* 🔹 Submit Button */
.newsletter-form__button {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: var(--inputs-border-width, 0);
  width: 4.4rem;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  z-index: 2;
  background: transparent;
  cursor: pointer;
  border: 0;
  border-start-end-radius: var(--inputs-corner-radius, 0.4rem);
  border-end-end-radius: var(--inputs-corner-radius, 0.4rem);
  transition:
    background-color var(--duration-short) ease,
    transform var(--duration-short) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-form__button:hover {
  background-color: rgba(var(--color-foreground), 0.06);
}

.newsletter-form__button:active {
  transform: scale(0.96);
}

/* Modern, tillgänglig fokus-ring */
.newsletter-form__button:focus-visible {
  outline: 2px solid rgb(var(--color-foreground));
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgb(var(--color-background));
}

.newsletter-form__button .icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: rgb(var(--color-foreground));
  transition: transform var(--duration-short) ease;
}

.newsletter-form__button:hover .icon {
  transform: translateX(0.2rem);
}

/* 🔹 Feedback Messages */
.newsletter-form__message {
  width: 100%;
  margin-block-start: 0.75rem;
  text-align: center;
  font-size: var(--font-body-scale, 0.95rem);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity var(--duration-default) ease, transform var(--duration-default) ease;
  pointer-events: none; /* Förhindrar interaktion när dold */
}

/* JS/Theme lägger till denna klass vid framgång/fel */
.newsletter-form__message.is-visible,
.newsletter-form__message[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.newsletter-form__message--success {
  color: rgb(var(--color-foreground));
}

@media screen and (min-width: 750px) {
  .newsletter-form__message {
    text-align: start;
  }
}

/* ♿ Tillgänglighet: Minskad rörelse */
@media (prefers-reduced-motion: reduce) {
  .newsletter-form__field-wrapper .field__input,
  .newsletter-form__button,
  .newsletter-form__button .icon,
  .newsletter-form__message {
    transition: none;
  }
  .newsletter-form__button:hover .icon,
  .newsletter-form__button:active {
    transform: none;
  }
  .newsletter-form__message {
    opacity: 1;
    transform: none;
  }
}<form class="newsletter-form" action="/contact#contact_form" method="post" accept-charset="UTF-8">
  <div class="newsletter-form__field-wrapper field">
    <input class="field__input" type="email" name="contact[email]" placeholder="Din e-post" required aria-label="E-postadress">
    <button type="submit" class="newsletter-form__button" aria-label="Prenumerera">
      {{ 'icon-arrow.svg' | inline_asset_content }}
    </button>
  </div>
  <p class="newsletter-form__message" aria-live="polite">Tack för din prenumeration!</p>
</form>