/**
 * Site-wide rewards bar, profile dashboard, bag drawer, and sign-in modals.
 * Desktop-optimized; visual language matches the iOS app (colors, Apple CTA, typography).
 */

.luxe-site-nav {
  position: sticky;
  top: 0;
  z-index: 9991;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.5rem 1.25rem;
  background: #1f1a2e;
  border-bottom: 1px solid rgba(212, 175, 119, 0.18);
  box-sizing: border-box;
}

.luxe-site-nav__history,
.luxe-site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.luxe-site-nav__btn,
.luxe-site-nav__link {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px !important;
  font-family: Raleway, system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  box-sizing: border-box;
  cursor: pointer;
  filter: none !important;
  box-shadow: none !important;
}

.luxe-site-nav__btn {
  border: 1px solid rgba(212, 175, 119, 0.35) !important;
  background: rgba(42, 37, 64, 0.85) !important;
  color: #f5e6c8 !important;
}

.luxe-site-nav__btn:hover:not(:disabled) {
  border-color: rgba(212, 175, 119, 0.6) !important;
  background: rgba(42, 37, 64, 1) !important;
}

.luxe-site-nav__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.luxe-site-nav__link {
  border: 1px solid transparent !important;
  background: transparent !important;
  color: rgba(245, 230, 200, 0.88) !important;
}

.luxe-site-nav__link:hover {
  color: #f5e6c8 !important;
  border-color: rgba(212, 175, 119, 0.35) !important;
}

.luxe-site-nav__link.is-active {
  color: #f5e6c8 !important;
  border-color: rgba(212, 175, 119, 0.5) !important;
  background: rgba(212, 175, 119, 0.12) !important;
}

.luxe-reward-bar {
  top: 0;
  z-index: 9990;
}

/* Isolate from global pink pill button rules in luxe-brand.css */
.luxe-global-shell .luxe-account-btn,
.luxe-global-shell .luxe-reward-bar__profile,
.luxe-global-shell .luxe-reward-bar__icon-btn,
.luxe-global-shell .luxe-reward-bar__points-btn,
.luxe-global-shell .luxe-reward-bar__signin-btn,
.luxe-global-shell .luxe-account-panel__close,
.luxe-global-shell .luxe-account-bag__remove,
.luxe-global-shell .luxe-account-signin__linkish {
  box-sizing: border-box;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  line-height: 1.35;
}

.luxe-reward-bar {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: #2a2540;
  border-bottom: 1px solid rgba(212, 175, 119, 0.25);
  box-sizing: border-box;
}

.luxe-reward-bar__left,
.luxe-reward-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.luxe-reward-bar__left {
  flex: 1;
}

.luxe-reward-bar__profile,
.luxe-reward-bar__icon-btn,
.luxe-reward-bar__points-btn,
.luxe-reward-bar__signin-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: transparent !important;
  color: #f8e7ff !important;
  margin: 0;
  font-family: Raleway, system-ui, sans-serif !important;
  cursor: pointer;
  filter: none !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.luxe-reward-bar__profile:hover,
.luxe-reward-bar__icon-btn:hover,
.luxe-reward-bar__points-btn:hover,
.luxe-reward-bar__signin-btn:hover {
  background: rgba(212, 175, 119, 0.12) !important;
  filter: none !important;
}

.luxe-reward-bar__profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  min-width: 0;
  padding: 0.4rem 0.5rem !important;
  border-radius: 10px !important;
}

.luxe-reward-bar__profile-text {
  min-width: 0;
}

.luxe-reward-bar__profile-text .luxe-label {
  display: block;
  margin: 0;
  font-size: 0.68rem;
}

.luxe-reward-bar__code {
  display: block;
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(48vw, 22rem);
}

.luxe-reward-bar__icon {
  display: block;
  flex-shrink: 0;
}

.luxe-reward-bar__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 !important;
  border-radius: 10px !important;
}

.luxe-reward-bar__points-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  width: auto !important;
  height: auto !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(212, 175, 119, 0.22) !important;
}

.luxe-reward-bar__points {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--luxe-accent, #d4af77);
  line-height: 1;
}

.luxe-reward-bar__badge {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--luxe-primary, #e8a8c8);
  color: #1f1a2e;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.luxe-reward-bar__signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  width: auto !important;
  height: auto !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(212, 175, 119, 0.4) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.luxe-reward-bar__signin-label {
  line-height: 1.2;
}

@media (min-width: 768px) {
  .luxe-reward-bar {
    padding: 0.75rem 2rem;
  }

  .luxe-reward-bar__profile-text .luxe-label {
    font-size: 0.72rem;
  }

  .luxe-reward-bar__code {
    font-size: 0.82rem;
    max-width: 28rem;
  }

  .luxe-reward-bar__signin-btn {
    min-height: 3rem;
    padding: 0.65rem 1.35rem !important;
    font-size: 0.82rem !important;
  }

  .luxe-reward-bar__points-btn {
    min-height: 3rem;
    padding: 0.55rem 1rem !important;
  }

  .luxe-reward-bar__icon-btn {
    width: 3rem;
    height: 3rem;
  }
}

/* Modals */
body.luxe-account-modal-open {
  overflow: hidden;
}

.luxe-account-panel[hidden],
.luxe-account-signin[hidden] {
  display: none !important;
}

.luxe-account-panel,
.luxe-account-signin {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .luxe-account-panel,
  .luxe-account-signin {
    align-items: center;
    padding: 1.5rem;
  }
}

.luxe-account-panel__backdrop,
.luxe-account-signin__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 24, 0.72);
}

.luxe-account-panel__sheet,
.luxe-account-signin__sheet {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(92vh, 780px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #2a2540;
  border: 1px solid rgba(212, 175, 119, 0.35);
  border-radius: 12px 12px 0 0;
  box-sizing: border-box;
}

.luxe-account-signin__sheet--auth {
  width: min(100%, 26rem);
}

@media (min-width: 640px) {
  .luxe-account-panel__sheet,
  .luxe-account-signin__sheet {
    border-radius: 16px;
  }

  .luxe-account-signin__sheet--auth {
    width: min(100%, 30rem);
  }
}

@media (min-width: 1024px) {
  .luxe-account-panel__sheet {
    width: min(100%, 36rem);
  }

  .luxe-account-signin__sheet--auth {
    width: min(100%, 34rem);
  }
}

.luxe-account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.35rem 0.65rem;
}

.luxe-account-panel__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #f8e7ff;
  line-height: 1.2;
}

.luxe-account-panel__close,
.luxe-account-signin__close {
  appearance: none;
  border: none !important;
  background: rgba(31, 26, 46, 0.85) !important;
  color: #f8e7ff !important;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0 !important;
  border-radius: 999px !important;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.luxe-account-signin__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.luxe-account-panel__body {
  padding: 0.65rem 1.35rem 1.5rem;
}

.luxe-account-panel__lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 231, 255, 0.72);
}

/* Sign-in modal — mirrors app welcome / SocialSignInPanel */
.luxe-account-signin__body {
  padding: 1.75rem 1.5rem 1.75rem;
}

.luxe-account-signin__hero {
  text-align: center;
  margin-bottom: 1.25rem;
}

.luxe-account-signin__sparkle {
  display: block;
  margin: 0 auto 0.75rem;
}

.luxe-account-signin__title {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f8e7ff;
}

.luxe-account-signin__subline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 231, 255, 0.72);
}

.luxe-account-signin__secure {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(31, 26, 46, 0.55);
  border: 1px solid rgba(212, 175, 119, 0.15);
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(248, 231, 255, 0.65);
}

.luxe-account-signin__secure svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.luxe-account-signin__google-host {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 3.35rem;
}

.luxe-account-signin__google-host:empty {
  display: none;
}

.luxe-account-signin__google-host:not(:empty) + .luxe-account-btn--google[data-luxe-signin-google-fallback] {
  display: none;
}

.luxe-account-btn--google {
  background: #f5e6c8 !important;
  color: #1f1a2e !important;
  border: 1px solid rgba(212, 175, 119, 0.35) !important;
}

.luxe-account-signin__actions .luxe-account-btn,
.luxe-account-signin__actions [data-luxe-signin-apple],
.luxe-account-signin__actions [data-luxe-signin-google-fallback],
.luxe-account-signin__actions [data-luxe-signin-shop] {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.luxe-account-signin__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* `hidden` must win over the .luxe-account-btn display rule so unconfigured
   providers (Apple/Google) are actually removed, not just attribute-hidden. */
.luxe-account-signin__actions [hidden],
.luxe-global-shell .luxe-account-btn[hidden],
.luxe-global-shell [data-luxe-google-signin-host][hidden] {
  display: none !important;
}

.luxe-account-signin__hint {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(248, 231, 255, 0.62);
}

.luxe-account-signin__note {
  margin: 1rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(212, 175, 119, 0.1);
  border: 1px solid rgba(212, 175, 119, 0.25);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(245, 230, 200, 0.85);
}

.luxe-account-signin__note[hidden] {
  display: none !important;
}

.luxe-account-signin__linkish {
  appearance: none;
  border: none;
  background: none;
  color: var(--luxe-accent, #d4af77);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-size: inherit;
}

@media (min-width: 768px) {
  .luxe-account-signin__body {
    padding: 2rem 2rem 2.25rem;
  }

  .luxe-account-signin__subline {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
}

/* Buttons — app Button + SocialSignInPanel sizing, desktop-friendly */
.luxe-global-shell .luxe-account-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.55rem;
  padding: 0.875rem 1.75rem !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--luxe-primary, #e8a8c8) !important;
  color: #1f1a2e !important;
  font-family: Raleway, system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.075em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-align: center;
  line-height: 1.3 !important;
  cursor: pointer;
  filter: none !important;
  box-shadow: none !important;
  white-space: normal;
  word-break: break-word;
}

.luxe-global-shell .luxe-account-btn:hover {
  filter: brightness(1.05) !important;
  box-shadow: 0 4px 18px rgba(232, 168, 200, 0.22) !important;
}

.luxe-global-shell .luxe-account-btn--apple {
  min-height: 3.35rem;
  padding: 0.95rem 1.25rem !important;
  border-radius: 14px !important;
  background: #f5f5f5 !important;
  color: #1f1a2e !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.luxe-global-shell .luxe-account-btn--apple:hover {
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
}

.luxe-global-shell .luxe-account-btn--google {
  min-height: 3.35rem;
  padding: 0.95rem 1.25rem !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #1f1a2e !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.luxe-global-shell .luxe-account-btn--google:hover {
  background: #f8f8f8 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.luxe-global-shell .luxe-account-btn--ghost {
  background: transparent !important;
  color: var(--luxe-accent, #d4af77) !important;
  border: 1px solid rgba(212, 175, 119, 0.45) !important;
}

.luxe-global-shell .luxe-account-btn--gold {
  background: transparent !important;
  color: var(--luxe-accent, #d4af77) !important;
  border: 1px solid rgba(212, 175, 119, 0.55) !important;
}

.luxe-account-auth {
  margin-top: 0.75rem;
}

.luxe-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.luxe-account-stat {
  text-align: center;
  padding: 0.85rem 0.4rem;
  background: rgba(31, 26, 46, 0.65);
  border: 1px solid rgba(212, 175, 119, 0.18);
  border-radius: 10px;
}

.luxe-account-stat__num {
  margin: 0.25rem 0 0.1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--luxe-accent, #d4af77);
}

.luxe-account-stat__label {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 231, 255, 0.55);
}

.luxe-account-progress {
  margin-bottom: 1rem;
  padding: 0.95rem;
  background: rgba(31, 26, 46, 0.65);
  border: 1px solid rgba(212, 175, 119, 0.22);
  border-radius: 12px;
}

.luxe-account-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.luxe-account-progress__tier {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--luxe-accent, #d4af77);
}

.luxe-account-progress__track {
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(232, 168, 200, 0.15);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.luxe-account-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--luxe-accent, #d4af77);
}

.luxe-account-progress__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(248, 231, 255, 0.65);
}

.luxe-account-offer {
  margin-bottom: 1rem;
  padding: 0.95rem;
  background: rgba(31, 26, 46, 0.65);
  border: 1px solid rgba(212, 175, 119, 0.22);
  border-radius: 12px;
}

.luxe-account-offer__pct {
  margin: 0.35rem 0;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--luxe-accent, #d4af77);
  line-height: 1.25;
}

.luxe-account-offer__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.65rem 0;
  padding: 0.65rem 0.85rem;
  border: 1px dashed rgba(212, 175, 119, 0.45);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  color: #f5e6c8;
  word-break: break-all;
}

.luxe-account-keepsakes {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(248, 231, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.65;
}

.luxe-account-keepsakes a {
  color: #f8e7ff;
}

.luxe-account-empty {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(248, 231, 255, 0.65);
}

.luxe-account-bag__line {
  display: grid;
  grid-template-columns: 3.75rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(212, 175, 119, 0.12);
}

.luxe-account-bag__thumb {
  width: 3.75rem;
  height: 4.5rem;
  overflow: hidden;
  background: #1f1a2e;
}

.luxe-account-bag__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.luxe-account-bag__ph {
  width: 100%;
  height: 100%;
  background: rgba(232, 168, 200, 0.12);
}

.luxe-account-bag__name {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.luxe-account-bag__price {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: rgba(248, 231, 255, 0.6);
}

.luxe-account-bag__remove {
  appearance: none;
  border: none !important;
  background: transparent !important;
  color: rgba(248, 231, 255, 0.55) !important;
  font-size: 1.35rem !important;
  padding: 0.25rem !important;
  cursor: pointer;
}

.luxe-account-bag__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.95rem 0 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 119, 0.2);
  font-size: 0.95rem;
}

/* Pixie dust trail flying into the bag on "Add to bag" */
.luxe-pixie {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10060;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #ffffff 0%,
    var(--pixie-color, #d4af77) 38%,
    rgba(212, 175, 119, 0.7) 62%,
    rgba(212, 175, 119, 0) 80%
  );
  box-shadow: 0 0 14px 5px var(--pixie-color, #d4af77),
    0 0 4px 1px #ffffff;
  will-change: transform, opacity;
}

.luxe-pixie-burst {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10059;
  margin: 0;
  padding: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(245, 230, 200, 0.55) 35%,
    rgba(212, 175, 119, 0.28) 58%,
    rgba(212, 175, 119, 0) 75%
  );
  will-change: transform, opacity;
}

.luxe-reward-bar__icon-btn.luxe-bag-pulse {
  animation: luxe-bag-pulse 0.6s ease;
}

.luxe-reward-bar__icon-btn.luxe-bag-pulse .luxe-reward-bar__icon {
  color: var(--luxe-accent, #d4af77);
}

@keyframes luxe-bag-pulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.28);
  }
  60% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .luxe-pixie,
  .luxe-pixie-burst {
    display: none !important;
  }
  .luxe-reward-bar__icon-btn.luxe-bag-pulse {
    animation: none;
  }
}

@media (max-width: 520px) {
  .luxe-reward-bar {
    padding: 0.55rem 0.75rem;
    gap: 0.5rem;
  }

  .luxe-reward-bar__actions {
    gap: 0.35rem;
  }

  .luxe-reward-bar__signin-label {
    display: none;
  }

  .luxe-reward-bar__signin-btn {
    width: 2.75rem !important;
    min-width: 2.75rem;
    padding: 0 !important;
  }

  .luxe-reward-bar__code {
    max-width: 42vw;
  }

  .luxe-reward-bar__points-btn {
    padding: 0.4rem 0.55rem !important;
  }
}

/* ── Bag discount code ── */
.luxe-bag-discount {
  margin: 0.85rem 0 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 119, 0.2);
}

.luxe-bag-discount__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 119, 0.85);
}

.luxe-bag-discount__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.luxe-bag-discount__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 119, 0.32);
  background: #2a2540;
  color: #f5e6c8;
  font: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.luxe-bag-discount__input::placeholder {
  color: rgba(248, 231, 255, 0.4);
  text-transform: none;
  letter-spacing: normal;
}

.luxe-bag-discount__input:focus {
  outline: none;
  border-color: rgba(212, 175, 119, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 175, 119, 0.18);
}

/* Override the global full-width .luxe-account-btn for the inline Apply button */
.luxe-global-shell .luxe-bag-discount__row .luxe-bag-discount__apply {
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto;
  padding: 0.7rem 1.1rem !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f5e6c8, #d4af77) !important;
  color: #1f1a2e !important;
  border: 1px solid rgba(212, 175, 119, 0.7) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.luxe-global-shell .luxe-bag-discount__mine {
  width: auto !important;
  min-height: 0 !important;
  margin: 0.6rem 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  color: var(--luxe-accent, #d4af77) !important;
  font-size: 0.82rem !important;
  text-decoration: underline;
  letter-spacing: normal !important;
  text-transform: none !important;
  cursor: pointer;
  display: inline !important;
}

.luxe-bag-discount__msg {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(248, 231, 255, 0.6);
  min-height: 1.1rem;
}

.luxe-bag-discount__msg.is-ok {
  color: #a7e0b5;
}

.luxe-bag-discount__msg.is-pending {
  color: rgba(212, 175, 119, 0.95);
}

/* The .luxe-account-bag__total class sets display:flex, which beats the bare
   [hidden] attribute — force these conditional rows to actually hide. */
.luxe-account-bag__discount-row[hidden],
.luxe-account-bag__grandtotal[hidden] {
  display: none !important;
}

.luxe-account-bag__discount-row {
  margin: 0.5rem 0;
  padding-top: 0;
  border-top: none;
  color: #a7e0b5;
}

.luxe-account-bag__discount-row strong {
  color: #a7e0b5;
}

.luxe-account-bag__grandtotal {
  margin-top: 0.25rem;
  font-size: 1.05rem;
}

.luxe-account-bag__grandtotal strong {
  color: #f5e6c8;
}
