/*
 * Grocery pages (about, delivery, returns, contact): a notice pinned on the shop's board. The board
 * is kraft cork; the title sits on a green notice strip held by two push pins; the text is a cream
 * sheet; a contact form or a page's password box is an order-pad slip with a torn top.
 */
.page.gn-notice {
  max-width: 52rem;
  padding: clamp(1.25rem, 4vw, 2.25rem) clamp(0.75rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 30%, rgb(91 60 23 / 0.08) 0 1px, #0000 1.5px) 0 0 / 9px 9px,
    radial-gradient(circle at 70% 80%, rgb(91 60 23 / 0.07) 0 1px, #0000 1.5px) 0 0 / 13px 11px,
    linear-gradient(180deg, #d9bb88, #cfae78);
  box-shadow:
    inset 0 0 0 0.45rem #9c7444,
    0 20px 34px -26px rgb(60 30 10 / 0.6);
}
.gn-head {
  position: relative;
  margin: 0 auto 1.25rem;
  padding: 1.1rem clamp(1rem, 3vw, 1.75rem) 1rem;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 6px 10px -6px rgb(0 0 0 / 0.4);
  rotate: -0.8deg;
  text-align: center;
}
.gn-title.gp-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
}
/* The push pins. */
.gn-pin {
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fde68a, #d97706);
  box-shadow: 0 3px 4px rgb(0 0 0 / 0.35);
}
.gn-pin-2 {
  left: auto;
  right: 1.2rem;
  background: radial-gradient(circle at 35% 35%, #fca5a5, #b91c1c);
}
/* The sheet. */
.gn-notice > .page-body:not([hidden]) {
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.1rem, 4vw, 2.2rem);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 8px 16px -10px rgb(60 30 10 / 0.45);
  color: var(--ink-2);
}
.gn-notice > .page-body :is(h2, h3) {
  font-family: var(--font-head);
  font-weight: 800;
}
.gn-notice > .page-body > :first-child {
  margin-top: 0;
}
.gn-notice > .page-body > :last-child {
  margin-bottom: 0;
}
/* A form: an order-pad slip with a torn top. */
.gn-notice :is(.contact-form, .page-unlock) {
  position: relative;
  max-width: none;
  margin: 1.75rem 0 0;
  border: 0;
  border-radius: 0 0 6px 6px;
  background: var(--paper);
  box-shadow: 0 8px 16px -10px rgb(60 30 10 / 0.45);
}
.gn-notice :is(.contact-form, .page-unlock)::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
  background: var(--teeth-up);
}
.gn-notice :is(.contact-form, .page-unlock) label {
  font-weight: 700;
}
.gn-notice :is(.contact-form, .page-unlock) .buy {
  width: 100%;
  min-height: 3.2rem;
}
