/* Graphite, champagne and silver foil in the real showroom, shared by home and shop. */
.gift-section { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: center; gap: clamp(2rem,5vw,5.5rem); margin-block: var(--section-gap); scroll-margin-top: calc(var(--sticky-header-height, 7rem) + 1rem); }
.gift-section:focus-visible { outline: 2px solid var(--gold-text); outline-offset: .5rem; }
.gift-section-shop { padding-top: clamp(2.5rem,5vw,5rem); border-top: 1px solid var(--line); }
.gift-art { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(12,minmax(0,1fr)); aspect-ratio: 1.2; min-width: 0; }
.gift-art-photo { grid-column: 3 / -1; grid-row: 1 / 11; min-width: 0; min-height: 0; background: var(--graphite-soft); }
.gift-art-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.gift-art-paper { container-type: inline-size; position: relative; isolation: isolate; grid-column: 1 / 12; grid-row: 6 / -1; display: flex; min-width: 0; min-height: min-content; flex-direction: column; justify-content: space-between; padding: clamp(1.25rem,3vw,2.5rem); background: var(--graphite) url('../images/gift-certificate/graphite-foil.webp') center / cover no-repeat; color: var(--frost-bright); }
.gift-art-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.gift-art-lockup { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 58%; max-width: 15rem; min-width: 0; }
.gift-art-logo { width: 100%; height: auto; overflow: visible; color: var(--brand-foil-mid); }
.gift-art-since { color: var(--brand-foil-mid); font-size: .8125rem; line-height: 1.25; letter-spacing: .14em; white-space: nowrap; }
.gift-art-location { max-width: 8ch; font-size: .8125rem; line-height: 1.35; color: var(--silver); }
.gift-art-denomination { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-block: 1.25rem; }
.gift-art-kind { margin-bottom: .45rem; font-size: 1rem; color: var(--silver); }
.gift-art-value { display: flex; align-items: baseline; gap: .18em; color: var(--gold-on-graphite); font-size: clamp(2.75rem,15cqw,5.5rem); font-weight: 300; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gift-art-currency { font-size: .48em; letter-spacing: 0; }
.gift-art-service { display: block; padding-top: .85rem; border-top: 1px solid var(--gold); border-image: linear-gradient(100deg,#9a7127,#dfc79f 42%,#d4dce2 72%,#9a7127) 1; font-size: 1rem; line-height: 1.35; }
.gift-logo-sheen { transform-box: fill-box; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
 .gift-art-paper :is(.gift-art-location,.gift-art-kind,.gift-art-service,[data-gift-amount],.gift-art-currency) {
  background-image: linear-gradient(110deg,transparent 38%,rgb(250 238 210 / .35) 44%,#fffdf5 50%,rgb(227 200 153 / .55) 56%,transparent 62%), linear-gradient(112deg,#d4dce2,#f5f3ec 28%,#dfc79f 52%,#eee6d7 72%,#d4dce2);
  background-size: 280% 100%,100% 100%; background-position: 0% 50%,0 0; background-repeat: no-repeat;
  background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
 }
 .gift-art-paper :is([data-gift-amount],.gift-art-currency) { background-image: linear-gradient(110deg,transparent 38%,rgb(250 238 210 / .35) 44%,#fffdf5 50%,rgb(227 200 153 / .55) 56%,transparent 62%), linear-gradient(112deg,#d0a85a,#f5e5bc 28%,#d8b66f 52%,#f1e6cf 72%,#d0a85a); }
}
/* The same one-time reflection as the team heading, when the card enters view. */
@media (prefers-reduced-motion: no-preference) {
 .gift-art-paper.has-foil-reflection :is(.gift-art-location,.gift-art-kind,.gift-art-service,[data-gift-amount],.gift-art-currency) { animation: gift-metal-reflection 4.6s cubic-bezier(.4,0,.2,1) .2s 1 both; }
 .gift-art-paper.has-foil-reflection .gift-logo-sheen { animation: gift-logo-reflection 4.6s cubic-bezier(.4,0,.2,1) .2s 1 both; }
 @keyframes gift-metal-reflection { from { background-position: 100% 50%,0 0; } to { background-position: 0% 50%,0 0; } }
 @keyframes gift-logo-reflection { from { transform: translateX(0); } to { transform: translateX(200%); } }
}
.gift-copy { min-width: 0; max-width: 32rem; }
.gift-copy h2 { max-width: 17ch; margin: 0; }
.gift-lead { max-width: 40ch; margin: 1.25rem 0 2rem; color: var(--text-muted); font-size: var(--body); line-height: 1.6; }
.gift-amount-form { margin: 0 0 1.25rem; }
.gift-amount-form label { display: block; margin-bottom: .75rem; font-size: 1rem; font-weight: 500; }
.gift-quick-amounts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin-bottom: .75rem; }
.gift-quick-amounts[hidden] { display: none; }
.gift-quick-amounts button,
.gift-amount-controls button { min-height: 3.25rem; padding: .65rem .5rem; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--graphite); font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: color var(--motion-fast), background-color var(--motion-fast), border-color var(--motion-fast); }
.gift-quick-amounts button[aria-pressed="true"] { color: var(--frost-bright); background: var(--graphite); border-color: var(--graphite); }
.gift-other-amounts summary { display: flex; align-items: center; gap: .65rem; width: fit-content; min-height: 2.75rem; list-style: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; }
.gift-other-amounts summary::-webkit-details-marker { display: none; }
.gift-other-amounts summary::after { content: ''; width: .45rem; height: .45rem; margin-top: -.2rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.gift-other-amounts[open] summary::after { margin-top: .2rem; transform: rotate(225deg); }
.gift-other-amounts summary:hover { color: var(--graphite); }
.gift-other-amounts summary:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.gift-amount-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.gift-amount-controls select { flex: 1 1 auto; width: 100%; max-width: none; }
.gift-amount-controls [hidden] { display: none; }
.gift-quick-amounts button:focus-visible,
.gift-amount-controls :is(select,button):focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.gift-copy .button { display: grid; grid-template-columns: 1.25rem minmax(0,1fr) auto; gap: .75rem; width: 100%; min-height: 3.5rem; padding: 1rem 1.25rem; font-size: 1rem; text-align: left; }
.gift-action-label { min-width: 0; line-height: 1.35; }
.gift-action-value { align-self: center; padding-left: .75rem; border-left: 1px solid var(--silver-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gift-copy .button .ui-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.gift-note { max-width: 47ch; margin: .85rem 0 0; color: var(--text-muted); font-size: .8125rem; line-height: 1.55; }
@media (hover: hover) {
 .gift-quick-amounts button:not([aria-pressed="true"]):hover,
 .gift-amount-controls button:hover { border-color: var(--graphite); background: var(--frost-bright); }
}
@media (max-width: 1023px) and (min-width: 768px) {
 .gift-section { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; }
 .gift-art { aspect-ratio: .85; }
 .gift-art-paper { grid-column: 1 / -1; grid-row: 6 / 12; padding: 1.25rem; }
 .gift-art-denomination { flex-direction: column; align-items: flex-start; gap: .65rem; }
 .gift-art-kind { margin: 0; }
}
@media (max-width: 767px) {
 .gift-section { grid-template-columns: minmax(0,1fr); gap: 1.75rem; }
 .gift-art { width: 100%; max-width: 35rem; aspect-ratio: 1.25; }
 .gift-art-paper { align-self: end; min-height: 11.25rem; padding: clamp(1rem,5vw,1.75rem); }
 .gift-art-denomination { margin-block: 1rem; gap: .5rem; }
 .gift-copy { grid-row: 1; max-width: none; }
 .gift-copy h2 { max-width: 18ch; }
 .gift-lead { margin: 1rem 0 1.5rem; }
 .gift-copy .button { padding: .95rem 1rem; gap: .6rem; font-size: .9375rem; }
 .gift-action-value { padding-left: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
 .gift-quick-amounts button,
 .gift-amount-controls button { transition: none; }
}
@media (forced-colors: active) {
 .gift-art-paper { background: Canvas; color: CanvasText; }
 .gift-art-paper :is(.gift-art-location,.gift-art-kind,.gift-art-service,[data-gift-amount],.gift-art-currency) { animation: none; background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
 .gift-art-service { border-image: none; border-color: CanvasText; }
 .gift-logo-foil { fill: CanvasText; }
 .gift-logo-sheen { display: none; }
 .gift-quick-amounts button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -3px; }
}

/* Four full amount labels need two rows on the narrowest phones. */
@media (max-width: 359px) {
 .gift-quick-amounts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
