/* Dog Date Walk — Trail Coral Navy */
:root {
  --bp-bg: #f1f4f8;
  --bp-surface: #ffffff;
  --bp-ink: #142033;
  --bp-muted: #5a6678;
  --bp-line: #d3dae6;
  --bp-coral: #b83f2a;
  --bp-cta: #9a3423;
  --bp-on: #ffffff;
  --bp-tint: #fceee9;
  --bp-navy: #1a3d52;
  --bp-navy-soft: #243f55;
  --bp-error: #9b1c1c;
  --bp-cookie-pad: 0px;
  --bp-radius: 6px;
  --bp-max: 1120px;
  --bp-font-display: "Outfit", system-ui, sans-serif;
  --bp-font-body: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-bottom: var(--bp-cookie-pad);
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--bp-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bp-ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(212, 92, 66, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(26, 61, 82, 0.07), transparent 50%),
    var(--bp-bg);
  min-height: 100vh;
}

/* Body pad while unanswered so footer can scroll clear of the fixed card */
body.bp-cookie-on {
  padding-bottom: var(--bp-cookie-pad);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bp-navy); text-underline-offset: 0.15em; }
a:hover { color: var(--bp-coral); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--bp-coral);
  outline-offset: 2px;
}

.bp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bp-navy);
  color: var(--bp-on);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.bp-skip:focus { left: 0.5rem; top: 0.5rem; }

.bp-wrap {
  width: min(100% - 2rem, var(--bp-max));
  margin-inline: auto;
}

/* Header */
.bp-header {
  background: var(--bp-surface);
  border-bottom: 1px solid var(--bp-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.bp-brand {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--bp-navy);
  text-decoration: none;
  line-height: 1.15;
}
.bp-brand span {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bp-muted);
}
.bp-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 0.45rem 0.7rem;
  font-family: var(--bp-font-display);
  font-size: 0.85rem;
  color: var(--bp-ink);
  cursor: pointer;
}
.bp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}
.bp-nav a {
  font-family: var(--bp-font-display);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--bp-ink);
}
.bp-nav a:hover { color: var(--bp-coral); }
.bp-nav a[aria-current="page"] {
  color: var(--bp-coral);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .bp-nav-toggle { display: inline-flex; }
  .bp-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bp-surface);
    border-bottom: 1px solid var(--bp-line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.15rem;
  }
  .bp-nav.is-open { display: flex; }
  .bp-nav a { padding: 0.65rem 0.25rem; min-height: 44px; }
  .bp-header { position: relative; }
  .bp-header.is-nav-open { z-index: 50; }
}

/* Buttons */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--bp-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.bp-btn--primary {
  background: var(--bp-coral);
  color: var(--bp-on);
}
.bp-btn--primary:hover {
  background: var(--bp-cta);
  color: var(--bp-on);
}
.bp-btn--ghost {
  background: transparent;
  color: var(--bp-navy);
  border: 1px solid var(--bp-navy);
}
.bp-btn--ghost:hover {
  border-color: var(--bp-coral);
  color: var(--bp-coral);
}
.bp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
/* Class display:inline-flex overrides UA [hidden]; keep aria-hidden buttons out of layout */
.bp-btn[hidden] {
  display: none !important;
}

/* Hero — full-bleed photo plane */
.bp-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: var(--bp-on);
  overflow: hidden;
}
.bp-hero__media {
  position: absolute;
  inset: 0;
}
.bp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bp-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 32, 51, 0.15) 0%, rgba(26, 61, 82, 0.82) 72%, rgba(26, 61, 82, 0.92) 100%);
}
.bp-hero__copy {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 calc(2.75rem + 0.25rem);
  max-width: 36rem;
}
.bp-hero__ctas .bp-btn {
  scroll-margin-bottom: calc(var(--bp-cookie-pad) + 12px);
}
.bp-hero__brand {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}
.bp-hero h1 {
  font-family: var(--bp-font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  margin: 0 0 0.65rem;
  color: #f5f7fa;
}
.bp-hero__lead {
  margin: 0 0 1.35rem;
  color: #dce3eb;
  font-size: 1.05rem;
}
.bp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.bp-hero .bp-btn--ghost {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}
.bp-hero .bp-btn--ghost:hover {
  border-color: #ffc9bc;
  color: #ffc9bc;
}

/* Sections */
.bp-section {
  padding: 2.35rem 0;
}
.bp-section--tint {
  background: var(--bp-tint);
}
.bp-section h2 {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--bp-ink);
}
.bp-section--navy {
  background: var(--bp-navy);
  color: #e8eef3;
}
.bp-section--navy a { color: #ffc9bc; }
.bp-section--navy h2 { color: #ffffff; }
.bp-section--navy .bp-btn--primary {
  color: var(--bp-on);
  background: var(--bp-coral);
}
.bp-section--navy .bp-btn--primary:hover {
  color: var(--bp-on);
  background: var(--bp-cta);
}
.bp-section--navy .bp-btn--ghost {
  border-color: #ffffff;
  color: #ffffff;
}
.bp-section--navy .bp-btn--ghost:hover {
  border-color: #ffc9bc;
  color: #ffc9bc;
  background: transparent;
}
.bp-section h3 {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}
.bp-lede {
  font-size: 1.1rem;
  color: var(--bp-muted);
  max-width: 42rem;
  margin: 0 0 1.25rem;
}
.bp-prose p { margin: 0 0 1rem; max-width: 68ch; }
.bp-prose ul,
.bp-prose ol {
  max-width: 68ch;
  padding-left: 1.25rem;
}
.bp-prose li { margin-bottom: 0.4rem; }

.bp-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .bp-split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .bp-split--flip > :first-child { order: 2; }
}

.bp-media-well {
  background: var(--bp-surface);
  border: 1px solid var(--bp-line);
  border-radius: 10px;
  padding: 1.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.bp-media-well img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.bp-price {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--bp-navy);
  font-variant-numeric: tabular-nums;
}
.bp-price small {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bp-muted);
  margin-top: 0.2rem;
}

.bp-facts {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}
@media (min-width: 700px) {
  .bp-facts { grid-template-columns: repeat(3, 1fr); }
}
.bp-fact {
  padding: 0;
  border: none;
  background: none;
}
.bp-fact strong {
  display: block;
  font-family: var(--bp-font-display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.bp-fact p {
  margin: 0;
  color: var(--bp-muted);
  font-size: 0.98rem;
}

.bp-gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .bp-gallery { grid-template-columns: repeat(4, 1fr); }
}
.bp-gallery figure {
  margin: 0;
  background: var(--bp-surface);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  overflow: hidden;
}
.bp-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  padding: 0.5rem;
}
.bp-gallery figcaption {
  font-family: var(--bp-font-display);
  font-size: 0.75rem;
  padding: 0.45rem 0.6rem 0.6rem;
  color: var(--bp-muted);
}

.bp-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.bp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: var(--bp-surface);
}
.bp-table th,
.bp-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--bp-line);
  vertical-align: top;
}
.bp-table th {
  font-family: var(--bp-font-display);
  font-weight: 700;
  background: var(--bp-tint);
  width: 38%;
}

.bp-band {
  border-top: 1px solid var(--bp-line);
  border-bottom: 1px solid var(--bp-line);
  padding: 1.25rem 0;
  margin: 1.5rem 0;
  font-family: var(--bp-font-display);
  font-size: 0.95rem;
  color: var(--bp-muted);
}

/* Forms */
.bp-form {
  display: grid;
  gap: 0.65rem;
  max-width: 36rem;
}
.bp-field label {
  display: block;
  font-family: var(--bp-font-display);
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}
.bp-field input:not([type="checkbox"]),
.bp-field select,
.bp-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  font: inherit;
  background: var(--bp-surface);
  color: var(--bp-ink);
  min-height: 44px;
}
.bp-field textarea { min-height: 72px; resize: vertical; }
.bp-field [aria-invalid="true"] {
  border-color: var(--bp-error);
}
.bp-field-error {
  color: var(--bp-error);
  font-size: 0.85rem;
  margin: 0.2rem 0 0;
  min-height: 0;
}
.bp-field-error:not(:empty) {
  min-height: 1.15em;
}
.bp-phone-row {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) 1fr;
  gap: 0.5rem;
}
/* Consent row: beat .bp-field label { display:block } + field input min-height */
.bp-field label.bp-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.45;
}
.bp-field label.bp-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  accent-color: var(--bp-accent, currentColor);
  /* First-line mid when label wraps; margin stays 0 */
  align-self: flex-start;
  font-size: inherit;
  transform: translateY(calc((1.45em - 18px) / 2));
}
.bp-field label.bp-check span {
  line-height: 1.45;
}

.bp-order-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .bp-order-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
.bp-summary {
  background: var(--bp-surface);
  border: 1px solid var(--bp-line);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  position: sticky;
  top: 5rem;
}
.bp-summary h2 {
  font-size: 1.2rem;
  margin-top: 0;
}
.bp-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--bp-line);
  font-size: 0.98rem;
}
.bp-row:last-of-type {
  border-bottom: none;
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 0.75rem;
}

.bp-paypal-slot {
  min-height: 2.5rem;
  margin-top: 0.75rem;
}
.bp-paypal-slot[hidden] {
  display: none !important;
}
.bp-paypal-retry {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--bp-navy);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}
.bp-paypal-retry:hover { color: var(--bp-coral); }
.bp-paypal-retry[hidden] {
  display: none !important;
}
.bp-note {
  font-size: 0.92rem;
  color: var(--bp-muted);
}

/* Footer */
.bp-footer {
  background: var(--bp-navy);
  color: #c5d0db;
  padding: 2.75rem 0 1.5rem;
  margin-top: 2rem;
}
.bp-footer a,
.bp-footer .bp-btn {
  scroll-margin-bottom: calc(var(--bp-cookie-pad) + 12px);
}
.bp-footer a { color: #ffc9bc; }
.bp-footer__grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 760px) {
  .bp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.bp-footer h2 {
  font-family: var(--bp-font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8eef3;
  margin: 0 0 0.65rem;
}
.bp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bp-footer li { margin-bottom: 0.4rem; }
.bp-footer a { text-decoration: none; font-size: 0.95rem; }
.bp-footer a:hover { text-decoration: underline; }
.bp-legal-name {
  font-family: var(--bp-font-display);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.bp-fine {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #b7c5d2;
  max-width: 72ch;
}
.bp-fine p { margin: 0 0 0.65rem; }

/* Cookie banner — slim bottom-right card; chrome ignores hits; only Accept/Reject capture */
.bp-cookie {
  position: fixed;
  z-index: 60;
  right: 0.5rem;
  bottom: 0.5rem;
  left: auto;
  /* Compact corner card — stay clear of left-aligned prose and mid-column links */
  width: min(7.25rem, calc(100vw - 1rem));
  background: var(--bp-surface);
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  padding: 0.4rem 0.45rem;
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.16);
  pointer-events: none;
}
@media (max-width: 420px) {
  .bp-cookie {
    width: min(6.75rem, calc(100vw - 1rem));
    right: 0.35rem;
    bottom: 0.35rem;
  }
}
.bp-cookie[hidden] {
  display: none !important;
}
.bp-cookie button {
  pointer-events: auto;
}
/* Policy link is also in the footer — keep banner hit-targets to Accept/Reject only */
.bp-cookie a {
  pointer-events: none;
}
.bp-cookie__inner {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}
.bp-cookie p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--bp-muted);
  pointer-events: none;
}
.bp-cookie__actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-shrink: 0;
}
.bp-cookie__actions .bp-btn {
  width: 100%;
  min-height: 40px;
  padding: 0.3rem 0.5rem;
  font-size: 0.84rem;
}

.bp-form .bp-btn--primary,
button[type="submit"].bp-btn,
main a,
.bp-footer a {
  scroll-margin-bottom: calc(var(--bp-cookie-pad) + 16px);
}

.bp-page-title {
  padding: 1.75rem 0 0.35rem;
}
.bp-page-title h1 {
  font-family: var(--bp-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.bp-thanks {
  background: var(--bp-tint);
  border: 1px solid var(--bp-line);
  border-radius: 10px;
  padding: 1.5rem;
}

details {
  border-bottom: 1px solid var(--bp-line);
  padding: 0.85rem 0;
}
details summary {
  font-family: var(--bp-font-display);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details p { margin: 0.65rem 0 0; color: var(--bp-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bp-btn { transition: none; }
}
