/* /boxes: the starter box and the gift box */
.boxhead__fig { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(201, 138, 94, .4); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); }
.boxhead__fig img { width: 100%; height: auto; display: block; }
@media (min-width: 900px) { .boxhead__fig { max-width: 520px; justify-self: end; } }

.boxcard { padding: clamp(40px, 6vw, 88px) 0; background: var(--ink); }
.boxcard:nth-of-type(odd) { background: var(--charcoal); }
.boxcard__in { display: grid; gap: clamp(22px, 3.4vw, 56px); align-items: center; }
@media (min-width: 900px) { .boxcard__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.boxcard__media { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.boxcard__media li { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule-d); background: #101113; }
.boxcard__media li:first-child { grid-column: 1 / -1; }
.boxcard__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; display: block; }
.boxcard__media li:first-child img { aspect-ratio: 16 / 10; }
.boxcard__media span { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(11, 12, 13, .78); font: 600 .75rem/1.2 var(--f-slab); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-hi); }
.boxcard h2 { font-size: var(--t-h2); margin: 6px 0 10px; }
.boxcard__who { margin: 12px 0 16px; color: var(--mute-d); max-width: 52ch; }
.boxcard__list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--rule-d); }
.boxcard__list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule-d); font-size: .9375rem; }
.boxcard__list b { font-variant-numeric: tabular-nums; color: var(--copper); white-space: nowrap; }
.boxcard__inc span { color: var(--mute-d); }
.boxcard__inc b { font: 600 var(--t-rim)/1.4 var(--f-slab); letter-spacing: .14em; text-transform: uppercase; }
.boxcard__sum { font-weight: 700; font-size: 1.0625rem; border-bottom: 0 !important; }
.boxcard__sum b { font: 700 1.375rem/1 var(--f-slab); }
.boxcard__buy { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.boxcard__buy .field { display: grid; gap: 4px; }
.boxcard__buy label { font: 600 var(--t-rim)/1.2 var(--f-slab); letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.boxcard__one { margin: 0; align-self: center; color: var(--mute-d); }
/* the size picker matches the pill button beside it, with a full-size tap target */
.boxcard__buy .select {
  -webkit-appearance: none; appearance: none; min-height: 48px; min-width: 116px; padding: 0 44px 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(201, 138, 94, .55); color: var(--chalk); font: 600 .9375rem/1 var(--f-body);
  background: rgba(11, 12, 13, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c98a5e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 18px center / 12px 8px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, .08); transition: border-color .2s;
}
.boxcard__buy .select:hover { border-color: var(--copper); }
.boxcard__buy .select:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.boxcard__buy .select option { background: var(--charcoal); color: var(--chalk); }
.boxcard__fine { margin-top: 12px; font-size: var(--t-small, .8125rem); color: var(--mute-d); max-width: 56ch; }
.boxcoin { padding: clamp(40px, 6vw, 84px) 0; }
.boxcoin__in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .boxcoin__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }
.boxcoin h2 { font-size: var(--t-h2); margin: 6px 0 10px; }
.boxcoin .boxcard__fine { color: var(--mute-l); }

/* two images: side by side, no empty half-cell */
.boxcard__media li:first-child:nth-last-child(2), .boxcard__media li:first-child:nth-last-child(2) + li { grid-column: auto; }
.boxcard__media li:first-child:nth-last-child(2) img { aspect-ratio: 1; }
