.cart-added-dialog {
  width: min(480px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 24px 72px rgba(14, 22, 18, .3);
  overflow: auto;
}
.cart-added-dialog::backdrop {
  background: rgba(14, 22, 18, .62);
}
.cart-added-shell,
.cart-added-page {
  position: relative;
  padding: 24px 20px 16px;
}
.cart-added-page {
  max-width: 480px;
  margin: 0 auto;
}
.cart-added-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.cart-added-close:hover {
  background: var(--gold-soft);
}
.cart-added-close svg {
  width: 20px;
  height: 20px;
}
.cart-added-close svg,
.quick-add-close svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.quick-add-close {
  width: 44px;
  height: 44px;
}
.cart-added-heading {
  padding-right: 26px;
}
.cart-added-check {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(156, 163, 106, .18);
  color: var(--deep-olive);
  font-size: 25px;
}
.cart-added-heading .h2 {
  margin: 12px 0 20px;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.15;
}
.cart-added-product {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.cart-added-product img,
.cart-added-placeholder {
  width: 68px;
  height: 80px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--bg);
}
.cart-added-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold);
  padding: 16px;
  box-sizing: border-box;
}
.cart-added-product strong,
.cart-added-product span {
  display: block;
}
.cart-added-product div > span {
  color: var(--text-2);
  margin-top: 4px;
  font-size: 14px;
}
.cart-added-count {
  margin: 16px 0 4px;
  font-weight: 700;
}
.cart-added-note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-2);
}
.cart-added-actions {
  display: grid;
  gap: 10px;
}
.cart-added-actions .btn {
  min-height: 50px;
  white-space: normal;
  text-align: center;
}
.cart-added-review {
  display: grid;
  place-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cart-add-error {
  color: var(--danger);
  margin: 0;
}
.cart-add-error a {
  text-decoration: underline;
}
html.cart-confirmation-open {
  overflow: hidden;
}
[data-cart-add-form][aria-busy="true"] button[type="submit"] {
  opacity: .65;
  cursor: wait;
}
@media (min-width: 600px) {
  .cart-added-shell,
  .cart-added-page {
    padding: 30px 30px 20px;
  }
}
