/* /gift page. Builds on book.css (the page also has the page-book class). */

@media (max-width: 799px) {
  body.page-gift #gift-app,
  body.page-gift #gift-form { flex: 1 0 auto; display: flex; flex-direction: column; }
}

body.page-gift .book__sub.gift__first { margin-top: 4px; }

/* ---------- Gift picks: photo cards with a red slash (same look as the new service buttons) ---------- */

body.page-gift .gift__choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border: 0;
  margin: 0 0 14px;
  padding: 0;
}
@media (min-width: 800px) {
  body.page-gift .book__wrap { max-width: 900px; }
  body.page-gift .gift__choices { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

body.page-gift .gift-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.08);
  transition: box-shadow 250ms ease, transform 250ms ease, border-color 200ms ease;
}
body.page-gift .gift-pick:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 18px 40px rgba(0,0,0,.14); }
body.page-gift .gift-pick.is-selected { border-color: #EB1B18; }
body.page-gift .gift-pick:focus-within { outline: 3px solid #EB1B18; outline-offset: 2px; }

body.page-gift .gift-pick__radio { position: absolute; opacity: 0; pointer-events: none; }

body.page-gift .gift-pick__photo { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
body.page-gift .gift-pick__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms ease; }
body.page-gift .gift-pick:hover .gift-pick__photo img { transform: scale(1.05); }
body.page-gift .gift-pick__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
body.page-gift .gift-pick__photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 30px; background: #EB1B18; clip-path: polygon(0 100%, 100% 0, 100% 22%, 0 122%); z-index: 1; }

body.page-gift .gift-pick__badge {
  position: absolute; left: 18px; bottom: 4px; z-index: 2;
  width: 50px; height: 50px; border-radius: 50%;
  background: #000; border: 3px solid #fff; color: #fff;
  display: grid; place-items: center;
}
body.page-gift .gift-pick__badge svg { width: 24px; height: 24px; }

/* Check mark in the photo corner once picked. */
body.page-gift .gift-pick::after {
  content: ""; position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(0,0,0,.35);
}
body.page-gift .gift-pick.is-selected::after {
  content: "✓"; background: #EB1B18; border-color: #EB1B18; color: #fff;
  font: 700 16px/26px Roboto, sans-serif; text-align: center;
}

body.page-gift .gift-pick__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 10px 20px 20px; }
body.page-gift .gift-pick__title { font: 800 24px/1.05 "Roboto Condensed", sans-serif; text-transform: uppercase; color: #111; }
body.page-gift .gift-pick__price { font: 800 40px/1 "Roboto Condensed", sans-serif; color: #EB1B18; }
body.page-gift .gift-pick__desc { color: #5A5A5A; font-size: 15px; line-height: 1.45; flex: 1; margin-bottom: 12px; }

body.page-gift .gift-pick__cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: 8px;
  border: 2px solid #000; background: #fff; color: #000;
  font: 800 16px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  transition: background 200ms, color 200ms, border-color 200ms;
}
body.page-gift .gift-pick:hover .gift-pick__cta { background: #000; color: #fff; }
body.page-gift .gift-pick.is-selected .gift-pick__cta { background: #EB1B18; border-color: #EB1B18; color: #fff; }

body.page-gift .book__row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 600px) { body.page-gift .book__row { grid-template-columns: 1fr 1fr; } }

body.page-gift .gift-pick__amount {
  display: flex; align-items: center; gap: 6px;
  font: 800 34px/1 "Roboto Condensed", sans-serif; color: #EB1B18;
}
body.page-gift .gift-pick__amount input {
  width: 130px; min-height: 46px; padding: 4px 10px;
  border: 1px solid #C8C8C8; border-radius: 8px; background: #fff;
  font: 800 26px/1 "Roboto Condensed", sans-serif; color: #111;
}
body.page-gift .gift-pick__amount input:focus { outline: none; border-color: #EB1B18; box-shadow: 0 0 0 1px #EB1B18; }

/* ---------- Buttons: bold red and black, like the new service buttons ---------- */

body.page-gift .gift-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 8px; cursor: pointer;
  font: 800 19px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; transition: background 200ms, color 200ms, border-color 200ms;
}
body.page-gift .gift-btn svg { width: 20px; height: 20px; transition: transform 250ms ease; }
body.page-gift .gift-btn:hover svg { transform: translateX(4px); }
body.page-gift .gift-btn--red { background: #EB1B18; color: #fff; border: 2px solid #EB1B18; }
body.page-gift .gift-btn--red:hover, body.page-gift .gift-btn--red:focus-visible { background: #000; border-color: #000; color: #fff; }
body.page-gift .gift-btn--line { background: #fff; color: #000; border: 2px solid #000; }
body.page-gift .gift-btn--line:hover, body.page-gift .gift-btn--line:focus-visible { background: #000; color: #fff; }
body.page-gift .gift-btn:disabled { opacity: .6; cursor: default; }
body.page-gift .book__nav .gift-btn { width: 100%; }
@media (min-width: 800px) { body.page-gift .book__nav .gift-btn { width: auto; min-width: 280px; } }

body.page-gift .gift__hint { margin-top: -4px; font-size: 14px; }
body.page-gift .gift__terms { margin-top: 12px; font-size: 14px; }

body.page-gift .gift__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
body.page-gift .gift__actions .btn { min-height: 52px; }

/* ---------- The certificate ---------- */

body.page-gift .gift-cert {
  position: relative;
  max-width: 620px;
  margin: 6px auto 0;
  padding: 28px 24px 24px;
  border: 3px solid #EB1B18;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  color: #111;
}

body.page-gift .gift-cert__logo { width: 260px; max-width: 80%; height: auto; margin: 0 auto 14px; display: block; }

body.page-gift .gift-cert__kicker {
  margin: 0 0 10px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: #EB1B18;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.page-gift .gift-cert__to { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
body.page-gift .gift-cert__what { margin: 0 0 12px; font-size: 18px; }
body.page-gift .gift-cert__note { margin: 0 auto 12px; max-width: 460px; font-style: italic; color: #333; }
body.page-gift .gift-cert__from { margin: 0 0 16px; color: #5A5A5A; }

body.page-gift .gift-cert__code {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 12px;
  padding: 10px 20px;
  border: 2px dashed #111;
  border-radius: 10px;
}

body.page-gift .gift-cert__code span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #5A5A5A; }
body.page-gift .gift-cert__code strong { font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 26px; letter-spacing: 0.06em; }

body.page-gift .gift-cert__left { margin: 0 0 8px; font-weight: 700; }
body.page-gift .gift-cert__how { margin: 0 0 8px; font-size: 15px; }
body.page-gift .gift-cert__terms { margin: 0; font-size: 12px; color: #5A5A5A; }

body.page-gift .gift-cert__test {
  margin: -8px 0 12px;
  padding: 6px 10px;
  background: #FFF4D6;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

@media print {
  body.page-gift .site-sticky,
  body.page-gift .mobile-nav,
  body.page-gift .site-footer,
  body.page-gift .book-band,
  body.page-gift .gift__actions,
  body.page-gift .book__aside,
  body.page-gift .skip-link { display: none !important; }
  body.page-gift .book-sheet { padding: 0; }
  body.page-gift .gift-cert { margin-top: 40px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Top band: photo with a dark wash, red top line ---------- */

body.page-gift .gift-hero {
  position: relative; overflow: hidden;
  background: #111 url(/images/work-banner-shed.webp) center 35% / cover no-repeat;
  color: #fff; border-top: 4px solid #EB1B18; border-bottom: 0;
  padding: 30px 0 26px;
}
body.page-gift .gift-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.78) 50%, rgba(10,10,10,.35) 100%);
}
body.page-gift .gift-hero .book__wrap { position: relative; z-index: 2; }
body.page-gift .gift-hero .book__title { color: #fff; text-transform: uppercase; }
body.page-gift .gift-hero .book__lead { color: #e6e6e6; font-size: 17px; max-width: 620px; }
body.page-gift .gift-hero__kicker {
  margin: 0 0 4px; font: 700 13px/1.2 Roboto, sans-serif; letter-spacing: .1em;
  text-transform: uppercase; color: #ff6b68;
}
body.page-gift .gift-hero__points { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
body.page-gift .gift-hero__points li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); font: 700 14px/1.2 Roboto, sans-serif; color: #fff;
}
body.page-gift .gift-hero__points li::before { content: "\2713"; color: #ff6b68; font-weight: 700; }
@media (min-width: 800px) { body.page-gift .gift-hero { padding: 46px 0 40px; } }

/* Which words show: Christmas words from Dec 1 to Dec 24 (Eastern), set by the script in the page head */
body.page-gift [data-xmas] { display: none; }
html.shp-xmas body.page-gift [data-xmas] { display: revert; }
html.shp-xmas body.page-gift [data-normal] { display: none; }

/* ---------- Christmas look, Dec 1 to Dec 24 ---------- */

html.shp-xmas body.page-gift .gift-hero { background: #0d4a2c; border-top: 0; padding-top: 38px; }
html.shp-xmas body.page-gift .gift-hero::before {
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.75) 2px, transparent 2.5px);
  background-size: 90px 90px, 60px 60px, 140px 140px;
  background-position: 0 0, 30px 25px, 70px 40px;
}
html.shp-xmas body.page-gift .gift-hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 1;
  background: repeating-linear-gradient(135deg, #EB1B18 0 14px, #fff 14px 28px);
}
html.shp-xmas body.page-gift .gift-hero__kicker { color: #ffd76a; }
html.shp-xmas body.page-gift .gift-hero .book__lead { color: #e8f3ec; }
html.shp-xmas body.page-gift .gift-hero__points li { background: rgba(0,0,0,.25); }
html.shp-xmas body.page-gift .gift-hero__points li::before { color: #ffd76a; }
html.shp-xmas body.page-gift .gift-pick__badge { background: #0d4a2c; }
html.shp-xmas body.page-gift .gift-cert { border-color: #0d4a2c; box-shadow: inset 0 8px 0 -2px #EB1B18; }
@media print { html.shp-xmas body.page-gift .gift-cert { box-shadow: none; } }
