/* Gift cards (2026-11-02). Bläck och hårfina linjer som resten av galleri-läget. */
.gift-market { margin: 1.2rem 0 1.6rem; font-size: .95rem; }
.gift-market select { font: inherit; padding: .3em .5em; border: 1px solid rgba(35,22,18,.35); border-radius: 2px; background: #fbf8f2; color: var(--ink-bone); }
.gift-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.gift-tier { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem 1.2rem 1.2rem; border: 1px solid rgba(35,22,18,.18); border-radius: 2px; background: rgba(251,248,242,.55); min-width: 0; }
.gift-tier--rec { border-color: rgba(35,22,18,.55); }
.gift-tier h2 { margin: 0; font-size: 1.35rem; }
.gift-tier__price { margin: 0; font-size: 1.9rem; font-weight: 500; letter-spacing: -.01em; }
.gift-tier__tag { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; min-height: 1.2em; }
.gift-tier__cover { margin: 0; padding: 0; list-style: none; font-size: .92rem; line-height: 1.45; flex: 1; }
.gift-tier__cover li { padding: .35rem 0; border-top: 1px solid rgba(35,22,18,.1); }
.gift-tier__cover strong { font-weight: 600; display: block; }
.gift-tier .btn { width: 100%; justify-content: center; }
.gift-tier__msg { margin: 0; font-size: .88rem; }
.gift-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .9rem; }
.gift-steps li { counter-increment: s; padding-left: 2.3rem; position: relative; }
.gift-steps li::before { content: counter(s); position: absolute; left: 0; top: -.05em; width: 1.6rem; height: 1.6rem; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; }
.gift-faq h3 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; }
.gift-faq p { margin: 0; }
@media (max-width: 860px) { .gift-tiers { grid-template-columns: 1fr; } }

/* The printable card: A5 landscape (210 × 148 mm) */
.gcard { width: 100%; max-width: 760px; aspect-ratio: 210 / 148; display: grid; grid-template-columns: 42% 1fr; background: #fbf8f2; color: var(--ink-bone);
  border: 1px solid rgba(35,22,18,.18); box-shadow: 0 1px 2px rgba(35,22,18,.08), 0 12px 30px -18px rgba(35,22,18,.45); margin: 1.5rem 0; overflow: hidden; }
.gcard__art { background: #2a1d18; display: flex; align-items: center; justify-content: center; padding: 6%; min-width: 0; }
.gcard__art img { max-width: 100%; max-height: 100%; object-fit: contain; outline: 3px solid #fbf8f2; outline-offset: 0; box-shadow: 0 0 0 9px #fbf8f2; }
.gcard__body { padding: 6% 6% 5%; display: flex; flex-direction: column; gap: .45em; min-width: 0; font-size: clamp(.62rem, 1.55vw, .95rem); }
.gcard__kicker { font-family: var(--f-pencil); font-size: 2.1em; line-height: 1; margin: 0; }
.gcard__line { margin: 0; }
.gcard__what { margin: .15em 0 0; font-size: 1.9em; line-height: 1.05; font-weight: 500; letter-spacing: -.01em; }
.gcard__from { margin: 0; opacity: .75; }
.gcard__code { margin: .5em 0 .2em; padding: .45em .6em; border: 1px dashed rgba(35,22,18,.5); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.35em; letter-spacing: .08em; text-align: center; }
.gcard__msg { margin: .2em 0; font-style: italic; white-space: pre-wrap; overflow-wrap: anywhere; }
.gcard__how { margin-top: auto; font-size: .85em; line-height: 1.35; opacity: .85; }
.gcard__brand { font-family: "Cormorant Garamond", Georgia, serif; text-transform: uppercase; letter-spacing: .14em; font-size: 1.05em; }
.gcard__credit { font-size: .75em; opacity: .65; margin: 0; }
.gift-tools { display: grid; gap: .8rem; max-width: 760px; }
.gift-tools label { display: grid; gap: .25rem; font-size: .92rem; }
.gift-tools input, .gift-tools textarea { font: inherit; padding: .45em .6em; border: 1px solid rgba(35,22,18,.35); border-radius: 2px; background: #fbf8f2; color: var(--ink-bone); }
.gift-tools__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.gift-motifs button { font: inherit; padding: .35em .8em; border: 1px solid rgba(35,22,18,.35); background: transparent; color: inherit; border-radius: 2px; cursor: pointer; }
.gift-motifs button[aria-pressed="true"] { background: var(--ink-bone); color: var(--bone); }
.gift-codeline code { font-size: 1.15rem; letter-spacing: .06em; }
@media print {
  @page { size: A5 landscape; margin: 0; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  body > :not(main), main > :not([data-gift-card]), [data-gift-card] > :not([data-gift-ready]), [data-gift-ready] > :not(.gcard) { display: none !important; }
  main, [data-gift-card], [data-gift-ready] { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .gcard { width: 210mm; height: 147mm; max-width: none; aspect-ratio: auto; margin: 0; border: 0; box-shadow: none; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gcard__body { font-size: 10.5pt; }
}
.j-main .gift-tiers, .j-main .gift-tier__cover, .j-main .gift-steps { padding-left: 0; margin-left: 0; }
.j-main .gift-tiers > li, .j-main .gift-tier__cover > li { list-style: none; margin-left: 0; }
.j-main .gift-tiers > li::before, .j-main .gift-tier__cover > li::before { content: none; }
