/** Shopify CDN: Minification failed

Line 1206:0 Expected "}" to go with "{"

**/
/* =========================================================
   LUMA ORDER POPUP V2 — SWIPE CTA
   Mobile-first COD order popup
========================================================= */

:root {
  --luma-order-black: #171510;
  --luma-order-gold: #b58b39;
  --luma-order-gold-dark: #87631f;
  --luma-order-cream: #f8f3e9;
  --luma-order-border: #e7dfd1;
  --luma-order-muted: #756e63;
  --luma-order-white: #ffffff;
  --luma-order-danger: #b42318;
  --luma-order-success: #1f7a47;
}

body.luma-order-popup-open {
  overflow: hidden !important;
  touch-action: none;
}

.luma-order-popup[hidden] {
  display: none !important;
}

.luma-order-popup,
.luma-order-popup *,
.luma-order-popup *::before,
.luma-order-popup *::after {
  box-sizing: border-box;
}

.luma-order-popup {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  align-items: end;
  padding:
    max(10px, env(safe-area-inset-top))
    8px
    max(8px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
}

.luma-order-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.luma-order-popup__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(181, 139, 57, 0.16),
      transparent 36%
    ),
    rgba(13, 11, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
}

.luma-order-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(94svh, 860px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px 24px 18px 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.985),
      rgba(249, 246, 239, 0.985)
    );
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    0 8px 24px rgba(0, 0, 0, 0.17);
  opacity: 0;
  transform:
    translate3d(0, 34px, 0)
    scale(0.975);
  transition:
    opacity 280ms ease,
    transform 360ms cubic-bezier(.18, .78, .18, 1);
}

.luma-order-popup.is-open
.luma-order-popup__dialog {
  opacity: 1;
  transform:
    translate3d(0, 0, 0)
    scale(1);
}

.luma-order-popup__content {
  max-height: min(94svh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(181, 139, 57, 0.35)
    transparent;
}

.luma-order-popup__content::-webkit-scrollbar {
  width: 5px;
}

.luma-order-popup__content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(181, 139, 57, 0.32);
}

.luma-order-popup__close {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(23, 21, 16, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #171510;
  box-shadow: 0 6px 16px rgba(20, 17, 12, 0.1);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 170ms ease,
    background-color 170ms ease,
    color 170ms ease;
}

.luma-order-popup__close:hover,
.luma-order-popup__close:focus-visible {
  background: var(--luma-order-black);
  color: #ffffff;
  outline: none;
  transform: scale(1.04);
}

.luma-order-popup__header {
  padding: 24px 18px 14px;
  text-align: center;
}

.luma-order-popup__eyebrow {
  margin: 0 0 6px;
  color: var(--luma-order-gold-dark);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 1.6px;
}

.luma-order-popup__title {
  margin: 0;
  color: var(--luma-order-black);
  font-size: clamp(22px, 7vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.luma-order-popup__subtitle {
  margin: 7px auto 0;
  max-width: 360px;
  color: var(--luma-order-muted);
  font-size: 11px;
  line-height: 1.65;
}

/* =========================================================
   ORDER SUMMARY
========================================================= */

.luma-order-popup__summary {
  margin: 0 12px 12px;
  padding: 11px;
  border: 1px solid rgba(181, 139, 57, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      rgba(26, 23, 18, 0.97),
      rgba(44, 36, 25, 0.97)
    );
  color: #ffffff;
  box-shadow:
    0 12px 28px rgba(25, 20, 13, 0.17),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.luma-order-popup__summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.luma-order-popup__summary-head > div {
  display: grid;
  gap: 3px;
}

.luma-order-popup__summary-head small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.luma-order-popup__summary-head strong {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.luma-order-popup__price {
  text-align: left;
}

.luma-order-popup__price strong {
  color: #e7c56f;
  font-size: 13px;
}

.luma-order-popup__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.luma-order-popup__product {
  position: relative;
  display: grid;
  grid-template-rows: 58px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 180, 88, 0.52);
  border-radius: 11px;
  background: #ffffff;
}

.luma-order-popup__product-image {
  display: block;
  width: 100%;
  height: 58px;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(
      circle at 50% 45%,
      #ffffff,
      #f8f3e9 78%
    );
}

.luma-order-popup__product-name {
  display: block;
  min-height: 22px;
  padding: 4px 5px 5px;
  overflow: hidden;
  background: rgba(23, 21, 16, 0.94);
  color: #ffffff;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* =========================================================
   FORM
========================================================= */

.luma-order-popup__form {
  display: grid;
  gap: 11px;
  padding: 3px 14px 18px;
}

.luma-order-popup__field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.luma-order-popup__field label {
  color: var(--luma-order-black);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.luma-order-popup__field input {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid var(--luma-order-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--luma-order-black);
  box-shadow: 0 4px 12px rgba(22, 18, 12, 0.035);
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.luma-order-popup__field input::placeholder {
  color: #a9a196;
  opacity: 1;
}

.luma-order-popup__field input:focus {
  border-color: rgba(181, 139, 57, 0.75);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(181, 139, 57, 0.12),
    0 7px 18px rgba(22, 18, 12, 0.06);
}

.luma-order-popup__field.has-error input,
.luma-order-popup__field input[aria-invalid="true"] {
  border-color: rgba(180, 35, 24, 0.72);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.luma-order-popup__phone {
  display: block;
  position: relative;
}

/* Approved flow: phone without flag and without +212 prefix */
.luma-order-popup__phone > span {
  display: none !important;
}

.luma-order-popup__phone input {
  direction: ltr;
  text-align: right;
}

.luma-order-popup__help {
  color: var(--luma-order-muted);
  font-size: 8px;
  line-height: 1.4;
}

.luma-order-popup__error {
  min-height: 0;
  color: var(--luma-order-danger);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.luma-order-popup__error:empty {
  display: none;
}

.luma-order-popup__fields-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.luma-order-popup__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(31, 122, 71, 0.12);
  border-radius: 11px;
  background: rgba(31, 122, 71, 0.055);
  color: #335e46;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.luma-order-popup__security svg {
  flex: 0 0 17px;
}

/* =========================================================
   SWIPE CTA — LEFT TO RIGHT CONFIRMATION
========================================================= */

.luma-order-popup__swipe {
  --luma-swipe-gap: 5px;
  --luma-swipe-x: 0px;
  --luma-swipe-progress: 0;

  position: relative;
  width: 100%;
  margin-top: 1px;
  user-select: none;
  -webkit-user-select: none;
}

.luma-order-popup__swipe-track {
  position: relative;
  width: 100%;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(226, 190, 105, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      #18150f 0%,
      #262017 52%,
      #17130e 100%
    );
  box-shadow:
    0 12px 25px rgba(26, 20, 12, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  isolation: isolate;
}

.luma-order-popup__swipe-track::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      105deg,
      transparent 22%,
      rgba(255, 255, 255, 0.12) 45%,
      transparent 67%
    );
  opacity: calc(
    0.2 + var(--luma-swipe-progress) * 0.45
  );
  transform:
    translateX(
      calc(
        -72% + var(--luma-swipe-progress) * 145%
      )
    );
}

.luma-order-popup__swipe-fill {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(48px + (var(--luma-swipe-gap) * 2));
  min-width: calc(48px + (var(--luma-swipe-gap) * 2));
  border-radius: inherit;
  background:
    linear-gradient(
      105deg,
      #9c681d 0%,
      #d7ad55 48%,
      #efd88e 72%,
      #b87a24 100%
    );
  box-shadow:
    8px 0 24px rgba(206, 159, 65, 0.24);
  will-change: width;
}

.luma-order-popup__swipe-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding:
    8px
    13px
    8px
    72px;
  direction: ltr;
  pointer-events: none;
}

.luma-order-popup__swipe-label {
  min-width: 0;
  flex: 1 1 auto;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  direction: rtl;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.luma-order-popup__swipe-price {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(232, 199, 119, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #f0d994;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.luma-order-popup__swipe-handle {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: var(--luma-swipe-gap);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f3ead6
    );
  color: #19140d;
  box-shadow:
    0 7px 16px rgba(28, 20, 10, 0.3),
    inset 0 0 0 1px rgba(181, 139, 57, 0.15);
  transform:
    translate3d(
      var(--luma-swipe-x),
      -50%,
      0
    );
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.luma-order-popup__swipe-handle:hover {
  box-shadow:
    0 9px 20px rgba(28, 20, 10, 0.34),
    inset 0 0 0 1px rgba(181, 139, 57, 0.2);
}

.luma-order-popup__swipe-handle:focus-visible {
  outline: 3px solid rgba(232, 197, 111, 0.36);
  outline-offset: 3px;
}

.luma-order-popup__swipe-handle:disabled {
  cursor: wait;
}

.luma-order-popup__swipe-arrow,
.luma-order-popup__swipe-check {
  display: grid;
  place-items: center;
  line-height: 1;
}

.luma-order-popup__swipe-arrow {
  animation:
    luma-order-swipe-arrow
    1250ms
    ease-in-out
    infinite;
}

.luma-order-popup__swipe-check {
  display: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.luma-order-popup__spinner {
  display: none;
  width: 19px;
  height: 19px;
  border: 2px solid rgba(23, 17, 9, 0.2);
  border-top-color: #171109;
  border-radius: 50%;
  animation:
    luma-order-swipe-spinner
    700ms
    linear
    infinite;
}

@keyframes luma-order-swipe-arrow {
  0%,
  100% {
    transform: translateX(-1px);
  }

  50% {
    transform: translateX(3px);
  }
}

@keyframes luma-order-swipe-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth return when the swipe is released before completion. */
.luma-order-popup__swipe.is-resetting
.luma-order-popup__swipe-handle {
  transition:
    transform
    340ms
    cubic-bezier(.2, .8, .2, 1);
}

.luma-order-popup__swipe.is-resetting
.luma-order-popup__swipe-fill {
  transition:
    width
    340ms
    cubic-bezier(.2, .8, .2, 1);
}

.luma-order-popup__swipe.is-dragging
.luma-order-popup__swipe-handle {
  cursor: grabbing;
  box-shadow:
    0 12px 24px rgba(28, 20, 10, 0.36),
    0 0 0 4px rgba(230, 191, 96, 0.14);
}

.luma-order-popup__swipe[data-state="armed"]
.luma-order-popup__swipe-track {
  border-color: rgba(239, 216, 142, 0.9);
}

/* Loading state after the swipe reaches the end. */
.luma-order-popup__swipe.is-loading
.luma-order-popup__swipe-track {
  border-color: rgba(228, 197, 121, 0.82);
}

.luma-order-popup__swipe.is-loading
.luma-order-popup__swipe-fill {
  background:
    linear-gradient(
      105deg,
      #9b691f,
      #d8af58,
      #eed78e
    );
}

.luma-order-popup__swipe.is-loading
.luma-order-popup__swipe-arrow,
.luma-order-popup__swipe.is-loading
.luma-order-popup__swipe-check {
  display: none;
}

.luma-order-popup__swipe.is-loading
.luma-order-popup__spinner {
  display: block;
}

.luma-order-popup__swipe.is-loading
.luma-order-popup__swipe-label {
  opacity: 0.92;
}

/* Green state is shown briefly before the success panel replaces the form. */
.luma-order-popup__swipe.is-success
.luma-order-popup__swipe-track {
  border-color: rgba(56, 154, 96, 0.78);
  background:
    linear-gradient(
      145deg,
      #163e29,
      #205d39
    );
}

.luma-order-popup__swipe.is-success
.luma-order-popup__swipe-fill {
  background:
    linear-gradient(
      105deg,
      #187343,
      #31a262,
      #5ac883
    );
  box-shadow:
    8px 0 24px rgba(31, 122, 71, 0.28);
}

.luma-order-popup__swipe.is-success
.luma-order-popup__swipe-handle {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(
      145deg,
      #23935a,
      #197744
    );
  color: #ffffff;
}

.luma-order-popup__swipe.is-success
.luma-order-popup__swipe-arrow,
.luma-order-popup__swipe.is-success
.luma-order-popup__spinner {
  display: none;
}

.luma-order-popup__swipe.is-success
.luma-order-popup__swipe-check {
  display: grid;
}

.luma-order-popup__swipe.is-success
.luma-order-popup__swipe-price {
  color: #ffffff;
}

/* Temporary error feedback, followed by an automatic reset in JS. */
.luma-order-popup__swipe.is-error
.luma-order-popup__swipe-track {
  border-color: rgba(180, 35, 24, 0.68);
  animation:
    luma-order-swipe-error
    320ms
    ease;
}

.luma-order-popup__swipe.is-error
.luma-order-popup__swipe-fill {
  background:
    linear-gradient(
      105deg,
      #8f271e,
      #c04a3d
    );
}

.luma-order-popup__swipe.is-error
.luma-order-popup__swipe-label {
  color: #ffe9e6;
}

@keyframes luma-order-swipe-error {
  0%,
  100% {
    transform: translateX(0);
  }

  30% {
    transform: translateX(-3px);
  }

  70% {
    transform: translateX(3px);
  }
}

.luma-order-popup__form-status {
  min-height: 0;
  margin: -2px 0 0;
  color: var(--luma-order-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.luma-order-popup__form-status:empty {
  display: none;
}

.luma-order-popup__form-status.is-error {
  color: var(--luma-order-danger);
}

.luma-order-popup__form-status.is-success {
  color: var(--luma-order-success);
}

/* =========================================================
   SUCCESS STATE
========================================================= */

.luma-order-popup__success[hidden] {
  display: none !important;
}

.luma-order-popup__success {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding:
    34px
    20px
    max(28px, env(safe-area-inset-bottom));
  text-align: center;
}

.luma-order-popup__success-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(31, 122, 71, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      #f1fff7,
      #d9f4e5
    );
  color: var(--luma-order-success);
  box-shadow: 0 12px 28px rgba(31, 122, 71, 0.14);
  font-size: 28px;
  font-weight: 900;
  animation:
    luma-order-success-in
    520ms
    cubic-bezier(.2, .86, .25, 1.12)
    both;
}

@keyframes luma-order-success-in {
  0% {
    opacity: 0;
    transform:
      scale(0.72)
      rotate(-8deg);
  }

  60% {
    opacity: 1;
    transform:
      scale(1.08)
      rotate(2deg);
  }

  100% {
    transform:
      scale(1)
      rotate(0);
  }
}

.luma-order-popup__success-eyebrow {
  margin: 4px 0 0;
  color: var(--luma-order-success);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.luma-order-popup__success h3 {
  margin: 0;
  color: var(--luma-order-black);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.luma-order-popup__success > p:not(
  .luma-order-popup__success-eyebrow
) {
  margin: 0;
  max-width: 360px;
  color: var(--luma-order-muted);
  font-size: 11px;
  line-height: 1.7;
}

.luma-order-popup__order-id {
  display: grid;
  gap: 4px;
  min-width: 170px;
  margin-top: 5px;
  padding: 11px 15px;
  border: 1px solid var(--luma-order-border);
  border-radius: 12px;
  background: #ffffff;
}

.luma-order-popup__order-id small {
  color: var(--luma-order-muted);
  font-size: 8px;
}

.luma-order-popup__order-id strong {
  color: var(--luma-order-black);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.luma-order-popup__success-close {
  min-width: 170px;
  min-height: 45px;
  margin-top: 5px;
  padding: 10px 16px;
  border: 1px solid var(--luma-order-black);
  border-radius: 12px;
  background: var(--luma-order-black);
  color: #ffffff;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media screen and (min-width: 750px) {
  .luma-order-popup {
    align-items: center;
    padding: 24px;
  }

  .luma-order-popup__dialog {
    border-radius: 25px;
  }

  .luma-order-popup__header {
    padding: 28px 26px 17px;
  }

  .luma-order-popup__summary {
    margin: 0 22px 15px;
    padding: 14px;
  }

  .luma-order-popup__products {
    gap: 8px;
  }

  .luma-order-popup__product {
    grid-template-rows: 76px auto;
  }

  .luma-order-popup__product-image {
    height: 76px;
  }

  .luma-order-popup__product-name {
    min-height: 25px;
    font-size: 8px;
  }

  .luma-order-popup__form {
    gap: 13px;
    padding: 2px 24px 24px;
  }

  .luma-order-popup__fields-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .luma-order-popup__field input {
    min-height: 50px;
    font-size: 13px;
  }

  .luma-order-popup__swipe-track,
  .luma-order-popup__swipe-content {
    min-height: 60px;
  }

  .luma-order-popup__swipe-handle {
    width: 50px;
    height: 50px;
  }

  .luma-order-popup__swipe-label {
    font-size: 12px;
  }

  .luma-order-popup__swipe-price {
    font-size: 10px;
  }
}


@media screen and (max-width: 390px) {
  .luma-order-popup__swipe-track,
  .luma-order-popup__swipe-content {
    min-height: 56px;
  }

  .luma-order-popup__swipe-content {
    padding-left: 68px;
    padding-right: 10px;
  }

  .luma-order-popup__swipe-handle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .luma-order-popup__swipe-label {
    font-size: 10px;
  }

  .luma-order-popup__swipe-price {
    padding: 6px 7px;
    font-size: 8px;
  }
}

/* =========================================================
   MOBILE POSITION FIX — KEEP THE FULL FORM HIGHER
========================================================= */

@media screen and (max-width: 749px) {
  .luma-order-popup {
    align-items: start;

    padding:
      max(6px, env(safe-area-inset-top))
      8px
      max(10px, env(safe-area-inset-bottom));
  }

  .luma-order-popup__dialog {
    max-height:
      min(
        calc(
          100dvh
          - 16px
          - env(safe-area-inset-top)
          - env(safe-area-inset-bottom)
        ),
        860px
      );

    border-radius: 22px;
  }

  .luma-order-popup__content {
    max-height:
      min(
        calc(
          100dvh
          - 16px
          - env(safe-area-inset-top)
          - env(safe-area-inset-bottom)
        ),
        860px
      );
  }
}

/* =========================================================
   SUCCESS STATE FIX
   Replace the form, show confirmation, then JS auto-closes.
========================================================= */

/* The explicit hidden state must win over display:grid rules. */
.luma-order-popup__form[hidden],
.luma-order-popup__success[hidden] {
  display: none !important;
}

/* Success confirmation replaces the full form and summary. */
.luma-order-popup.is-success-state {
  align-items: center !important;
}

.luma-order-popup.is-success-state
.luma-order-popup__header,
.luma-order-popup.is-success-state
.luma-order-popup__summary,
.luma-order-popup.is-success-state
.luma-order-popup__form {
  display: none !important;
}

.luma-order-popup.is-success-state
.luma-order-popup__dialog {
  width: min(calc(100% - 16px), 440px);
  max-height: none !important;
  border-radius: 24px;
}

.luma-order-popup.is-success-state
.luma-order-popup__content {
  max-height: none !important;
  overflow: hidden !important;
}

.luma-order-popup.is-success-state
.luma-order-popup__success {
  min-height: 330px;
  align-content: center;
  padding:
    42px
    22px
    max(34px, env(safe-area-inset-bottom));
}

.luma-order-popup.is-success-state
.luma-order-popup__success-close {
  display: none;
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .luma-order-popup,
  .luma-order-popup__dialog,
  .luma-order-popup__close,
  .luma-order-popup__field input,
  .luma-order-popup__swipe-track,
  .luma-order-popup__swipe-fill,
  .luma-order-popup__swipe-handle,
  .luma-order-popup__swipe-arrow,
  .luma-order-popup__success-icon,
  .luma-order-popup__spinner {
    animation: none !important;
    transition: none !important;
  }
}

.luma-order-popup__submit-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1px;
  padding: 8px 13px;
  border: 1px solid rgba(226, 190, 105, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      #18150f 0%,
      #262017 52%,
      #17130e 100%
    );
  box-shadow:
    0 12px 25px rgba(26, 20, 12, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  color: #ffffff;
