/* Offers page — extends site styles.css */

.offers-page .primary-nav a[href="offers.html"] {
  color: var(--coral);
}

.offers-page .page-hero {
  padding: 2.25rem 0 3.25rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 191, 63, 0.22), transparent 32%),
    linear-gradient(135deg, #12263a 0%, #183d55 55%, #173d31 100%);
}

/* Home crumb must not inherit .page-hero p (1.15rem / 720px / muted) */
.offers-page .page-hero .hero-crumb {
  margin: 0 0 1.35rem;
  max-width: none;
  font-size: 0.85rem;
  line-height: 1.2;
  color: inherit;
}
.offers-page .page-hero .home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.15rem 0;
}
.offers-page .page-hero .home-link:hover { color: #fff; }

.offers-page .page-hero .section-kicker {
  display: inline-block;
  margin-top: 0.15rem;
}

.offers-page .page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.offers-page .page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.offers-page .page-hero .button { margin-top: 0; }

.offers-empty {
  padding: 2.25rem 0 2.5rem;
  background: #fffaf5;
  border-bottom: 1px solid rgba(18, 38, 58, 0.06);
}
.coming-soon-note {
  background: #fff;
  border: 1px dashed rgba(18, 38, 58, 0.18);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
  max-width: 760px;
}
.coming-soon-note h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0.4rem 0 0.45rem;
}
.coming-soon-note p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.share-offer-section {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, #f6f2fa 0%, #eee8f5 100%);
  border-top: 1px solid rgba(18, 38, 58, 0.06);
  scroll-margin-top: 1rem;
}
.share-intro {
  margin-bottom: 1.75rem;
  max-width: 720px;
}
.share-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0.35rem 0 0.55rem;
}
.share-intro > p {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

.design-preview-block {
  margin-bottom: 2.25rem;
}
.preview-heading {
  font-size: 1.05rem;
  font-weight: 850;
  margin: 0 0 0.35rem;
}
.preview-lede {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 62ch;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
@media (max-width: 820px) {
  .offers-grid { grid-template-columns: 1fr; }
}

/* Base coloured box — still a vivid card if inner markup fails */
.offer-display {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 18px 45px rgba(18, 38, 58, 0.18);
  border: 4px solid #12263a;
  background: #ffbf3f;
  color: #12263a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
}
.offer-display.is-selected {
  outline: 4px solid #2d6cdf;
  outline-offset: 5px;
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(18, 38, 58, 0.28);
}
.offer-display .offer-sector {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer-display .offer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.35rem 0;
}
.offer-display .offer-meta { font-size: 0.85rem; opacity: 0.85; }
.offer-display .design-tag {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.offer-display .blurred-name {
  display: inline-block;
  filter: blur(5px);
  user-select: none;
  letter-spacing: 0.08em;
  font-weight: 800;
  pointer-events: none;
}
.offer-display .blurred-blocks {
  letter-spacing: 0.12em;
  font-weight: 900;
  opacity: 0.55;
  user-select: none;
}

/* Design A — Bold flash: navy box + yellow flash strip */
.offer-a {
  background: #12263a !important;
  color: #fff !important;
  border: 4px solid #ffbf3f !important;
  box-shadow: 0 20px 48px rgba(18, 38, 58, 0.32), inset 0 0 0 2px rgba(255, 191, 63, 0.35);
  padding: 0 !important;
}
.offer-a .offer-a-strip {
  background: #ffbf3f;
  color: #12263a;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.offer-a .offer-a-deal {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}
.offer-a .offer-a-urgency {
  background: #12263a;
  color: #ffbf3f;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  text-align: center;
  max-width: 7.5rem;
  line-height: 1.25;
  border: 2px solid #ffbf3f;
}
.offer-a .offer-a-body {
  padding: 1.45rem 1.4rem 1.55rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #18344d;
}
.offer-a .offer-sector { color: #83d8b6; }
.offer-a .offer-title { font-size: 1.55rem; color: #fff; }
.offer-a .offer-meta { color: rgba(255, 255, 255, 0.78); }
.offer-a .offer-a-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 2px solid rgba(255, 191, 63, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.offer-a .blurred-name,
.offer-a .blurred-blocks { color: #ffbf3f; }

/* Design B — Soft lifestyle: full peach/mint coloured box (never plain white) */
.offer-b {
  background:
    linear-gradient(165deg, #ffd4c2 0%, #ffe8b8 48%, #c8eadc 100%) !important;
  color: #12263a !important;
  border: 4px solid #ff715b !important;
  box-shadow: 0 20px 48px rgba(255, 113, 91, 0.28);
  padding: 0 !important;
}
.offer-b .offer-b-visual {
  height: 128px;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 191, 63, 0.85), transparent 48%),
    radial-gradient(circle at 80% 30%, rgba(47, 125, 104, 0.55), transparent 42%),
    linear-gradient(135deg, #ff9a7a 0%, #ffd36a 55%, #6ec9a5 100%);
  position: relative;
  border-bottom: 4px solid rgba(18, 38, 58, 0.12);
}
.offer-b .offer-b-visual.theme-food {
  background:
    radial-gradient(circle at 25% 50%, rgba(255, 113, 91, 0.55), transparent 48%),
    linear-gradient(135deg, #ff715b 0%, #ffbf3f 58%, #7dcea0 100%);
}
.offer-b .offer-b-visual.theme-health {
  background:
    radial-gradient(circle at 70% 40%, rgba(157, 111, 168, 0.5), transparent 45%),
    linear-gradient(135deg, #c39bd3 0%, #7dcea0 55%, #ffbf3f 100%);
}
.offer-b .local-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: #12263a;
  color: #ffbf3f;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(18, 38, 58, 0.22);
  border: 2px solid #ffbf3f;
}
.offer-b .offer-b-body {
  padding: 1.3rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.55), rgba(255, 232, 196, 0.85));
}
.offer-b .offer-sector { color: #c0392b; }
.offer-b .offer-title { font-size: 1.45rem; margin: 0.4rem 0 0.5rem; color: #12263a; }
.offer-b .offer-meta { color: #3d4d58; }
.offer-b .offer-b-name {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.82rem;
  color: #3d4d58;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  justify-content: space-between;
  border-top: 2px solid rgba(255, 113, 91, 0.35);
}
.offer-b .blurred-name,
.offer-b .blurred-blocks { color: #12263a; }

/* Design C — Voucher ticket: coral/cream coloured box */
.offer-c {
  background:
    repeating-linear-gradient(
      90deg,
      #fff3d6 0,
      #fff3d6 12px,
      #ffe0c2 12px,
      #ffe0c2 24px
    ) !important;
  color: #12263a !important;
  border: 4px dashed #c0392b !important;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(192, 57, 43, 0.22);
  padding: 0 !important;
}
.offer-c::before,
.offer-c::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #eee8f5;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.offer-c::before {
  left: -14px;
  box-shadow: inset -2px 0 0 rgba(192, 57, 43, 0.45);
}
.offer-c::after {
  right: -14px;
  box-shadow: inset 2px 0 0 rgba(192, 57, 43, 0.45);
}
.offer-c .offer-c-inner {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 113, 91, 0.18), rgba(255, 243, 214, 0.4));
}
.offer-c .offer-c-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.offer-c .present-tag {
  background: #c0392b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}
.offer-c .sector-pill {
  background: #176645;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}
.offer-c .offer-title { font-size: 1.6rem; color: #12263a; }
.offer-c .offer-c-deal {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: #c0392b;
  margin: 0.2rem 0 0.55rem;
  font-weight: 500;
}
.offer-c .offer-meta { color: #3d4d58; }
.offer-c .offer-c-perf {
  margin: 1.1rem 0 0.9rem;
  border-top: 3px dashed #c0392b;
}
.offer-c .offer-c-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  margin-top: auto;
}
.offer-c .blurred-name,
.offer-c .blurred-blocks { color: #12263a; }

.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .share-layout { grid-template-columns: 1fr; }
}
.share-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.6rem 1.8rem;
  box-shadow: 0 18px 45px rgba(18, 38, 58, 0.1);
}
.form-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  font-weight: 500;
}
.share-form-card > p {
  color: var(--muted);
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
}
.offer-form { display: grid; gap: 1rem; }
.offer-form .field { display: grid; gap: 0.35rem; }
.offer-form fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.offer-form legend {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.45rem;
  padding: 0;
}
.offer-form label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
}
.offer-form .optional { font-weight: 600; color: var(--muted); }
.offer-form input,
.offer-form select,
.offer-form textarea {
  font: inherit;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fffdf8;
  color: var(--ink);
}
.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
  outline: 2px solid rgba(45, 108, 223, 0.35);
  outline-offset: 1px;
  border-color: #2d6cdf;
}
.offer-form textarea { min-height: 88px; resize: vertical; }
.offer-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .offer-form .field-row { grid-template-columns: 1fr; }
}
.design-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
@media (max-width: 560px) {
  .design-choices { grid-template-columns: 1fr; }
}
.design-choice {
  position: relative;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.65rem;
  background: #f7f6f1;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}
.design-choice:hover {
  border-color: rgba(18, 38, 58, 0.28);
  transform: translateY(-1px);
}
.design-choice:has(input:checked),
.design-choice.selected {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 38, 58, 0.08);
}
.design-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.design-choice strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.design-choice small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
}
.design-choice .swatch {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  margin-bottom: 0.55rem;
}
.design-choice .swatch-a { background: linear-gradient(90deg, #ffbf3f 45%, #12263a 45%); }
.design-choice .swatch-b { background: linear-gradient(90deg, #ff715b, #ffd36a 50%, #6ec9a5); }
.design-choice .swatch-c {
  background: repeating-linear-gradient(90deg, #fff3d6 0, #fff3d6 6px, #ff715b 6px, #ff715b 12px);
  border: 1px dashed #c0392b;
}
.offer-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}
.offer-form .button { margin-top: 0; }
.offer-form .form-hint { font-size: 0.78rem; color: var(--muted); margin: 0; }
.offer-form .form-status {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  min-height: 1.2em;
  margin: 0;
}
.share-side .info-card { margin-bottom: 1rem; }
.share-side .info-card:last-child { margin-bottom: 0; }
.share-side .workflow-list li { color: var(--ink-2); }
.design-legend {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.design-legend li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.82rem;
  color: var(--muted);
}
.design-legend b {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75rem;
}
.design-legend li:nth-child(2) b { background: #ff715b; color: #fff; }
.design-legend li:nth-child(3) b { background: #c0392b; color: #fff; }
.offers-page .site-footer { margin-top: 0; }
.offers-page .approval-strip { background: #eee8f5; padding: 0 0 2rem; }

/* Business directory match status (share-an-offer gate) */
.business-match-status {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  min-height: 1.2em;
  color: var(--muted);
}
.business-match-status.is-match {
  color: var(--green, #176645);
}
.business-match-status.is-warn {
  color: var(--coral, #ff715b);
  display: grid;
  gap: 0.65rem;
}
.business-match-status .match-list-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.15rem;
  text-decoration: none;
}
