/* Shop layout: exactly two equal cards per row on desktop. */
#shop-grid.shop-redesign-grid,
.shop-redesign-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 18px !important;
}

.shop-redesign-grid .shop-product-card,
.shop-redesign-grid .shop-product-card:only-child {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
}

/* Dedicated prompt dialog used by checkout coupons and admin text prompts. */
#mbox:has(.panel-prompt-dialog) {
  width: min(510px, calc(100vw - 28px));
  max-width: 510px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(240, 56, 75, .13), transparent 39%),
    linear-gradient(155deg, rgba(20, 20, 24, .98), rgba(10, 10, 13, .99));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .64), 0 0 0 1px rgba(255, 255, 255, .015) inset;
}

.panel-prompt-dialog {
  position: relative;
  padding: 31px;
}

.panel-prompt-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 31px;
  right: 31px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 56, 75, .72), transparent);
}

.panel-prompt-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.panel-prompt-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 56, 75, .22);
  border-radius: 14px;
  color: #ff5366;
  font-size: 17px;
  background: rgba(240, 56, 75, .075);
  box-shadow: 0 12px 28px rgba(240, 56, 75, .08);
}

.panel-prompt-kicker {
  display: block;
  margin-bottom: 5px;
  color: #ff5366;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.panel-prompt-dialog h3 {
  margin: 0 !important;
  color: #fff;
  font-size: 23px;
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.5px;
}

.panel-prompt-description {
  margin: 0 0 19px;
  color: rgba(246, 246, 248, .61);
  font-size: 13px;
  line-height: 1.55;
}

.panel-prompt-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panel-prompt-field {
  position: relative;
}

.panel-prompt-field > i {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .34);
  font-size: 13px;
  pointer-events: none;
}

.panel-prompt-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 43px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #fff;
  font: 650 14px/1 var(--fm);
  letter-spacing: .35px;
  background: rgba(0, 0, 0, .25);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.panel-prompt-field input::placeholder {
  color: rgba(255, 255, 255, .24);
  font-weight: 500;
}

.panel-prompt-field input:focus {
  border-color: rgba(240, 56, 75, .55);
  background: rgba(16, 8, 11, .86);
  box-shadow: 0 0 0 3px rgba(240, 56, 75, .09);
}

.panel-prompt-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .34);
  font-size: 10px;
  line-height: 1.4;
}

.panel-prompt-hint i {
  color: rgba(255, 255, 255, .43);
}

.panel-prompt-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .065);
}

.panel-prompt-actions .btn {
  width: 100%;
  height: 47px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 740;
}

.panel-prompt-actions .bs {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .65);
}

.panel-prompt-actions .bp {
  background: linear-gradient(135deg, #f0384b, #d91f38);
  box-shadow: 0 12px 28px rgba(240, 56, 75, .18);
}

@media (max-width: 760px) {
  #shop-grid.shop-redesign-grid,
  .shop-redesign-grid {
    grid-template-columns: 1fr !important;
  }

  .panel-prompt-dialog { padding: 24px 20px 20px; }
  .panel-prompt-dialog::before { left: 20px; right: 20px; }
  .panel-prompt-head { grid-template-columns: 43px minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
  .panel-prompt-icon { width: 43px; height: 43px; border-radius: 12px; }
  .panel-prompt-dialog h3 { font-size: 21px; }
}

@media (max-width: 420px) {
  .panel-prompt-actions { grid-template-columns: 1fr; }
}
