/* The recovered gift pages use their own display lettering and the shop body font. */
@font-face {
  font-family: "Oswald Ship"; src: url("/assets/gifts/oswald-700-cyrillic.woff2") format("woff2");
  font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Amatic Ship"; src: url("/assets/gifts/amatic-sc-700-cyrillic.woff2") format("woff2");
  font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.info-page.gift-page { max-width: 1200px; }
.gift-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.gift-tabs a { display: grid; place-items: center; min-height: 40px; padding: 5px 15px; border: 1.5px solid var(--accent); border-radius: 22px; font-size: 14px; font-weight: 650; }
.gift-tabs a:is(:hover, :focus-visible) { background: var(--soft); }
.gift-tabs a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.gift-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(18px, 4vw, 42px); padding: clamp(16px, 4vw, 46px); border-radius: 25px; background: color-mix(in srgb, var(--accent) 52%, white); }
.gift-hero__copy { min-width: 0; }
.gift-subtitle { font: 700 clamp(28px, 4vw, 39px)/1 "Amatic Ship", "Chiron GoRound TC", sans-serif; }
.gift-hero h1 { color: var(--brand-red); font: 700 clamp(30px, 4.6vw, 62px)/1.06 "Oswald Ship", "Chiron GoRound TC", sans-serif; text-transform: uppercase; margin: 7px 0 14px; letter-spacing: 0; overflow-wrap: break-word; }
.gift-lead { max-width: 47ch; margin: 0 0 16px; }
.gift-hero h2 { font-size: 16px; margin-bottom: 6px; }
.gift-nominals, .gift-tiers, .gift-who { display: grid; gap: 6px; }
.gift-nominals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gift-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gift-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gift-form { max-width: 550px; }
.gift-form .gift-choice { border: 0; padding: 0; }
.gift-choice legend { padding: 0; margin-bottom: 5px; font-size: 14px; }
.gift-choice label { position: relative; gap: 0; cursor: pointer; }
.gift-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gift-choice label > span { display: grid; align-content: center; min-width: 0; min-height: 40px; padding: 6px 3px; border: 1px solid transparent; border-radius: 9px; background: white; text-align: center; }
.gift-choice input:checked + span { border-color: var(--ink); background: var(--soft); font-weight: 700; }
.gift-choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.gift-tiers b { color: var(--brand-red-ink); }
.gift-tiers small { font-size: 11px; }
.gift-nominals label:last-child { grid-column: 1 / -1; }
.gift-form .muted { color: var(--ink); font-size: 13px; }
.gift-form .check a { font-weight: 700; }
.gift-form input[type="date"] { -webkit-appearance: none; appearance: none; }
.gift-contact { background: var(--ink); color: #fff; }
.gift-contact:is(:hover, :focus-visible) { background: #111; color: #fff; }
.gift-contact:focus-visible { outline-color: var(--ink); }
.gift-confirmation { overflow-wrap: anywhere; padding: 8px 11px; border-radius: 8px; background: white; font-size: 14px; }
.gift-art { width: 100%; height: auto; border-radius: 11px; box-shadow: 0 8px 24px #2222; }
.gift-art--wedding { width: min(100%, 275px); justify-self: center; }
.gift-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gift-gallery figure { margin: 0; min-width: 0; padding: 5px; background: #fff; border-radius: 8px; }
.gift-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.gift-gallery figcaption { padding: 3px; text-align: center; font-size: 12px; }
.gift-section { margin: 25px 0; }
.gift-section h2 { margin-bottom: 11px; font-size: clamp(23px, 3vw, 31px); }
.gift-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 10px; }
.gift-steps article { padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.gift-steps article h3 { font-size: 16px; margin-bottom: 5px; }
.gift-steps article p { color: var(--muted); font-size: 14px; }

@media (max-width: 767px) {
  .gift-hero { grid-template-columns: minmax(0, 1fr); }
  .gift-art--certificate, .gift-gallery { width: min(100%, 430px); justify-self: center; }
  .gift-art--wedding { width: min(100%, 225px); }
}
@media (max-width: 430px) {
  .gift-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .gift-tabs a { padding-inline: 3px; font-size: 12px; text-align: center; }
  .gift-nominals label, .gift-tiers label { font-size: 12px; }
}
