.jr-wrap { box-sizing: border-box; min-width: 0; margin: 1.6rem 0; padding: 1.4rem 0; border: 0; border-block: 1px solid rgba(var(--color-foreground, 34,34,34), .12); border-radius: 0; background: transparent; color: inherit; font-family: inherit; font-size: 1.4rem; line-height: 1.5; }
.jr-wrap-heading { display: block; margin-bottom: 1rem; font-weight: 600; }
.jr-wrap { container: jr-gift-wrap / inline-size; }
.jr-wrap-patterns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.jr-wrap-card { position: relative; display: block; min-width: 0; cursor: pointer; text-align: left; }
.jr-wrap-card > input { position: absolute; z-index: 1; top: .4rem; right: .4rem; width: 1.5rem; height: 1.5rem; min-height: 0; margin: 0; accent-color: rgb(var(--color-button, 0,100,210)); cursor: inherit; }
.jr-wrap-card-content { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid rgba(var(--color-foreground, 34,34,34), .2); border-radius: .8rem; background: rgb(var(--color-background, 255,255,255)); }
.jr-wrap-card > input:checked + .jr-wrap-card-content { border-color: rgb(var(--color-button, 0,100,210)); box-shadow: 0 0 0 1px rgb(var(--color-button, 0,100,210)); }
.jr-wrap-card:hover > input:not(:disabled) + .jr-wrap-card-content { border-color: rgb(var(--color-button, 0,100,210)); }
.jr-wrap-card > input:focus-visible + .jr-wrap-card-content, .jr-wrap button:focus-visible { outline: 2px solid rgb(var(--color-button, 0,100,210)); outline-offset: 3px; }
.jr-wrap-card > input:disabled + .jr-wrap-card-content { opacity: .5; cursor: not-allowed; }
.jr-wrap-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; font-size: 1.1rem; background: rgba(var(--color-foreground, 34,34,34), .04); color: rgba(var(--color-foreground, 34,34,34), .6); }
.jr-wrap-footer { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; margin-top: 1rem; }
.jr-wrap-summary { order: -1; text-align: left; overflow-wrap: anywhere; }
.jr-wrap-selected-name, .jr-wrap-selected-price { display: inline; }
.jr-wrap-selected-price:not(:empty)::before { content: ' — '; }
.jr-wrap-selected-name { font-weight: 600; font-size: 1.3rem; }
.jr-wrap-selected-price { font-size: 1.2rem; }
@container jr-gift-wrap (max-width: 300px) {
  .jr-wrap-patterns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.jr-wrap button { min-height: 4.4rem; font: inherit; font-weight: 600; padding: .8rem 1.4rem; margin: 1rem .6rem 0 0; border: 1px solid rgba(var(--color-foreground, 34,34,34), .25); border-radius: var(--inputs-radius, .8rem); color: inherit; background: rgb(var(--color-background, 255,255,255)); cursor: pointer; }
.jr-wrap button:hover { border-color: currentColor; }
.jr-wrap button:disabled { opacity: .5; cursor: wait; }
.jr-wrap-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.jr-wrap p { margin: .8rem 0 0; }
.jr-wrap [hidden] { display: none !important; }
.jr-wrap-note { margin-block: .5rem; font-size: 1.3rem; }
.jr-wrap-status { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 10001; padding: 1rem; background: #fff; color: #222; box-shadow: 0 2px 16px #0004; border: 1px solid #777; }
.jr-wrap-status button { float: right; margin-left: 1rem; }
.jr-wrap-child { border-inline-start: 3px solid #777; }
.jr-wrap-child-hidden { display: none !important; }
.jr-wrap.jr-wrap-cart { border: 0; padding: 0; margin-block: .8rem; font-size: 1.2rem; }
.jr-wrap-cart-summary { display: flex; gap: .8rem; align-items: center; }
.jr-wrap-cart-thumbnail { display: block; width: 36px; height: 36px; flex: 0 0 36px; object-fit: cover; border-radius: .4rem; }
.jr-wrap-cart-caption { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.jr-wrap-cart-price { font-weight: 600; white-space: nowrap; }
.jr-wrap-cart-review { width: 100%; }
.jr-wrap-cart-actions { display: block; }
.jr-wrap-cart-editor { min-width: 0; }
.jr-wrap-cart-editor > summary { display: block; padding-block: .6rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2rem; }
.jr-wrap-cart-editor > summary::-webkit-details-marker { display: none; }
.jr-wrap-cart-editor > summary:focus-visible { outline: 2px solid rgb(var(--color-button, 0,100,210)); outline-offset: 2px; }
.jr-wrap-cart-editor > .jr-wrap { margin: .4rem 0; padding-block: 1rem; }
.jr-wrap-pending { opacity: .65; }
