/** Shopify CDN: Minification failed

Line 16:0 Unexpected "{"
Line 16:1 Unexpected "{"
Line 16:3 Expected identifier but found "'customer.css'"
Line 18:0 Unexpected "<"
Line 217:0 Unexpected "<"
Line 221:3 Expected identifier but found "%"
Line 222:4 Unexpected "{"
Line 222:5 Expected identifier but found "%"
Line 223:6 Unexpected "<"
Line 224:9 Unexpected "{"
... and 30 more hidden warnings

**/
{{ 'customer.css' | asset_url | stylesheet_tag }}

<style>
  @font-face {
    font-family: 'Poppins';
    src: url('{{ "Poppins-Bold.woff2" | asset_url }}') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  .custom-register-wrapper {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #fff1f2, #fad0d9);
    padding: 60px 20px;
    max-width: 480px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
/* === Custom Cart Drawer Styles === */

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.cart-drawer-overlay.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 24px;
  border-left: 2px solid black;
}
.cart-drawer {
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  color: #000000 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.cart-drawer-header button {
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  color: black;
}

.cart-drawer-content {
  font-size: 1.4rem;
  color: black;
}

  .custom-register-wrapper h1 {
    color: #ff4f91;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    text-decoration: underline;
  }

  .custom-register-wrapper .field {
    margin-bottom: 16px;
  }

  .custom-register-wrapper input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #000;
    border-radius: 9999px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
  }

  .custom-signup-button {
    background-color: #ffffff;
    color: #ff4f91;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid black;
    padding: 12px 32px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 24px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .custom-signup-button:hover {
    background-color: #ffe9ef;
  }

  .custom-register-wrapper label {
    display: none;
  }
/* Overlay for dark background */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2); /* black overlay */
  backdrop-filter: blur(6px); /* optional blur */
  -webkit-backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* When active, make it visible */
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer-header {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.cart-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1px;
}

#closeCartDrawer {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.cart-drawer-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
}

.cart-checkout-btn,
.cart-shop-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: #F96E8B !important;
  color: black;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 9999px;
  box-shadow: 2px 2px 0px #000;
  font-size: 20px;
  margin-top: 16px;
  text-decoration: none; /* ✅ removes underline */
  transition: all 0.3s ease;
}

.cart-checkout-btn:hover,
.cart-shop-btn:hover {
  background-color: black !important;
  color: #FF456C !important;
  text-decoration: none; /* ✅ ensure no underline on hover */
}
</style>

<div class="custom-register-wrapper">
  <h1>Create Account</h1>
  {%- form 'create_customer', novalidate: 'novalidate' -%}
    {%- if form.errors -%}
      <h2 class="form__message" tabindex="-1" autofocus>
        {{ 'templates.contact.form.error_heading' | t }}
      </h2>
      <ul>
        {%- for field in form.errors -%}
          <li>
            {%- if field == 'form' -%}
              {{ form.errors.messages[field] }}
            {%- else -%}
              <a href="#RegisterForm-{{ field }}">
                {{ form.errors.translated_fields[field] | capitalize }}
                {{ form.errors.messages[field] }}
              </a>
            {%- endif -%}
          </li>
        {%- endfor -%}
      </ul>
    {%- endif -%}

    <div class="field">
      <input
        type="text"
        name="customer[first_name]"
        id="RegisterForm-FirstName"
        value="{{ form.first_name }}"
        autocomplete="given-name"
        placeholder="First name"
      >
    </div>
    <div class="field">
      <input
        type="text"
        name="customer[last_name]"
        id="RegisterForm-LastName"
        value="{{ form.last_name }}"
        autocomplete="family-name"
        placeholder="Last name"
      >
    </div>
    <div class="field">
      <input
        type="email"
        name="customer[email]"
        id="RegisterForm-email"
        value="{{ form.email }}"
        spellcheck="false"
        autocapitalize="off"
        autocomplete="email"
        aria-required="true"
        placeholder="Email"
      >
    </div>
    <div class="field">
      <input
        type="password"
        name="customer[password]"
        id="RegisterForm-password"
        aria-required="true"
        placeholder="Password"
      >
    </div>
    <button class="custom-signup-button" type="submit">
      Sign Up
    </button>
  {%- endform -%}
</div>

{% schema %}
{
  "name": "Register Page",
  "settings": []
}
{% endschema %}
