.commerce-panel {
  color: #e6f5ed;
  font-family: 'Nunito', sans-serif;
  padding: clamp(16px, 3vw, 28px);
  background: radial-gradient(ellipse at 15% 0%, #315f68, transparent 60%), #122e40;
}
.commerce-panel * {
  box-sizing: border-box;
}
.commerce-panel button {
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}
.commerce-panel button:focus-visible,
.commerce-panel input:focus-visible {
  outline: 3px solid #acffff;
  outline-offset: 4px;
}
.commerce-panel button:disabled {
  cursor: default;
  opacity: 0.55;
}
.commerce-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.commerce-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 1.9px;
  font-weight: 900;
  color: #a4dadb;
}
.commerce-panel h2,
.commerce-panel h3 {
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  margin: 8px 0;
  line-height: 1.08;
}
.commerce-panel h2 {
  font-size: clamp(26px, 4.2vw, 39px);
  color: #fff0bd;
}
.commerce-panel h3 {
  font-size: 27px;
}
.commerce-panel p {
  margin: 8px 0;
  line-height: 1.4;
}
.commerce-wallet {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: #0b2433aa;
  border: 1px solid #619095;
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 20px;
  color: #b0f5fc;
}
.commerce-wallet img {
  width: 29px;
  height: 29px;
  filter: drop-shadow(0 0 7px #56f5ef66);
}
.commerce-tabs {
  display: flex;
  gap: 7px;
  margin: 20px 0 18px;
}
.commerce-tabs button {
  flex: 1;
  min-height: 40px;
  padding: 8px 6px;
  border: 1px solid #9bbdc0;
  border-radius: 10px;
  color: #355967;
  background: linear-gradient(#faf7e9, #dce7d5);
  box-shadow: 0 3px #92a99e;
  font:
    18px/1.1 'Lilita One',
    sans-serif;
}
.commerce-tabs button[aria-current='page'] {
  color: #fff1c8;
  border-color: #7ebbc4;
  background: linear-gradient(#408799, #25566d);
  box-shadow:
    0 3px #09283b,
    inset 0 1px #c8efff33;
}
.commerce-offers {
  display: grid;
  gap: 16px;
}
.commerce-offer {
  position: relative;
  overflow: hidden;
  border: 1px solid #80bcc155;
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(150deg, #315d68, #183e51 72%);
  box-shadow: 0 7px 0 #091f2d66;
}
.commerce-offer-gems {
  padding-top: 150px;
  text-align: center;
}
.commerce-offer-gems h3 {
  font-size: clamp(43px, 7vw, 64px);
  color: #a8f5ff;
  text-shadow: 0 4px #126b7f;
}
.commerce-offer-copy p {
  color: #d4e7e8;
  font-size: 16px;
}
.commerce-gems-art {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 260px;
  height: 145px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #5de9e961, transparent 65%);
}
.commerce-gems-art img {
  position: absolute;
  width: 115px;
  height: 115px;
  object-fit: contain;
  bottom: 8px;
  filter: drop-shadow(0 7px 6px #092833);
  animation: commerce-float 5s ease-in-out infinite;
}
.commerce-gems-art img:nth-child(1) {
  left: 0;
  transform: rotate(-15deg);
  animation-delay: -2s;
}
.commerce-gems-art img:nth-child(2) {
  left: 70px;
  bottom: 22px;
  width: 125px;
  height: 125px;
}
.commerce-gems-art img:nth-child(3) {
  right: 0;
  transform: rotate(12deg);
  animation-delay: -1s;
}
.commerce-buy {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  margin-top: 18px;
  font:
    22px/1.1 'Lilita One',
    sans-serif;
}
.commerce-buy strong {
  white-space: nowrap;
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  font-size: 28px;
}
.commerce-buy i {
  font-family: 'Nunito', sans-serif;
  font-style: normal;
  margin-left: 8px;
}
.commerce-providers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  border: 0;
  margin: 20px 0 8px;
  padding: 0;
}
.commerce-providers legend {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #a9c8cf;
  margin-bottom: 10px;
}
.commerce-providers label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 11px;
  border: 1px solid #678a96;
  background: #1d3e4e;
  cursor: pointer;
  font-weight: 800;
}
.commerce-providers input {
  accent-color: #78e4e8;
}
.commerce-phone {
  display: block;
  max-width: 360px;
  margin: 14px auto 0;
  font-size: 13px;
  font-weight: 800;
}
.commerce-phone span {
  display: block;
  color: #a8c2cb;
  font-size: 11px;
  font-weight: 400;
}
.commerce-phone input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 9px;
  border: 1px solid #7ba0ad;
  color: #163a4b;
  background: #eff7ee;
  font: inherit;
}
.commerce-payment-note {
  text-align: center;
  color: #bad2d6;
  font-size: 12px;
  max-width: 420px;
  margin: 18px auto 10px !important;
}
.commerce-back {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: #c0dade;
  box-shadow: none;
  font-size: 16px;
  font-weight: 900;
}
.commerce-panel .commerce-fine {
  font-size: 12px;
  color: #bcd2d5;
}
.commerce-offer-temple {
  padding-left: 112px;
  min-height: 170px;
}
.commerce-offer-temple .commerce-buy {
  width: calc(100% + 92px);
  margin-left: -92px;
}
.commerce-temple-art {
  position: absolute;
  top: 24px;
  left: 17px;
  width: 80px;
  height: 100px;
  filter: drop-shadow(0 8px 4px #09283388);
}
.commerce-temple-art:before {
  content: '';
  position: absolute;
  inset: 30px 4px 5px;
  background: linear-gradient(90deg, #c3d7bb, #f4e6ad, #c5d7b7);
  clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 100%, 0 100%);
}
.commerce-temple-art:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 12px;
  background: #ebd389;
  border-radius: 4px;
  box-shadow: 0 -6px #b3cbb7;
}
.commerce-temple-art i {
  position: absolute;
  bottom: 10px;
  left: 15px;
  width: 12px;
  height: 42px;
  background: linear-gradient(90deg, #97b8b7, #e6edcd);
  border-radius: 3px;
}
.commerce-temple-art i:nth-child(2) {
  left: 34px;
}
.commerce-temple-art i:nth-child(3) {
  left: 53px;
}
.commerce-temple-art img {
  position: absolute;
  width: 48px;
  left: 16px;
  top: 0;
  filter: drop-shadow(0 0 12px #7fece8);
}
.commerce-temple-vault {
  background: #071f2c88;
  border: 1px solid #82cfcd66;
  padding: 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.commerce-temple-vault h3 {
  font-size: 24px;
  color: #c9f8eb;
}
.commerce-temple-vault p {
  font-size: 13px;
  color: #c4dadb;
}
.commerce-vault-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.commerce-vault-count img {
  width: 32px;
}
.commerce-vault-count strong {
  font:
    36px 'Lilita One',
    sans-serif;
  color: #a5f4ff;
}
.commerce-vault-count span {
  font-size: 13px;
  color: #b1c8ce;
}
.commerce-vault-track {
  height: 12px;
  border-radius: 20px;
  background: #031924;
  overflow: hidden;
  margin: 8px 0;
  border: 1px solid #6da0a4;
}
.commerce-vault-track i {
  display: block;
  height: 100%;
  background: linear-gradient(#a4fff1, #3bbdc0);
  border-radius: inherit;
  transition: width 0.5s ease;
}
.commerce-claim {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 1px solid #b3f6ea;
  background: linear-gradient(#72d5c9, #3f9d9b);
  border-radius: 12px;
  padding: 12px;
  color: #103b47;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 4px #24696e;
  margin: 14px 0 5px;
}
.commerce-claim img {
  width: 24px;
}
.commerce-heli-art {
  width: 145px;
  height: 100px;
  object-fit: contain;
  float: right;
  filter: drop-shadow(0 9px 5px #062b39);
}
.commerce-offer-helicopter h3 {
  font-size: 32px;
}
.commerce-offer-helicopter .commerce-buy {
  clear: both;
}
.commerce-gift {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 0;
}
.commerce-gift h2 {
  font-size: 40px;
}
.commerce-gift p {
  font-size: 17px;
}
.commerce-gift-art {
  width: 160px;
  height: 150px;
  margin: 10px auto;
  position: relative;
  background: radial-gradient(ellipse, #70eae755, transparent 65%);
}
.commerce-gift-art img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px #041f2c);
  animation: commerce-float 4s ease-in-out infinite;
}
.commerce-gift-art i {
  position: absolute;
  right: 0;
  top: 20px;
  color: #fff3c8;
  font-size: 29px;
}
.commerce-no-charge {
  display: inline-block;
  margin: 12px 0 2px;
  padding: 6px 14px;
  border-radius: 30px;
  background: #8fe0bf22;
  color: #b9f5db;
  font-size: 13px;
  font-weight: 900;
}
.commerce-error:empty,
.commerce-status:empty {
  display: none;
}
.commerce-error {
  padding: 10px;
  border-radius: 10px;
  background: #8f403e55;
  color: #ffe8d7;
  font-size: 14px;
}
.commerce-status {
  color: #b9f5db;
  font-size: 14px;
}
.commerce-pending {
  border: 1px solid #9ed5d5;
  border-radius: 12px;
  padding: 14px;
  margin-top: 18px;
}
.commerce-pending p {
  font-size: 13px;
}
.commerce-pending button {
  color: #102f42;
  background: #b6e5db;
  border-radius: 9px;
  border: 0;
  padding: 9px 16px;
  font-weight: 900;
}
.commerce-empty {
  text-align: center;
  padding: 35px 0;
}
@keyframes commerce-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@media (max-width: 480px) {
  .commerce-heading {
    align-items: flex-start;
  }
  .commerce-wallet {
    font-size: 16px;
    padding: 7px;
  }
  .commerce-wallet img {
    width: 22px;
    height: 22px;
  }
  .commerce-kicker {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .commerce-buy {
    font-size: 16px;
    padding: 12px;
  }
  .commerce-buy strong {
    font-size: 25px;
  }
  .commerce-offer-temple {
    padding-left: 94px;
  }
  .commerce-offer-temple .commerce-buy {
    width: calc(100% + 74px);
    margin-left: -74px;
  }
  .commerce-temple-art {
    left: 7px;
  }
  .commerce-offer-temple h3 {
    font-size: 24px;
  }
  .commerce-gift h2 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-panel * {
    animation: none !important;
    transition: none !important;
  }
}

/* The shared dialog furniture uses ID selectors; keep its light-paper colors out of the store. */
#modal[data-variant='commerce'] {
  width: min(680px, calc(100% - 24px));
  background: #122e40;
}
#modal[data-variant='commerce'] .modal-body {
  padding: 0;
  color: #e6f5ed;
}
#modal[data-variant='commerce'] .modal-body h2 {
  color: #fff0bd;
  font-size: clamp(26px, 4.2vw, 39px);
  margin: 8px 0;
}
#modal[data-variant='commerce'] .modal-body p {
  color: #c8e0e2;
  font-size: 15px;
  line-height: 1.4;
  margin: 8px 0;
}
#modal[data-variant='commerce'] .modal-body p strong {
  color: #e9fff5;
}
#modal[data-variant='commerce'] .modal-body .commerce-fine,
#modal[data-variant='commerce'] .modal-body .commerce-payment-note {
  font-size: 12px;
  color: #bad2d6;
}
#modal[data-variant='commerce'] .commerce-tabs button {
  padding: 11px 6px;
  font-size: 15px;
  border-radius: 12px 12px 0 0;
}
#modal[data-variant='commerce'] .commerce-buy {
  padding: 13px 18px;
  font-size: 18px;
  border-radius: 16px;
}
#modal[data-variant='commerce'] .commerce-back {
  font-size: 16px;
}
#modal[data-variant='commerce'] .modal-body > .commerce-gift {
  padding: 26px;
}
@media (max-width: 480px) {
  #modal[data-variant='commerce'] .commerce-buy {
    padding: 12px;
    font-size: 16px;
  }
}
