#preorder-checkout {
  margin-block: 1rem;
}
#preorder-checkout > summary {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: #e8ba73;
  color: #302012;
  box-shadow: 0 3px 0 #98622e;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
}
#preorder-checkout > summary::-webkit-details-marker {
  display: none;
}
#preorder-checkout > summary:hover {
  background: #f1cb91;
}
#preorder-checkout > summary:focus-visible {
  outline: 3px solid #674321;
  outline-offset: 4px;
}
#preorder-form:not([hidden]) {
  display: grid;
  gap: .6rem;
}
#preorder-form label {
  display: grid;
  gap: .25rem;
}
#preorder-form input, #preorder-form select {
  width: 100%;
  box-sizing: border-box;
  padding: .5rem;
  font: inherit;
}

.cart-product-preview {
  position: relative;
  cursor: zoom-in;
}
.cart-product-preview > img {
  position: absolute;
  z-index: 2;
  inset-block-start: calc(100% + .25rem);
  inset-inline-start: 0;
  width: min(12rem, 60vw);
  height: auto;
  aspect-ratio: 1;
  padding: .25rem;
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 4px 16px #0003;
  object-fit: contain;
  visibility: hidden;
  pointer-events: none;
}
.cart-product-preview:hover > img,
.cart-product-preview:focus-visible > img {
  visibility: visible;
}

.header-cart {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid #98622e;
  border-radius: 999px;
  background: #e8ba73;
  color: #302012;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.header-cart:hover {
  background: #f1cb91;
}
.header-cart:focus-visible {
  outline: 3px solid #98622e;
  outline-offset: 3px;
}

a.account-link {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: .5rem;
  background: #783c2b;
  color: #fff8ee;
  font-weight: 700;
  text-decoration: none;
}
a.account-link:hover {
  background: #623021;
  color: #fff8ee;
  text-decoration: underline;
}
a.account-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}
