@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;450;500;700&display=swap');

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}
/* Codashop Enhanced Frontend Styling - No Hover Effects */

/* ==========================================================================
   0. Global Reset - Remove All Hover Transformations & Unwanted Effects
   ========================================================================== */
*, *::before, *::after {
  transition: none !important;
}

/* ==========================================================================
   1. Left Sidebar Trust Card
   ========================================================================== */
.coda-trust-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
  margin-bottom: 20px;
  width: 90%;
  max-width: 300px;
}

.coda-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coda-trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 127, 152, 0.15);
  color: #FF7F98;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coda-trust-content {
  display: flex;
  flex-direction: column;
}

.coda-trust-title {
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.coda-trust-highlight {
  color: #FF7F98;
  font-weight: 800;
}

.coda-trust-subtitle {
  color: #A5A1B8;
  font-size: 11px;
  margin-top: 2px;
}

.coda-trust-star {
  color: #FDB33E;
}

.coda-trust-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

/* ==========================================================================
   2. Step 2 SKU Cards (Completely Static - Zero Hover Effects)
   ========================================================================== */
.highlighted-sku-card,
.sku-card,
.highlighted-sku-card:hover,
.sku-card:hover {
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  transform: none !important;
}

.highlighted-sku-card__inner-container,
.sku-card__inner-container {
  cursor: pointer !important;
  border-radius: 12px !important;
  border: 1px solid #E2E8F0 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Eliminate all hover color / shadow / elevation changes */
.highlighted-sku-card:hover .highlighted-sku-card__inner-container,
.sku-card:hover .sku-card__inner-container,
.highlighted-sku-card .highlighted-sku-card__inner-container:hover,
.sku-card .sku-card__inner-container:hover,
.sku-card:hover .sku-info-section,
.sku-card:hover .price-section {
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure unselected regular SKU cards stay pure white on hover without purple/grey tint */
.sku-card:not(.sku-selected):hover .sku-card__inner-container,
.sku-card:not([data-selected="true"]):hover .sku-card__inner-container {
  background-color: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

.sku-card:not(.sku-selected):hover .price-section,
.sku-card:not([data-selected="true"]):hover .price-section {
  background-color: #F6F5FC !important;
}

/* Best Seller / Highlighted Card Selected -> ORANGE Inner Border */
.highlighted-sku-card.sku-selected .highlighted-sku-card__inner-container,
.highlighted-sku-card[data-selected="true"] .highlighted-sku-card__inner-container,
.highlighted-sku-card--selected {
  border: 2px solid #EC7414 !important;
  box-shadow: 0 0 0 1px #EC7414 !important;
}

/* Regular SKU Card Selected -> BLUE/PURPLE Inner Border */
.sku-card.sku-selected .sku-card__inner-container,
.sku-card[data-selected="true"] .sku-card__inner-container,
.sku-card--selected {
  border: 2px solid #522BE3 !important;
  box-shadow: 0 0 0 1px #522BE3 !important;
}

/* ==========================================================================
   3. Step 3 Payment Channel Cards (Static - Zero Hover Effects)
   ========================================================================== */
.payment-section {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 8px !important;
}

.payment-method,
.payment-method:hover {
  cursor: pointer !important;
  border-radius: 8px !important;
  border: 1px solid #E2E8F0 !important;
  background-color: #FFFFFF !important;
  color: #1E1E24 !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 12px 10px 10px !important;
  margin: 0 !important;
  min-height: 86px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transform: none !important;
  box-shadow: none !important;
}

.payment-method.payment-selected,
.payment-method[data-selected="true"],
.payment-method.payment-selected:hover,
.payment-method[data-selected="true"]:hover {
  border: 2px solid #6242FC !important;
  background-color: #F3F0FF !important;
  box-shadow: none !important;
  transform: none !important;
}

.payment-method__logo-img {
  height: 24px !important;
  max-width: 70px !important;
  object-fit: contain !important;
  margin-bottom: 2px !important;
}

.payment-method__logo-tagline {
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
}

.payment-method__price {
  color: #E50046 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: left !important;
  margin-top: 6px !important;
  display: block !important;
  line-height: 1 !important;
}

/* ==========================================================================
   4. Step 4 Enter Details Clean Layout & Main Buy Widget (No Hover Transform)
   ========================================================================== */
.buy-section__checkout-email-form__description-wrapper img {
  display: none !important;
}

.coda-main-buy-card {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--coda-buy-width, calc(100% - 30px));
  max-width: 1280px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  z-index: 100;
  color: #1E1E24;
}

@media (min-width: 768px) {
  .coda-main-buy-card {
    left: var(--coda-buy-left, 16px);
    transform: none;
    width: var(--coda-buy-width, calc(100% - 32px));
    margin: 0;
  }
}

.coda-main-buy-card__detail {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.coda-main-buy-card.is-ready .coda-main-buy-card__detail {
  display: flex;
}

.coda-main-buy-compact {
  display: grid;
  grid-template-columns: 32px 1fr 28px;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: #6242FC;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(98, 66, 252, 0.28);
  text-align: left;
}

.coda-main-buy-card.is-ready .coda-main-buy-compact {
  display: none;
}

.coda-main-buy-compact__icon {
  width: 30px;
  height: 30px;
}

.coda-main-buy-compact__label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.coda-main-buy-progress {
  --coda-buy-progress: 0deg;
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: conic-gradient(#FFFFFF 0deg var(--coda-buy-progress), rgba(39, 12, 78, 0.9) var(--coda-buy-progress) 360deg);
}

.coda-main-buy-progress::after {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #6242FC;
  content: '';
}

.coda-main-buy-info {
  display: flex;
  flex-direction: column;
}

.coda-main-buy-sku {
  font-size: 13px;
  font-weight: 600;
  color: #1E1E24;
  margin-bottom: 4px;
}

.coda-main-buy-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.coda-main-buy-strike {
  text-decoration: line-through;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 600;
}

.coda-main-buy-saved {
  background: #E6F9EE;
  color: #00A859;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

.coda-main-buy-price {
  font-size: 24px;
  font-weight: 800;
  color: #E50046;
}

.coda-main-buy-note {
  font-size: 11px;
  color: #64748B;
}

@keyframes coda-btn-shine-swipe {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  38%, 100% {
    transform: translateX(350%) skewX(-20deg);
  }
}

.coda-main-buy-btn,
.coda-main-buy-btn:hover,
.coda-main-buy-btn:active {
  background-color: #6242FC !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 9999px !important;
  min-width: 240px !important;
  height: 48px !important;
  padding: 0 48px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: hidden !important;
  transition: background-color 0.45s ease-in-out !important;
}

/* Smooth solid green state when User ID, Denomination, and Payment Method are all filled/selected */
.coda-main-buy-btn.coda-btn-ready,
.coda-main-buy-btn.coda-btn-ready:hover,
.coda-main-buy-btn.coda-btn-ready:active,
.coda-main-buy-btn.is-ready,
.coda-main-buy-btn.is-ready:hover,
.coda-main-buy-btn.is-ready:active {
  background-color: #00A84D !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
}

/* Shining swipe effect animation */
.coda-main-buy-btn.coda-btn-ready::after,
.coda-main-buy-btn.is-ready::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 40% !important;
  height: 100% !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%) !important;
  transform: translateX(-150%) skewX(-20deg) !important;
  animation: coda-btn-shine-swipe 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  pointer-events: none !important;
}

.checkout-guide,
.checkout-guide-button {
  display: none !important;
}

/* ==========================================================================
   5. Modal Dialog
   ========================================================================== */
.coda-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 6, 23, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
}

.coda-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.coda-modal-card {
  background: #281534;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  position: relative;
}

.coda-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.coda-modal-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.coda-modal-close {
  background: transparent;
  border: none;
  color: #A5A1B8;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
}

.coda-modal-body {
  font-size: 14px;
  line-height: 1.6;
}

.coda-modal-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.coda-modal-label {
  color: #A5A1B8;
}

.coda-modal-value {
  font-weight: 600;
  text-align: right;
}

.coda-modal-price {
  color: #38EF7D;
  font-size: 18px;
  font-weight: 800;
}

.coda-modal-footer {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.coda-btn-confirm,
.coda-btn-confirm:hover {
  flex: 1;
  background: #6242FC !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 9999px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-align: center !important;
  transform: none !important;
  box-shadow: none !important;
}

.coda-btn-cancel,
.coda-btn-cancel:hover {
  background: transparent !important;
  color: #A5A1B8 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 14px 20px !important;
  border-radius: 9999px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ===========================================================================
   6. Hamburger auth sidebar (no navigation or auth actions)
   ========================================================================== */
.coda-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
}

.coda-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.coda-sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, calc(100vw - 36px));
  background: #2E153B;
  z-index: 9995;
  transform: translateX(-100%);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.6);
  padding: 24px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.coda-drawer-overlay.active .coda-sidebar-drawer {
  transform: translateX(0);
}

.coda-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coda-sidebar-logo {
  width: auto;
  height: 26px;
}

.coda-sidebar-close {
  padding: 0;
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.coda-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
}

.coda-sidebar-action,
.coda-sidebar-action:hover,
.coda-sidebar-action:active {
  width: 100% !important;
  border-radius: 9999px !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center !important;
  cursor: pointer !important;
  transform: none !important;
}

.coda-sidebar-action--signup,
.coda-sidebar-action--signup:hover,
.coda-sidebar-action--signup:active {
  background: #6242FC !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(98, 66, 252, 0.35) !important;
}

.coda-sidebar-action--signin,
.coda-sidebar-action--signin:hover,
.coda-sidebar-action--signin:active {
  background: #FFFFFF !important;
  color: #1E1E24 !important;
  border: none !important;
}

/* ===========================================================================
   7. FAQ Accordions
   ========================================================================== */.product-faq-item__container {
  cursor: pointer;
  border-radius: 8px;
}

.product-faq-item__container.open .product-faq-item__content-header-icon svg {
  transform: rotate(180deg);
}

.product-faq-item__container.open .product-faq-item__content-description {
  display: block !important;
}

/* ==========================================================================
   8. User ID Helper & Toast Notification
   ========================================================================== */
.coda-helper-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.coda-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #6242FC;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
}

.coda-toast.show {
  opacity: 1;
}

/* Remove only the category chooser above the recharge products. */
#step-sku .product__skus__browse-label,
#step-sku .sku-category__container {
  display: none !important;
}
/* Show ten real recharge options in a compact 5 by 2 card grid. */
#step-sku .highlighted-skus__wrapper {
  display: none !important;
}

#step-sku .sku-options .sku-list {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  column-gap: 8px !important;
  row-gap: 10px !important;
}

#step-sku .sku-options .sku-options__option:nth-child(n + 11) {
  display: none !important;
}
/* Use the original Best Seller tag markup, including its native shimmer. */
#step-sku .sku-options .sku-options__option {
  position: relative;
  padding-top: 0;
}


#step-sku .sku-options .sku-card {
  position: relative;
  /* Keep the badge on the card edge instead of reserving a separate row. */
  padding-top: 0 !important;
}


#step-sku .sku-options .sku-card__inner-container {
  min-height: 194px;
  border: 2px solid #e7daf9 !important;
  background: #fffaf3 !important;
  overflow: hidden;
}

#step-sku .sku-options .sku-info-section {
  margin: 20px 6px 8px !important;
  text-align: center;
}

#step-sku .sku-options .price-section {
  margin-top: auto;
  padding: 8px !important;
  background: #ffebc5 !important;
}

#step-sku .sku-options .rewards-tag {
  display: none !important;
}

#step-sku .sku-options .price-section__price__price-container__amount,
#step-sku .sku-options .price-section__price__prefix {
  color: #ff719c !important;
}

#step-sku .sku-options .sku-card.sku-selected .sku-card__inner-container,
#step-sku .sku-options .sku-card[data-selected="true"] .sku-card__inner-container,
#step-sku .sku-options .sku-card--selected {
  border-color: #ef7b16 !important;
  box-shadow: 0 0 0 1px #ef7b16 !important;
}

/* The trust panel is desktop-only; it stays out of the mobile product flow. */
@media (max-width: 767px) {
  .coda-trust-card {
    display: none !important;
  }

  .coda-main-buy-card {
    bottom: 12px;
  }

  #step-sku .sku-options .sku-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 10px !important;
    row-gap: 12px !important;
  }
}
/* GoPay nickname confirmation below the User ID fields. */
.coda-mlbb-nickname {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 14px;
}

.coda-mlbb-nickname[hidden] {
  display: none !important;
}

.coda-mlbb-nickname__label {
  color: #00a859;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.coda-mlbb-nickname__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #baf1c8;
  color: #00a859;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.coda-mlbb-nickname__chip svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #007c56;
}

.coda-mlbb-lookup-error {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 12px;
  margin-bottom: 14px;
}

.coda-mlbb-lookup-error[hidden] {
  display: none !important;
}

.coda-mlbb-nickname__chip--error {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffd6d9;
  color: #c62828;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.coda-mlbb-nickname__chip--error svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #c62828;
}

@media (max-width: 767px) {
  .coda-main-buy-card__detail {
    gap: 12px;
    padding: 14px 16px;
  }

  .coda-main-buy-compact {
    min-height: 56px;
    padding: 0 20px;
  }

  .coda-main-buy-compact__label {
    font-size: 18px;
  }

  .coda-main-buy-btn,
  .coda-main-buy-btn:hover,
  .coda-main-buy-btn:active {
    min-width: 132px !important;
    height: 44px !important;
    padding: 0 20px !important;
  }
}
/* Compact recharge chooser sizing */
.coda-main-buy-compact {
  width: min(100%, 380px);
  min-height: 52px;
  grid-template-columns: 26px 1fr 22px;
  column-gap: 12px;
  margin: 0 auto;
  padding: 0 22px;
}

.coda-main-buy-compact__icon {
  width: 25px;
  height: 25px;
}

.coda-main-buy-compact__label {
  font-size: 17px;
}

.coda-main-buy-progress {
  width: 22px;
  height: 22px;
}

@media (max-width: 767px) {
  .coda-main-buy-compact {
    width: min(100%, 340px);
    min-height: 50px;
    padding: 0 18px;
  }

  .coda-main-buy-compact__label {
    font-size: 16px;
  }
}
/* Denomination title breathing room */
#step-sku .sku-options .sku-list__category-name {
  margin-bottom: 10px !important;
}

#step-sku .sku-options .sku-card__inner-container {
  min-height: 204px;
}
/*
 * Once the fixed bar reaches the end of checkout, return it to normal flow.
 * Absolute positioning removed the card's layout space, which made it vanish
 * immediately below the phone-number card on mobile.
 */
.coda-main-buy-card.is-stopped {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  margin-top: 16px !important;
}
@property --coda-buy-progress {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* Compact recharge state transitions */
.coda-main-buy-card__detail {
  display: flex;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: max-height 380ms ease, padding 380ms ease, opacity 340ms ease, transform 380ms ease;
}

.coda-main-buy-card.is-ready .coda-main-buy-card__detail {
  max-height: 160px;
  padding: 18px 24px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.coda-main-buy-compact {
  width: min(100%, 344px);
  min-height: 48px;
  max-height: 52px;
  grid-template-columns: 24px 1fr 24px;
  column-gap: 10px;
  padding: 0 20px;
  overflow: hidden;
  transition: max-height 380ms ease, min-height 380ms ease, padding 380ms ease, opacity 340ms ease, transform 380ms ease, background-color 380ms ease, box-shadow 380ms ease;
}

.coda-main-buy-card.is-ready .coda-main-buy-compact {
  min-height: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

.coda-main-buy-compact__icon {
  width: 23px;
  height: 23px;
}

.coda-main-buy-compact__label {
  font-size: 16px;
}

.coda-main-buy-progress {
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  flex: 0 0 24px;
  background: conic-gradient(#FFFFFF 0deg var(--coda-buy-progress), rgba(36, 10, 73, 0.78) var(--coda-buy-progress) 360deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: --coda-buy-progress 900ms cubic-bezier(0.22, 1, 0.36, 1), background 380ms ease, box-shadow 380ms ease;
}

.coda-main-buy-progress::after {
  inset: 3px;
  background: #6242FC;
  transition: background-color 380ms ease;
}

.coda-main-buy-card.has-progress .coda-main-buy-compact {
  background: #11A765;
  box-shadow: 0 8px 18px rgba(17, 167, 101, 0.28);
}

.coda-main-buy-card.has-progress .coda-main-buy-progress {
  background: conic-gradient(#FFFFFF 0deg var(--coda-buy-progress), rgba(1, 77, 43, 0.72) var(--coda-buy-progress) 360deg);
}

.coda-main-buy-card.has-progress .coda-main-buy-progress::after {
  background: #11A765;
}

@media (max-width: 767px) {
  .coda-main-buy-card__detail {
    padding-right: 16px;
    padding-left: 16px;
  }

  .coda-main-buy-card.is-ready .coda-main-buy-card__detail {
    padding: 14px 16px;
  }

  .coda-main-buy-compact {
    width: min(100%, 312px);
    min-height: 46px;
    max-height: 48px;
    padding: 0 18px;
  }

  .coda-main-buy-compact__label {
    font-size: 15px;
  }
}
/* Mobile floating checkout follows Codashop's compact two-column summary layout. */
@media (max-width: 767px) {
  #coda-main-buy-card,
  .coda-main-buy-card {
    display: block !important;
    bottom: 12px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: calc(100vw - 30px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    z-index: 1000 !important;
  }

  #coda-main-buy-card .coda-main-buy-card__detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    align-items: center;
    gap: 10px;
    max-height: 0;
    padding: 0 14px;
    border-radius: 14px;
  }

  #coda-main-buy-card.is-ready .coda-main-buy-card__detail {
    max-height: 190px;
    padding: 12px 14px;
  }

  #coda-main-buy-card .coda-main-buy-info {
    min-width: 0;
  }

  #coda-main-buy-card .coda-main-buy-sku {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.3;
  }

  #coda-main-buy-card .coda-main-buy-price-row {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    gap: 2px 6px;
    margin-bottom: 0;
  }

  #coda-main-buy-card .coda-main-buy-strike {
    grid-column: 1;
    font-size: 11px;
  }

  #coda-main-buy-card .coda-main-buy-saved {
    grid-column: 2;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.15;
    white-space: nowrap;
  }

  #coda-main-buy-card .coda-main-buy-price {
    grid-column: 1 / -1;
    font-size: 20px;
    line-height: 1.05;
  }

  #coda-main-buy-card .coda-main-buy-note {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.25;
  }

  #coda-main-buy-card .coda-main-buy-btn,
  #coda-main-buy-card .coda-main-buy-btn:hover,
  #coda-main-buy-card .coda-main-buy-btn:active {
    width: 132px !important;
    min-width: 132px !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    flex: 0 0 132px;
  }
}
/* Restrict diamond recharge to the four configured denominations. */
#step-sku .sku-options .sku-options__option:nth-child(-n + 4),
#step-sku .sku-options .sku-options__option:nth-child(n + 9) {
  display: none !important;
}

@media (min-width: 768px) {
  #step-sku .sku-options .sku-list {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
/* Keep both floating checkout states on the purple purchase surface across mobile and desktop. */
.product__purchase-steps-container,
.product__purchase-steps-container.has-coda-floating-compact {
  padding-bottom: 96px !important;
}

.product__purchase-steps-container.has-coda-floating-info {
  padding-bottom: 148px !important;
}

@media (min-width: 768px) {
  .product__purchase-steps-container,
  .product__purchase-steps-container.has-coda-floating-compact {
    padding-bottom: 112px !important;
  }

  .product__purchase-steps-container.has-coda-floating-info {
    padding-bottom: 176px !important;
  }
}
/* Regional payment availability and consistent zero-price treatment. */
html:not([data-region="my"]) .payment-section {
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px)) !important;
  justify-content: start !important;
}

html:not([data-region="my"]) .payment-method {
  display: none !important;
}

html:not([data-region="my"]) .payment-method[data-design-item-id="421"],
html[data-region="id"] .payment-method[data-design-item-id="qris"] {
  display: flex !important;
}

.payment-method__logo-img--qris {
  max-width: 76px !important;
}

.payment-method__pricing {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: auto !important;
  min-height: 17px !important;
}

.payment-method__original-price {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

.payment-method__discount {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
  padding: 1px 6px !important;
  border-radius: 999px !important;
  background: #c8f2d6 !important;
  color: #009b57 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.payment-method__price {
  margin-top: 3px !important;
}

/* The global reset disables transitions, so restore this exact checkout sequence. */
.coda-main-buy-card__detail {
  transition: max-height 380ms ease, padding 380ms ease, opacity 340ms ease, transform 380ms ease !important;
}

.coda-main-buy-compact {
  transition: max-height 380ms ease, min-height 380ms ease, padding 380ms ease, opacity 340ms ease, transform 380ms ease, background-color 380ms ease, box-shadow 380ms ease !important;
}

.coda-main-buy-card.is-ready .coda-main-buy-compact {
  display: grid !important;
}

.coda-main-buy-progress {
  transition: --coda-buy-progress 900ms cubic-bezier(0.22, 1, 0.36, 1), background 380ms ease, box-shadow 380ms ease !important;
}

.coda-main-buy-progress::after {
  transition: background-color 380ms ease !important;
}

.product__purchase-steps-container {
  transition: padding-bottom 380ms ease !important;
}
/* Two-line denomination titles keep the value and unit easy to scan. */
.sku-info-section__titles__title > span {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  line-height: 1.04 !important;
}

.sku-info-section__titles__title .coda-denomination-number,
.sku-info-section__titles__title .coda-denomination-label {
  display: block !important;
}

.sku-info-section__titles__title .coda-denomination-label {
  margin-top: 2px !important;
  font-weight: 600 !important;
}
/* Give the active denomination bonus a little breathing room. */
#step-sku .sku-options .sku-options__option:nth-child(n + 5):nth-child(-n + 8) .sku-subtitle {
  margin-top: 6px !important;
}
/* Light order-confirmation dialog. The helper modal keeps the existing dark treatment. */
#coda-confirm-modal.coda-modal-overlay {
  background: rgba(22, 10, 31, 0.66);
  backdrop-filter: blur(3px);
}

@keyframes coda-modal-shimmer {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

#coda-confirm-modal .coda-order-modal {
  width: min(460px, calc(100vw - 28px));
  max-width: 460px;
  padding: 20px 22px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(16, 12, 24, 0.30);
  color: #172033;
}

#coda-confirm-modal .coda-order-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#coda-confirm-modal .coda-order-modal__title {
  margin: 0;
  color: #172033;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

#coda-confirm-modal .coda-order-modal__subtitle {
  margin: 3px 0 0;
  color: #71798a;
  font-size: 13px;
  line-height: 1.35;
}

#coda-confirm-modal .coda-modal-close {
  padding: 0 2px;
  color: #9ca3b1;
  font-size: 26px;
  font-weight: 300;
  line-height: 0.9;
  cursor: pointer;
}

#coda-confirm-modal .coda-order-product {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  gap: 14px;
  margin-top: 14px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid #eceeff;
  border-radius: 12px;
  background: #f5f5ff;
}

#coda-confirm-modal .coda-order-product__badge {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px 0 6px;
  border-radius: 0 0 9px 0;
  background-image: linear-gradient(90deg, #ff7f98, #6242fc) !important;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 2;
}

#coda-confirm-modal .coda-order-product__badge-shimmer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  animation: coda-modal-shimmer 2.2s linear infinite alternate !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 65%) !important;
  background-size: 300% 300% !important;
  mix-blend-mode: overlay !important;
  pointer-events: none !important;
}

#coda-confirm-modal .coda-order-product__badge-icon {
  width: 11px;
  height: 11px;
  display: flex;
  flex-shrink: 0;
  color: #ffffff;
}

#coda-confirm-modal .coda-order-product__badge[hidden] {
  display: none !important;
}

#coda-confirm-modal .coda-order-product__image {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

#coda-confirm-modal .coda-order-product__name {
  min-width: 0;
  color: #172033;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

#coda-confirm-modal .coda-order-rows {
  margin-top: 10px;
}

#coda-confirm-modal .coda-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 35px;
  padding: 5px 0;
  border-bottom: 1px solid #eef0f4;
}

#coda-confirm-modal .coda-order-row__label {
  color: #727b8c;
  font-size: 13.5px;
}

#coda-confirm-modal .coda-order-row__value {
  max-width: 72%;
  color: #172033;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}

#coda-confirm-modal .coda-order-rewards {
  margin: 12px -22px 0;
  padding: 8px 22px;
  background: #daf8e6;
  color: #167541;
  font-size: 12.5px;
  font-weight: 700;
}

#coda-confirm-modal .coda-order-rewards__icon {
  display: inline-block;
  margin-right: 6px;
  color: #e7a81c;
}

#coda-confirm-modal .coda-order-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

#coda-confirm-modal .coda-order-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #727b8c;
  font-size: 12px;
}

#coda-confirm-modal .coda-order-total strong {
  color: #ed4f9b;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

#coda-confirm-modal .coda-btn-confirm,
#coda-confirm-modal .coda-btn-confirm:hover,
#coda-confirm-modal .coda-btn-confirm:active {
  width: 74px;
  min-width: 74px;
  height: 40px;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 14px rgba(98, 66, 252, 0.24) !important;
}

@media (max-width: 575px) {
  #coda-confirm-modal.coda-modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 16px 12px;
  }

  #coda-confirm-modal .coda-order-modal {
    width: min(420px, calc(100vw - 16px));
    margin: auto 0;
    padding: 16px 18px 14px;
    border-radius: 16px;
  }

  #coda-confirm-modal .coda-order-modal__title {
    font-size: 18px;
  }

  #coda-confirm-modal .coda-order-modal__subtitle {
    font-size: 12.5px;
  }

  #coda-confirm-modal .coda-order-product {
    min-height: 58px;
    gap: 12px;
    margin-top: 12px;
    padding: 8px 12px;
  }

  #coda-confirm-modal .coda-order-product__image {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  #coda-confirm-modal .coda-order-product__name {
    font-size: 15px;
  }

  #coda-confirm-modal .coda-order-row {
    min-height: 32px;
    padding: 4px 0;
  }

  #coda-confirm-modal .coda-order-row__label,
  #coda-confirm-modal .coda-order-row__value {
    font-size: 13px;
  }

  #coda-confirm-modal .coda-order-rewards {
    margin: 10px -18px 0;
    padding: 7px 18px;
    font-size: 12px;
  }

  #coda-confirm-modal .coda-order-modal__footer {
    gap: 12px;
    margin-top: 12px;
  }

  #coda-confirm-modal .coda-order-total strong {
    font-size: 22px;
  }

  #coda-confirm-modal .coda-btn-confirm,
  #coda-confirm-modal .coda-btn-confirm:hover,
  #coda-confirm-modal .coda-btn-confirm:active {
    width: 68px;
    min-width: 68px;
    height: 38px;
    font-size: 13px !important;
    padding: 0 8px !important;
  }
}

/* ==========================================================================
   Sign In Modal (To Complete Order)
   ========================================================================== */
#coda-signin-modal.coda-modal-overlay {
  background: rgba(22, 10, 31, 0.66);
  backdrop-filter: blur(3px);
  z-index: 10001;
}

#coda-signin-modal .coda-signin-modal-card {
  width: min(440px, calc(100vw - 28px));
  max-width: 440px;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(16, 12, 24, 0.30);
  color: #172033;
}

#coda-signin-modal .coda-signin-modal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 24px 22px;
}

#coda-signin-modal .coda-signin-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#coda-signin-modal .coda-signin-modal__title {
  margin: 0;
  color: #172033;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

#coda-signin-modal .coda-signin-modal__subtitle {
  margin: 4px 0 0;
  color: #71798a;
  font-size: 13.5px;
  line-height: 1.4;
}

#coda-signin-modal .coda-modal-close {
  padding: 0 2px;
  color: #9ca3b1;
  font-size: 26px;
  font-weight: 300;
  line-height: 0.9;
  cursor: pointer;
}

#coda-signin-modal .coda-signin-buttons {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 18px;
}

#coda-signin-modal .coda-signin-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 20px 0 54px;
  border: none;
  border-radius: 9999px;
  background: #6242FC;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(98, 66, 252, 0.35);
  text-align: center;
}

#coda-signin-modal .coda-signin-icon-wrap {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

#coda-signin-modal .coda-signin-moonton-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

#coda-signin-modal .coda-signin-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #F8FAFC;
  border-top: 1px solid #EEF2F6;
  padding: 12px;
  color: #8C95A6;
  font-size: 12.5px;
  font-weight: 500;
}

#coda-signin-modal .coda-signin-lock-icon {
  width: 14px;
  height: 14px;
  color: #8C95A6;
}

@media (max-width: 575px) {
  #coda-signin-modal .coda-signin-modal-card {
    width: min(400px, calc(100vw - 16px));
    border-radius: 16px;
  }

  #coda-signin-modal .coda-signin-modal__body {
    padding: 18px 18px 16px;
  }

  #coda-signin-modal .coda-signin-modal__title {
    font-size: 20px;
  }

  #coda-signin-modal .coda-signin-btn {
    height: 48px;
    font-size: 13.5px;
  }

  #coda-signin-modal .coda-signin-icon-wrap {
    width: 32px;
    height: 32px;
    left: 7px;
  }
}

/* ==========================================================================
   Ketupat Custom Brand Login Modal
   ========================================================================== */
#coda-ketupat-modal.coda-modal-overlay {
  background: rgba(22, 10, 31, 0.66);
  backdrop-filter: none;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
}

#coda-ketupat-modal,
#coda-ketupat-modal * {
  box-sizing: border-box;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

#coda-ketupat-modal .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
}

#coda-ketupat-modal .coda-ketupat-modal-card {
  width: min(440px, calc(100vw - 28px));
  max-width: 440px;
  padding: 24px 28px 28px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(16, 12, 24, 0.30);
  color: #202124;
}

#coda-ketupat-modal .coda-ketupat-modal__body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

#coda-ketupat-modal .coda-ketupat-modal__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#coda-ketupat-modal .coda-ketupat-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

#coda-ketupat-modal .coda-ketupat-icon-badge {
  width: 24px;
  height: 24px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#coda-ketupat-modal .coda-ketupat-modal__title {
  margin: 0;
  color: #3c4043;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

#coda-ketupat-modal .coda-ketupat-divider {
  height: 1px;
  background: #E8EAED;
  margin: 16px -28px 0;
  border: none;
}

#coda-ketupat-modal .coda-ketupat-loading-progress {
  height: 4px;
  margin: 0 -28px;
  overflow: hidden;
  background: #e8f0fe;
}

#coda-ketupat-modal .coda-ketupat-loading-progress[hidden] {
  display: none !important;
}

#coda-ketupat-modal .coda-ketupat-loading-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: #1a73e8;
  will-change: width;
}

#coda-ketupat-modal.is-loading .coda-ketupat-form {
  opacity: 0.48;
  pointer-events: none;
  user-select: none;
}

#coda-ketupat-modal .coda-ketupat-form {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

#coda-ketupat-modal .coda-ketupat-product-tile {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 12px;
  object-fit: cover;
}

#coda-ketupat-modal .coda-ketupat-form-title {
  color: #202124;
  font-size: 24px;
  font-weight: 450;
  line-height: 1.3;
  margin: 0 0 6px;
}

#coda-ketupat-modal .coda-ketupat-form-subtitle {
  color: #5f6368;
  font-size: 14.5px;
  margin: 0;
  line-height: 1.4;
}

#coda-ketupat-modal .coda-ketupat-profile-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 12px 5px 0px;
  border-radius: 9999px;
  color: #3c4043;
  font-size: 13.5px;
  font-weight: 500;
  width: fit-content;
}

#coda-ketupat-modal .coda-ketupat-profile-summary[hidden] {
  display: none !important;
}

#coda-ketupat-modal .coda-ketupat-profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
}

#coda-ketupat-modal #coda-ketupat-email-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#coda-ketupat-modal .coda-ketupat-field {
  display: flex;
  flex-direction: column;
}

#coda-ketupat-modal .coda-ketupat-input-wrap {
  position: relative;
  width: 100%;
  margin-top: 25px;
}

#coda-ketupat-modal .coda-ketupat-input {
  width: 100%;
  height: 52px;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid #747775;
  background: #FFFFFF;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
  box-sizing: border-box;
}

#coda-ketupat-modal .coda-ketupat-floating-label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #444746;
  font-size: 16px;
  font-weight: 400;
  pointer-events: none;
  transition: all 0.18s ease !important;
  background: #FFFFFF;
  padding: 0 4px;
  line-height: 1;
}

#coda-ketupat-modal .coda-ketupat-input:focus {
  border-color: #0b57d0;
  border-width: 2px;
  padding: 13px 15px;
}

#coda-ketupat-modal .coda-ketupat-input.has-error {
  border-color: #b3261e !important;
}

#coda-ketupat-modal .coda-ketupat-input.has-error ~ .coda-ketupat-floating-label {
  color: #b3261e !important;
}

#coda-ketupat-modal .coda-ketupat-input:focus ~ .coda-ketupat-floating-label,
#coda-ketupat-modal .coda-ketupat-input:not(:placeholder-shown) ~ .coda-ketupat-floating-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: #0b57d0;
  background: #FFFFFF;
  padding: 0 4px;
}

#coda-ketupat-modal .coda-ketupat-input.has-error:focus ~ .coda-ketupat-floating-label {
  color: #b3261e !important;
}

#coda-ketupat-modal .coda-ketupat-show-username {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.25;
  cursor: pointer;
}

#coda-ketupat-modal .coda-ketupat-show-username[hidden] {
  display: none !important;
}

#coda-ketupat-modal .coda-ketupat-show-username input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0b57d0;
  cursor: pointer;
}

#coda-ketupat-modal .coda-ketupat-show-username label {
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #1f1f1f;
}

#coda-ketupat-modal .coda-ketupat-error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b3261e;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
}

#coda-ketupat-modal .coda-ketupat-error[hidden] {
  display: none !important;
}

#coda-ketupat-error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #b3261e;
}

#coda-ketupat-modal .coda-ketupat-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}

#coda-ketupat-modal .coda-ketupat-create-btn {
  font-size: 14px;
  font-weight: 500;
  color: #0b57d0;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity 0.16s ease;
}

#coda-ketupat-modal .coda-ketupat-create-btn:hover {
  text-decoration: underline;
}

#coda-ketupat-modal .coda-ketupat-next-btn {
  min-width: 96px;
  height: 40px;
  padding: 0 24px;
  border: none;
  border-radius: 9999px;
  background: #0b57d0;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

#coda-ketupat-modal .coda-ketupat-next-btn:hover {
  background: #0842a0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#coda-ketupat-modal .coda-ketupat-next-btn:active {
  transform: scale(0.97);
}

#coda-ketupat-modal .coda-ketupat-next-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 575px) {
  #coda-ketupat-modal .coda-ketupat-modal-card {
    width: min(390px, calc(100vw - 20px));
    border-radius: 16px;
    padding: 20px 20px 24px;
  }
  #coda-ketupat-modal .coda-ketupat-divider {
    margin: 14px -20px 0;
  }
  #coda-ketupat-modal .coda-ketupat-loading-progress {
    margin: 0 -20px;
  }
}

/* Order success screen shown after the final Ketupat confirmation. */
#coda-order-success-modal.coda-modal-overlay {
  box-sizing: border-box;
  padding: 12px;
  background: rgba(22, 10, 31, 0.66);
  backdrop-filter: none;
  z-index: 10003;
}

#coda-order-success-modal,
#coda-order-success-modal * {
  box-sizing: border-box;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

#coda-order-success-modal .coda-order-success-modal-card {
  width: min(480px, 100%);
  max-height: calc(100vh - 24px);
  padding: 30px;
  overflow-y: auto;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(16, 12, 24, 0.30);
  color: #182033;
}

#coda-order-success-modal .coda-order-success-check {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #E4F932;
  border: 3.5px solid #230838;
  color: #230838;
  box-shadow: 0 6px 16px rgba(35, 8, 56, 0.16);
}

#coda-order-success-modal .coda-order-success-check svg {
  width: 32px;
  height: 32px;
}

#coda-order-success-modal h2 {
  margin: 0;
  color: #121a2b;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

#coda-order-success-modal .coda-order-success-product {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f2f4ff;
}

#coda-order-success-modal .coda-order-success-product img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
}

#coda-order-success-modal .coda-order-success-product img[hidden] {
  display: none;
}

#coda-order-success-modal .coda-order-success-product-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

#coda-order-success-modal .coda-order-success-product strong,
#coda-order-success-modal #coda-order-success-item {
  color: #1e2532;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

#coda-order-success-modal .coda-order-success-processing-note {
  margin: 4px 0 0;
  color: #4d586d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

#coda-order-success-modal .coda-order-success-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
}

#coda-order-success-modal .coda-order-success-details > div,
#coda-order-success-modal .coda-order-success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 8px 0;
  border-bottom: 1px solid #eef0f4;
  width: 100%;
}

#coda-order-success-modal .coda-order-success-details > div:last-child,
#coda-order-success-modal .coda-order-success-row:last-child {
  border-bottom: none;
}

#coda-order-success-modal .coda-order-success-details dt,
#coda-order-success-modal .coda-order-success-label {
  color: #737d90;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  margin: 0;
  flex-shrink: 0;
}

#coda-order-success-modal .coda-order-success-details dd,
#coda-order-success-modal .coda-order-success-value {
  color: #182033;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-align: right;
  margin: 0;
}

#coda-order-success-modal .coda-order-success-skins-banner {
  margin-top: 18px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f2f4ff 0%, #faf5ff 100%);
  border: 1px solid #e0e5ff;
}

#coda-order-success-modal .coda-order-success-skins-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: center;
}

#coda-order-success-modal .coda-order-success-skin-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #1a102a;
  border: 1.5px solid rgba(120, 106, 255, 0.35);
  box-shadow: 0 3px 8px rgba(98, 66, 252, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#coda-order-success-modal .coda-order-success-skin-item:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 14px rgba(98, 66, 252, 0.3);
  border-color: #ffd700;
}

#coda-order-success-modal .coda-order-success-skin-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@property --coda-order-success-shine-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes coda-order-success-border-spin {
  to {
    --coda-order-success-shine-angle: 360deg;
  }
}

@keyframes coda-order-success-button-glow {
  0%,
  100% {
    box-shadow:
      0 7px 15px rgba(91, 70, 245, 0.28),
      0 0 0 0 rgba(128, 105, 255, 0.32),
      0 0 12px rgba(91, 70, 245, 0.18);
  }

  50% {
    box-shadow:
      0 8px 18px rgba(91, 70, 245, 0.34),
      0 0 0 4px rgba(128, 105, 255, 0.13),
      0 0 24px rgba(91, 70, 245, 0.42);
  }
}

@keyframes coda-order-success-button-shine {
  0%,
  55% {
    background-position: 120% center, center;
  }

  100% {
    background-position: -25% center, center;
  }
}

#coda-order-success-modal .coda-order-success-another {
  --coda-order-success-button-fill: #786aff;
  --coda-order-success-shine-angle: 0deg;
  width: 100%;
  min-height: 52px;
  height: 52px;
  margin-top: 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 4px solid transparent;
  border-radius: 9999px !important;
  background:
    linear-gradient(
      105deg,
      var(--coda-order-success-button-fill) 0%,
      var(--coda-order-success-button-fill) 42%,
      rgba(255, 255, 255, 0.34) 50%,
      var(--coda-order-success-button-fill) 58%,
      var(--coda-order-success-button-fill) 100%
    ) padding-box,
    conic-gradient(
      from var(--coda-order-success-shine-angle),
      #7361ff 0deg 245deg,
      #a99cff 270deg,
      #ff4fa3 302deg,
      #ffd84a 320deg,
      #ff4fa3 338deg,
      #7361ff 360deg
    ) border-box;
  background-size: 240% 100%, 100% 100%;
  background-position: 120% center, center;
  box-shadow: 0 7px 15px rgba(91, 70, 245, 0.28);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    coda-order-success-border-spin 2.35s linear infinite,
    coda-order-success-button-glow 1.8s ease-in-out infinite,
    coda-order-success-button-shine 2.7s ease-in-out infinite;
  transition: transform 0.15s ease;
}

#coda-order-success-modal .coda-order-success-another:hover {
  --coda-order-success-button-fill: #4b35e8;
}

#coda-order-success-modal .coda-order-success-another:active {
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  #coda-order-success-modal .coda-order-success-another {
    animation: none;
  }
}

@media (max-width: 575px) {
  #coda-order-success-modal.coda-modal-overlay {
    padding: 10px;
  }

  #coda-order-success-modal .coda-order-success-modal-card {
    max-height: calc(100vh - 20px);
    padding: 24px 22px;
    border-radius: 18px;
  }

  #coda-order-success-modal .coda-order-success-check {
    width: 64px;
    height: 64px;
    border-radius: 17px;
    border-width: 3px;
    margin-bottom: 16px;
  }

  #coda-order-success-modal .coda-order-success-check svg {
    width: 28px;
    height: 28px;
  }

  #coda-order-success-modal h2 {
    font-size: 24px;
  }

  #coda-order-success-modal .coda-order-success-product {
    min-height: auto;
    margin-top: 18px;
    padding: 12px 14px;
  }

  #coda-order-success-modal .coda-order-success-details {
    margin-top: 16px;
  }

  #coda-order-success-modal .coda-order-success-details dt,
  #coda-order-success-modal .coda-order-success-label {
    font-size: 13.5px;
  }

  #coda-order-success-modal .coda-order-success-details dd,
  #coda-order-success-modal .coda-order-success-value {
    font-size: 13.5px;
  }

  #coda-order-success-modal .coda-order-success-another {
    min-height: 50px;
    height: 50px;
    margin-top: 20px;
    font-size: 15px;
    border-radius: 9999px !important;
  }
}

#coda-order-success-modal .coda-order-success-loading {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#coda-order-success-modal .coda-order-success-modal-card[data-success-state="ready"] .coda-order-success-loading,
#coda-order-success-modal .coda-order-success-modal-card[data-success-state="processing"] .coda-order-success-content {
  display: none;
}

#coda-order-success-modal .coda-order-success-spinner {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 5px solid #dbeafe;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: coda-order-success-spin 760ms linear infinite;
}

@keyframes coda-order-success-spin {
  to { transform: rotate(360deg); }
}

#coda-order-success-modal .coda-order-success-loading h2 {
  font-size: 24px;
}

#coda-order-success-modal .coda-order-success-loading p {
  margin: 9px 0 0;
  color: #69758a;
  font-size: 14px;
}

/* Required phone receipt field. */
.coda-receipt-phone-form__label {
  display: block;
  margin: 5px 0 8px;
  color: #351b42;
  font-size: 14px;
  font-weight: 700;
}

#email-fields .coda-receipt-phone-form__input {
  margin: 0;
}

#email-fields .coda-receipt-phone-form__control {
  display: flex;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid #c58ce0;
  border-radius: 10px;
  background: #ffffff;
}

#email-fields .coda-receipt-phone-form__control:focus-within {
  border: 2px solid #6242fc;
  box-shadow: 0 0 0 3px rgba(98, 66, 252, 0.12);
}

#email-fields .coda-receipt-phone-form__control.is-invalid {
  border: 2px solid #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.coda-receipt-phone-form__country {
  display: flex;
  flex: 0 0 180px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-right: 1px solid #e4d8ef;
  background: #fcfaff;
}

.coda-receipt-phone-form__country img {
  display: block !important;
  width: 28px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(53, 27, 66, 0.18);
}

.coda-receipt-phone-form__country select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #351b42;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#email-fields .coda-receipt-phone-form__number {
  width: 100%;
  height: 56px;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 16px !important;
  color: #351b42 !important;
  font-size: 17px;
  font-weight: 600;
  text-align: left !important;
}

#email-fields .coda-receipt-phone-form__number:focus {
  outline: 0;
}

#email-fields .coda-receipt-phone-form__number::placeholder {
  color: #a979bf;
  opacity: 1;
}

.coda-receipt-phone-form__help,
.coda-receipt-phone-form__error {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.coda-receipt-phone-form__help {
  color: #70557d;
}

.coda-receipt-phone-form__error {
  color: #c61c16;
  font-weight: 600;
}

@media (max-width: 575px) {
  .coda-receipt-phone-form__country {
    flex-basis: 138px;
    gap: 7px;
    padding: 0 9px;
  }

  .coda-receipt-phone-form__country img {
    width: 24px;
    height: 18px;
  }

  .coda-receipt-phone-form__country select {
    font-size: 13px;
  }

  #email-fields .coda-receipt-phone-form__number {
    padding: 0 12px !important;
    font-size: 16px;
  }
}
/* Split country code and local-number controls. */
#email-fields .coda-receipt-phone-form__control {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#email-fields .coda-receipt-phone-form__control:focus-within,
#email-fields .coda-receipt-phone-form__control.is-invalid {
  border: 0;
  box-shadow: none;
}

#email-fields .coda-receipt-phone-form__country,
#email-fields .coda-receipt-phone-form__number-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  border: 1px solid #c58ce0;
  border-radius: 10px;
  background: #ffffff;
}

#email-fields .coda-receipt-phone-form__country {
  flex: initial;
  gap: 9px;
  padding: 0 12px;
}

#email-fields .coda-receipt-phone-form__country:focus-within,
#email-fields .coda-receipt-phone-form__number-wrap:focus-within {
  border: 2px solid #6242fc;
  box-shadow: 0 0 0 3px rgba(98, 66, 252, 0.12);
}

#email-fields .coda-receipt-phone-form__control.is-invalid .coda-receipt-phone-form__country,
#email-fields .coda-receipt-phone-form__control.is-invalid .coda-receipt-phone-form__number-wrap {
  border: 2px solid #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

#email-fields .coda-receipt-phone-form__number-wrap .coda-receipt-phone-form__number {
  width: 100%;
}

@media (max-width: 575px) {
  #email-fields .coda-receipt-phone-form__control {
    grid-template-columns: 128px minmax(0, 1fr);
  }
}
/* Compact split phone controls without clipping. */
#email-fields .coda-receipt-phone-form__input,
#email-fields .coda-receipt-phone-form__control,
#email-fields .coda-receipt-phone-form__number-wrap {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

#email-fields .coda-receipt-phone-form__input {
  width: 100%;
  overflow: visible !important;
}

#email-fields .coda-receipt-phone-form__control {
  width: 100%;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px;
}

#email-fields .coda-receipt-phone-form__country {
  min-width: 0;
  padding: 0 10px;
}

@media (max-width: 575px) {
  #email-fields .coda-receipt-phone-form__control {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 7px;
  }

  #email-fields .coda-receipt-phone-form__country {
    padding: 0 8px;
  }
}
/* Single numeric phone field. */
#email-fields #receipt-phone-country[hidden] {
  display: none !important;
}

#email-fields .coda-receipt-phone-form__control {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#email-fields .coda-receipt-phone-form__number {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 58px;
  border: 1px solid #c58ce0 !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  background: #ffffff;
}

#email-fields .coda-receipt-phone-form__number:focus {
  border: 2px solid #6242fc !important;
  box-shadow: 0 0 0 3px rgba(98, 66, 252, 0.12);
}

#email-fields .coda-receipt-phone-form__control.is-invalid .coda-receipt-phone-form__number {
  border: 2px solid #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}
/* Keep the username checkbox focus treatment borderless. */
#coda-ketupat-modal .coda-ketupat-show-username input:focus,
#coda-ketupat-modal .coda-ketupat-show-username input:focus-visible {
  outline: none;
  box-shadow: none;
}
/* Single-line account summary on order success. */
#coda-order-success-modal .coda-order-success-details {
  display: block;
  margin-top: 16px;
}

#coda-order-success-modal .coda-order-success-details p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #eef0f4;
  color: #20283a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
/* Order-success ornament matches the Enter Details card. */
#coda-order-success-modal .coda-order-success-modal-card {
  position: relative;
}

#coda-order-success-modal .coda-order-success-ornament {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10px;
  background-image: url("cc-assets.codashop.com/_nuxt/ornament.BU8Ny55Z.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

/* ==========================================================================
   Reduce bottom purple background height before SEO/FAQ section
   ========================================================================== */
.layout .layout__content {
  padding-bottom: 0 !important;
}

.layout .layout__content .layout__content__inner,
.product__purchase-form,
.product__purchase-steps-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.coda-main-buy-card.is-stopped {
  margin-top: 12px !important;
  margin-bottom: 4px !important;
}

.product__faq_section,
.theme--styled .product__faq_section,
.theme--styled-edge .product__faq_section {
  margin-top: 14px !important;
  padding-top: 14px !important;
}

@media (max-width: 767px) {
  .layout .layout__content .layout__content__inner,
  .product__purchase-form,
  .product__purchase-steps-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .coda-main-buy-card.is-stopped {
    margin-top: 10px !important;
    margin-bottom: 4px !important;
  }

  .product__faq_section,
  .theme--styled .product__faq_section,
  .theme--styled-edge .product__faq_section {
    margin-top: 10px !important;
  }
}
