/* Shopify-Style Checkout Design System */
* {
    box-sizing: border-box;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
    color: #1f2937;
    margin: 0;
    padding: 0;
  }

  /* Modern Form Container */
  form {
    width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  /* Shopify-style Input Fields */
  .checkout-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.15s ease-in-out;
    outline: none;
  }

  .checkout-input:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.1);
  }

  .checkout-input::placeholder {
    color: #9ca3af;
  }

  /* Section Headings */
  .section-heading {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    margin-top: 32px;
  }

  .section-heading:first-child {
    margin-top: 0;
  }

  /* Order Summary Styles */
  .order-summary-card {
    background: #fafafa;
    border-left: 1px solid #e5e7eb;
    padding: 24px;
  }

  .order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .order-summary-item:last-child {
    border-bottom: none;
  }

  .order-total {
    font-size: 18px;
    font-weight: 600;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 2px solid #d1d5db;
  }

  .hidden {
    display: none;
  }

  #payment-message {
    color: #6b7280;
    font-size: 14px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
  }

  #payment-element {
    margin-bottom: 24px;
  }

  /* Buttons and links */
  button {
    background: #5469d4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    border-radius: 8px;
    border: 0;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
  }

  button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  button:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
  }

  /* Two Column Layout */
  .checkout-container {
    display: grid;
    grid-template-columns: 1fr 480px;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
  }

  .checkout-main {
    padding: 40px 60px;
    background: #ffffff;
  }

  .checkout-sidebar {
    background: #fafafa;
    border-left: 1px solid #e5e7eb;
    padding: 40px 32px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .checkout-container {
      grid-template-columns: 1fr;
    }

    .checkout-sidebar {
      position: relative;
      height: auto;
      border-left: none;
      border-top: 1px solid #e5e7eb;
    }

    .checkout-main {
      padding: 32px 24px;
    }
  }

  @media (max-width: 640px) {
    .checkout-main {
      padding: 24px 16px;
    }

    .checkout-sidebar {
      padding: 24px 16px;
    }
  }

  /* spinner/processing state, errors */
  .spinner,
  .spinner:before,
  .spinner:after {
    border-radius: 50%;
  }

  .spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }

  .spinner:before,
  .spinner:after {
    position: absolute;
    content: "";
  }

  .spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
  }

  .spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #5469d4;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
  }

  @-webkit-keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }

    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  @keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }

    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
/* 
  @media only screen and (max-width: 600px) {
    form {
      width: 80vw;
      min-width: initial;
    }
  } */



  