.abc-banner-calculator {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.abc-banner-calculator *,
.abc-banner-calculator *::before,
.abc-banner-calculator *::after {
  box-sizing: border-box;
}

.abc-banner-calculator__header {
  margin-bottom: 24px;
}

.abc-banner-calculator__header h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.15;
}

.abc-banner-calculator__header p {
  margin: 0;
  color: #475569;
}

.abc-banner-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.abc-banner-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.abc-banner-fieldset > .abc-banner-grid.abc-banner-grid--two {
  align-items: end;
}

.abc-banner-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.abc-banner-calculator label,
.abc-banner-fieldset {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.abc-banner-calculator label span,
.abc-banner-fieldset legend {
  font-weight: 600;
  color: #0f172a;
}

.abc-banner-fieldset legend {
  width: 100%;
  margin: 0 0 4px;
  text-align: center;
}

.abc-banner-calculator input,
.abc-banner-calculator select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
}

.abc-banner-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.abc-banner-note-box,
.abc-banner-summary,
.abc-banner-alert {
  border-radius: 14px;
  padding: 18px;
}

.abc-banner-note-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.abc-banner-note-box ul {
  margin: 8px 0 8px 18px;
}

.abc-sticker-savings-box strong {
  display: block;
  margin-bottom: 12px;
}

.abc-sticker-savings-list {
  display: grid;
  gap: 8px;
}

.abc-sticker-savings-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  appearance: none;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.abc-sticker-savings-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.abc-sticker-savings-item:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.abc-sticker-savings-item.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.abc-sticker-savings-item__qty {
  font-weight: 700;
  color: #0f172a;
}

.abc-sticker-savings-item__price {
  color: #0f172a;
}

.abc-sticker-savings-item__save {
  color: #166534;
  font-weight: 700;
}

.abc-sticker-savings-empty {
  margin: 0;
  color: #475569;
}

.abc-banner-summary {
  margin-top: 8px;
  background: #0f172a;
  color: #fff;
}

.abc-banner-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.abc-banner-summary__row:last-child {
  border-bottom: 0;
}

.abc-banner-alert {
  margin-top: 16px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}

.abc-banner-alert p {
  margin: 0 0 8px;
}

.abc-banner-alert p:last-child {
  margin-bottom: 0;
}

.abc-banner-actions {
  margin-top: 20px;
}

.abc-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.abc-banner-actions__note {
  margin: 12px 0 0;
  color: #475569;
}

.abc-cart-artwork-preview,
.abc-cart-artwork-thumb {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  background: #fff;
}

.abc-cart-artwork-thumb {
  width: 96px;
  height: 96px;
}

@media (max-width: 760px) {
  .abc-banner-calculator {
    padding: 20px;
  }

  .abc-banner-grid--two,
  .abc-banner-grid--three,
  .abc-banner-fieldset > .abc-banner-grid.abc-banner-grid--two {
    grid-template-columns: 1fr;
  }

  .abc-banner-summary__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .abc-sticker-savings-item {
    grid-template-columns: 1fr;
  }
}
