.gallery-order-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
}
.gallery-order-links .purchase-note { flex-basis: 100%; grid-column:1 / -1; }
.gallery-order-links .artist-storefront-buy {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .4rem .75rem;
  border: 1px solid #b5a184;
  border-radius: .35rem;
  color: #182631;
  background: #f2e9db;
  text-decoration: none;
}
.gallery-order-links .artist-storefront-buy:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.gallery-order-links [data-studio-print] { background: #273d38; color: #fff; border-color: #273d38; font-weight: 650; }

.gallery-order-links .artist-storefront-buy[data-purchase-intent]{display:inline-flex;align-items:center;justify-content:center;min-height:2.85rem;padding:.55rem 1rem;font-weight:700;text-decoration:none;border:1px solid #285344;line-height:1.3;flex:1 1 6.5rem}
.gallery-order-links .artist-storefront-buy[data-purchase-intent="bag"]{background:#fffdf7;color:#193d31}
.gallery-order-links .artist-storefront-buy[data-purchase-intent="buy"],.studio-primary{color:#fff;background:#204b3b}
.gallery-order-links .artist-storefront-buy:hover{box-shadow:inset 0 0 0 1px currentColor}
.gallery-order-links:has([data-purchase-intent]){
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6.3rem),1fr));gap:.5rem;
  width:100%;max-width:23rem;margin-top:.4rem;align-items:stretch
}
.gallery-order-links .artist-storefront-buy[data-purchase-intent]{
  justify-self:stretch;justify-content:center;box-sizing:border-box;text-align:center;
  min-height:46px;padding:.55rem .75rem;border:1px solid #7e9788;border-radius:5px;
  line-height:1.25;font-size:.94rem;font-weight:650;text-decoration:none
}
.gallery-order-links .artist-storefront-buy[data-purchase-intent=buy]{background:#193f33;color:#fffdf7;border-color:#193f33}
.gallery-order-links .artist-storefront-buy[data-purchase-intent=bag]{background:#fcfaf4;color:#193f33}
.gallery-order-links .artist-storefront-buy[data-purchase-intent]:focus-visible{outline:3px solid #b76626;outline-offset:3px}
@media(hover:hover){
  .gallery-order-links .artist-storefront-buy[data-purchase-intent=buy]:hover{background:#102f26}
  .gallery-order-links .artist-storefront-buy[data-purchase-intent=bag]:hover{background:#eaf0e7}
}
.customer-account-link,.digital-bag-shortcut,.album-customer-nav a{display:inline-flex;align-items:center;min-height:2.75rem;gap:.4rem;font-weight:650;text-underline-offset:.2em}
.customer-account-link{padding:.3rem .7rem;color:inherit;border:1px solid currentColor;border-radius:.35rem;text-decoration:none}
.album-customer-nav{display:flex;gap:1.1rem;flex-wrap:wrap}
.studio-format-tabs{display:flex;gap:.5rem;margin:0 0 1rem}
.studio-format-tabs button,.studio-zip-options button{min-height:2.8rem;padding:.55rem .9rem;background:#fffdf7;color:#193d31;border:1px solid #8aa293;border-radius:.35rem;font:inherit;font-weight:650;cursor:pointer}
.studio-format-tabs button[aria-pressed=true]{background:#204b3b;color:white;border-color:#204b3b}
.studio-primary{display:inline-flex;justify-content:center;align-items:center;min-height:3rem;text-decoration:none;font:inherit;font-weight:700}
.studio-zip-options[hidden],.studio-canvas-form[hidden],.studio-primary[hidden]{display:none!important}
.studio-canvas-form{display:grid;gap:.85rem}
.studio-canvas-form .wide-button,.studio-primary{background:#204b3b;color:white;border-radius:.4rem;padding:.85rem 1.15rem}
.digital-bag-shortcut{color:#214c39;padding-block:.55rem}
.cart-digital-editions { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid #cad4c7; border-radius: .4rem; background: #f5f7ef; color: #193c2f; }
.cart-digital-editions h3 { margin: 0 0 .5rem; font: 650 1.05rem/1.4 system-ui,sans-serif; }
.cart-digital-editions ul { list-style: none; margin: 0; padding: 0; }
.cart-digital-editions li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem 0; border-top: 1px solid #d6ddd0; }
.cart-digital-editions small { display: block; }
.cart-digital-editions .cart-zip-remove { min-height: 2.75rem; padding: .45rem .7rem; border: 1px solid #8c9b8f; border-radius: .3rem; color: #214b39; background: #fffdf8; cursor: pointer; }
.cart-digital-editions .digital-bag-shortcut { text-decoration: underline; }
.cart-digital-editions p:empty { display: none; }
