:root {
  --bg: #f1f0eb;
  --ink: #171717;
  --muted: #5d5a56;
  --card: #fdfcf8;
  --line: #d2ccc2;
  --accent: #ef5a29;
  --accent-soft: #ffd6c8;
  --ok: #1f8f5e;
  --warn: #d79b1d;
  --bad: #c93a3a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(239, 90, 41, 0.12), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(19, 126, 96, 0.14), transparent 24%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.wrap {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.topbar {
  padding: 20px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(140deg, #188d72, var(--accent));
  transform: rotate(12deg);
}

.hero {
  border: 1px solid #000;
  border-radius: 30px;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(145deg, #fff 5%, #f7f3ed 75%);
  box-shadow: 8px 8px 0 #121212;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 700;
}

.hero h1 {
  margin: 10px 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1.9rem, 4.7vw, 3.5rem);
  line-height: 1.03;
  max-width: 900px;
}

.hero p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
}

.pickup-info {
  margin-top: 12px !important;
  max-width: 860px !important;
  border: 1px solid #c7b8a1;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 246, 232, 0.9);
  color: #5a4f3e !important;
  font-weight: 700;
}

.price-ribbon {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-ribbon article {
  position: relative;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.price-ribbon article:hover {
  transform: translateY(-2px);
  border-color: #8d8578;
}

.price-ribbon article h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.price-ribbon article p {
  margin: 4px 0 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.45rem;
}

.price-ribbon .focus {
  border-color: #1d1d1d;
  background: linear-gradient(180deg, #1d1d1d, #2a2a2a);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.price-ribbon .focus::after {
  content: '';
  position: absolute;
  inset: -35% auto auto -45%;
  width: 64%;
  height: 180%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(16deg);
  animation: bundleShimmer 4.6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.price-ribbon .focus h3 {
  color: #d6d6d6;
}

.price-ribbon article.selected {
  border-color: #101010;
  box-shadow: inset 0 0 0 2px #101010;
}

.price-ribbon article.selected::before {
  content: '';
  position: absolute;
  inset: -120% auto auto -40%;
  width: 54%;
  height: 300%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(17deg);
  opacity: 0;
}

.price-ribbon article.selected.sparkle-hit::before {
  animation: selectedSweep 0.9s ease;
}

.product-card.sparkle-hit {
  animation: sparklePulse 0.45s ease;
}

.product-info-link {
  margin-top: 8px;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1b5d4b;
  border: 1px solid rgba(27, 93, 75, 0.32);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(27, 93, 75, 0.06);
}

.focus .product-info-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.09);
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffe2a3 65%, rgba(255, 226, 163, 0) 100%);
  pointer-events: none;
  animation: popSpark 600ms ease forwards;
}

.booking-layout {
  margin: 20px 0 56px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 14px;
}

.card {
  border: 1px solid #111;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 6px 6px 0 #1c1c1c;
  padding: 18px;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.cal-head-left {
  position: relative;
}

.label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 800;
}

.booking-panel h2 {
  margin: 5px 0 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.45rem;
}

.month-label-wrap {
  position: relative;
}

.month-label-btn {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px 4px 0;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.15s;
  line-height: 1.2;
  margin-top: 5px;
  display: block;
}

.month-label-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.month-label-btn::after {
  content: ' ▾';
  font-size: 0.75rem;
  opacity: 0.45;
  vertical-align: middle;
}

.month-picker-popup {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  background: #fffef9;
  border: 1px solid #111;
  border-radius: 16px;
  box-shadow: 4px 4px 0 #1c1c1c;
  padding: 14px;
  min-width: 260px;
}

.month-picker-year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.picker-year-label {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.picker-months {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.picker-month-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.12s, border-color 0.12s;
}

.picker-month-btn:hover {
  background: var(--bg);
  border-color: #888;
}

.picker-month-btn.current-month {
  border-color: #111;
  background: #111;
  color: #fff;
}

.cal-nav {
  display: flex;
  gap: 8px;
}

.ghost {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 11px;
  border-radius: 10px;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cal-weekday {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 4px 6px;
}

.cal-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 78px;
  padding: 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cal-day:hover {
  transform: translateY(-2px);
  border-color: #777;
}

.cal-day span {
  font-weight: 700;
}

.cal-day em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
  max-width: 100%;
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-day.free em {
  background: rgba(31, 143, 94, 0.12);
  color: var(--ok);
}

.cal-day.partial em {
  background: rgba(215, 155, 29, 0.14);
  color: #9c6a00;
}

.cal-day.full em {
  background: rgba(201, 58, 58, 0.12);
  color: var(--bad);
}

.cal-day.past em,
.cal-day.unknown em {
  background: rgba(84, 84, 84, 0.12);
  color: #595959;
}

.cal-day.outside {
  opacity: 0.4;
}

.cal-day.active {
  border-color: #101010;
  box-shadow: inset 0 0 0 2px #101010;
}

.legend {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.free { background: var(--ok); }
.dot.partial { background: var(--warn); }
.dot.full { background: var(--bad); }
.dot.past { background: #777; }

.muted {
  color: var(--muted);
  margin: 5px 0 0;
}

.week-status {
  margin: 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.week-status > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.week-status > div:last-child {
  border-bottom: 0;
}

.week-status strong.ok { color: var(--ok); }
.week-status strong.bad { color: var(--bad); }

.booking-form {
  display: grid;
  gap: 9px;
}

.selected-product-card {
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  background: linear-gradient(135deg, #ffffff, #f7f4ed);
}

.selected-product-card.photo {
  box-shadow: inset 0 0 0 2px rgba(31, 143, 94, 0.22);
}

.selected-product-card.audio {
  box-shadow: inset 0 0 0 2px rgba(215, 155, 29, 0.26);
}

.selected-product-card.bundle {
  box-shadow: inset 0 0 0 2px rgba(239, 90, 41, 0.26);
}

.selected-product-card strong {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.05rem;
}

.selected-product-card span {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.66rem;
  color: #525252;
}

.booking-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  border: 1px solid #cfc7bc;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  font-family: inherit;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.cta {
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #1d8a6e, #ef5a29);
  color: #fff;
  padding: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-message {
  margin: 0;
  min-height: 1.3em;
  font-weight: 700;
}

.form-message.success { color: var(--ok); }
.form-message.error { color: var(--bad); }

@keyframes selectedSweep {
  from {
    transform: translateX(-20%) rotate(17deg);
    opacity: 0.2;
  }
  to {
    transform: translateX(380%) rotate(17deg);
    opacity: 0;
  }
}

@keyframes sparklePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes popSpark {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.2);
  }
}

@keyframes bundleShimmer {
  0% {
    transform: translateX(-35%) rotate(16deg);
    opacity: 0;
  }
  18% {
    opacity: 0.4;
  }
  42% {
    transform: translateX(320%) rotate(16deg);
    opacity: 0;
  }
  100% {
    transform: translateX(320%) rotate(16deg);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .price-ribbon {
    grid-template-columns: 1fr;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .calendar-grid {
    gap: 4px;
  }

  .cal-day {
    min-height: 66px;
    padding: 6px;
  }

  .cal-day em {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    text-indent: -9999px;
    white-space: nowrap;
  }

  .cal-day.free em {
    background: #1f8f5e;
    box-shadow: 0 0 0 1px rgba(12, 94, 59, 0.35);
  }

  .cal-day.partial em {
    background: #ce8d0d;
    box-shadow: 0 0 0 1px rgba(121, 79, 4, 0.32);
  }

  .cal-day.full em {
    background: #c93a3a;
    box-shadow: 0 0 0 1px rgba(124, 22, 22, 0.32);
  }

  .cal-day.past em,
  .cal-day.unknown em {
    background: #717171;
    box-shadow: 0 0 0 1px rgba(57, 57, 57, 0.3);
  }

  .row {
    grid-template-columns: 1fr;
  }
}

.seo-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  background: rgba(253, 252, 248, 0.75);
}

.footer-head h2 {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.footer-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.legal-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-links {
  display: inline-flex;
  gap: 8px;
}

.legal-links a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #fff;
}

@media (max-width: 900px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .legal-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.coupon-row {
  display: grid;
  gap: 6px;
}

.coupon-toggle-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}

.coupon-toggle-link:hover {
  color: var(--ink);
}

.coupon-input-area {
  display: grid;
  gap: 6px;
}

.coupon-input-group {
  display: flex;
  gap: 8px;
}

.coupon-input-group input {
  flex: 1;
  border: 1px solid #cfc7bc;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coupon-input-group input:disabled {
  background: #f5f3ef;
  color: var(--muted);
}

.coupon-price {
  color: var(--ok);
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.modal-overlay,
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(12, 12, 12, 0.45);
  backdrop-filter: blur(3px);
}

.modal-card,
.success-card {
  width: min(460px, 92vw);
  border: 1px solid #121212;
  border-radius: 18px;
  background: #fffef9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  padding: 18px;
}

.modal-card h3,
.success-card h3 {
  margin: 0 0 8px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.modal-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.modal-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.modal-actions {
  display: flex;
  gap: 8px;
}

.modal-actions .ghost {
  flex: 1;
}

.modal-actions .cta {
  flex: 2;
}

.success-card {
  text-align: center;
  animation: bookedPop 0.55s ease;
}

.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #1f8f5e, #25b579);
  box-shadow: 0 0 0 12px rgba(31, 143, 94, 0.12);
}

.success-card p {
  margin: 0;
  color: var(--muted);
}

@keyframes bookedPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
