/* Moo Jersey brand (from the moojersey.com Elementor kit) */
:root {
  --brand: #775745;        /* primary brown */
  --brand-dark: #5f4536;
  --tan: #a67c65;          /* secondary / accent word */
  --ink: #140f0c;          /* headings */
  --text: #5f5f5f;         /* body (kit text #7B7B7B, darkened for contrast) */
  --muted: #7b7b7b;
  --cream: #fff8f1;        /* page background */
  --yellow: #f7e28c;       /* icon circles, highlights */
  --yellow-soft: #fbf0c4;
  --card: #fff;
  --line: #eadfd4;
  --soft: #f6ece2;
  --ok: #3d7a4f;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(119, 87, 69, 0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--text); background: var(--cream); line-height: 1.65; font-size: 16px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; }
h1 .accent, h2 .accent { color: var(--tan); }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 100px; }
.logo img { width: 70px; height: 70px; }
.nav { display: flex; gap: 30px; }
.nav a, .mobile-nav nav a { color: var(--tan); text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.nav a:hover, .nav a[aria-current] { color: var(--brand); }
.nav a[aria-current] { font-weight: 600; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border-radius: 12px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.mobile-nav nav { position: absolute; right: 0; top: 52px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; min-width: 200px; }
.mobile-nav nav a { padding: 10px 12px; border-radius: 10px; }
.mobile-nav nav a[aria-current] { background: var(--soft); color: var(--brand); }

/* ---------- Buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--brand); cursor: pointer;
  background: var(--brand); color: #fff; font: 500 15px/1 'Poppins', sans-serif; padding: 15px 34px;
  border-radius: 100px; text-decoration: none; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { background: #cdbfb4; border-color: #cdbfb4; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--brand); }
.btn.secondary:hover { background: var(--soft); }
.btn.small { padding: 9px 18px; font-size: 13px; }
.btn.block { width: 100%; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: var(--soft); color: var(--brand); }
.badge.hot { background: var(--yellow); color: #5c4300; }
.badge.out { background: #ece6e1; color: #8a7d73; }

/* ---------- Class dates page ---------- */
.hero { padding-block: 40px 28px; }
.eyebrow { color: var(--tan); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; max-width: 900px; }
.hero .lede { font-size: 1.08rem; max-width: 680px; margin-top: 16px; }
.features { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 28px; list-style: none; }
.features li { display: flex; align-items: center; gap: 12px; }
.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: none; color: var(--ink); }

.section { padding-block: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.month { margin: 26px 0 12px; font-size: 1.05rem; color: var(--tan); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.dates { list-style: none; display: grid; gap: 14px; }
.date-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center; background: var(--card);
  border-radius: var(--radius); padding: 16px 20px 16px 16px; box-shadow: var(--shadow); }
.date-tile { background: var(--yellow-soft); border-radius: 16px; text-align: center; padding: 10px 0; color: var(--ink); }
.date-tile .mon { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.date-tile .day { display: block; font-size: 30px; font-weight: 600; line-height: 1.1; }
.date-main h3 { font-size: 1.12rem; margin-bottom: 2px; }
.date-main h3 a { color: var(--ink); text-decoration: none; }
.date-main h3 a:hover { color: var(--brand); }
.date-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.date-side { display: flex; align-items: center; gap: 18px; }
.date-price { text-align: right; line-height: 1.2; }
.date-price strong { display: block; font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.date-price span { font-size: 12px; color: var(--muted); }
.date-row.sold-out { opacity: .7; }

.empty-dates { background: var(--card); border-radius: var(--radius); padding: 40px 24px; text-align: center; box-shadow: var(--shadow); }
.empty-dates h3 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-dates p { margin-bottom: 18px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel-soft { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel-soft h2 { font-size: 1.5rem; margin-bottom: 14px; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow);
  -webkit-mask: none; box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 9px var(--brand); }
.address { font-style: normal; margin-bottom: 12px; color: var(--ink); }
.tip { font-size: 14px; margin-top: 10px; }
.tip strong { color: var(--ink); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.review { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); font-size: 15px; }
.review .stars { color: #d9a400; letter-spacing: 2px; margin-bottom: 8px; }

.faq details { background: var(--card); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 500; color: var(--ink); cursor: pointer; }
.faq details p { margin-top: 8px; }

.cta-band { background: var(--yellow-soft); border-radius: var(--radius); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.5rem; }
.cta-band p { margin-top: 4px; }

/* ---------- Class page ---------- */
.detail { display: grid; grid-template-columns: 1fr 390px; gap: 40px; padding: 16px 0 64px; align-items: start; }
.detail > * { min-width: 0; }
.card-img { aspect-ratio: 16 / 9; background: var(--soft) center 30% / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.detail .card-img { border-radius: var(--radius); font-size: 5rem; }
.detail h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 22px 0 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.prose p { margin-bottom: 12px; }
.section-title { font-size: 1.3rem; margin: 30px 0 12px; }
.includes { list-style: none; display: grid; gap: 10px; }
.includes li { position: relative; padding-left: 30px; }
.includes li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 9px var(--brand); background: var(--yellow); }
details { background: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
summary { font-weight: 500; color: var(--ink); cursor: pointer; }
details p { margin-top: 8px; color: var(--text); }
blockquote { background: #fff; border-left: 4px solid var(--yellow); border-radius: 0 16px 16px 0; padding: 14px 18px; margin: 0 0 10px; font-style: italic; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery figure { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 12px; font-weight: 500; color: #fff;
  background: linear-gradient(transparent, rgba(20,15,12,.65)); }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 20px; }
.panel h2 { font-size: 1.5rem; margin-bottom: 4px; }
.panel h2 small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .hint, .hint { font-size: 12px; color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(119,87,69,.14); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 100px; width: fit-content; overflow: hidden; }
.stepper button { border: 0; background: var(--soft); width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; color: var(--brand); }
.stepper button:disabled { color: #cdbfb4; cursor: not-allowed; }
.stepper output { width: 52px; text-align: center; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 6px 0 16px; }
.check input { width: auto; margin-top: 4px; accent-color: var(--brand); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 14px; margin: 6px 0 16px; color: var(--ink); }
.price { font-weight: 600; color: var(--ink); }
.total .price { font-size: 1.6rem; }
.error { background: #fbeaea; color: #8c1d1d; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 12px; }
.fineprint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Confirmation / misc ---------- */
.center-box { max-width: 580px; margin: 32px auto 56px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 28px; text-align: center; }
.center-box h1 { font-size: 1.9rem; margin: 8px 0; }
.center-box .big { font-size: 3.5rem; }
.summary { text-align: left; background: var(--cream); border-radius: 16px; padding: 16px 18px; margin: 20px 0; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink); }
.summary span:first-child { color: var(--muted); }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
.skeleton { color: var(--muted); padding: 40px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: #f3e8de; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 16px 36px; }
.footer-logo { width: 70px; height: auto; margin-bottom: 14px; }
.site-footer p { font-size: 14px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.site-footer a { color: #f3e8de; text-decoration: none; display: block; font-size: 14px; margin-bottom: 8px; }
.site-footer a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; margin: 0; }
.footer-bottom { background: var(--cream); color: var(--tan); font-size: 13px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px; }
.footer-bottom a { color: var(--tan); text-decoration: none; display: inline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .mobile-nav { display: block; }
  .header-inner { min-height: 84px; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .panel { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .date-row { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; }
  .date-tile .day { font-size: 24px; }
  .date-side { grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
  .date-price { text-align: left; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
.mobile-nav { background: none; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
@media (max-width: 640px) { .date-row { align-items: start; } }

/* ---------- Class photo thumbnails + lightbox (class dates page) ---------- */
.thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.thumbs a { display: block; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.thumbs a:hover, .thumbs a:focus-visible { transform: translateY(-2px); outline: 2px solid var(--brand); outline-offset: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; margin: auto; overflow: visible; box-shadow: none; }
.lightbox::backdrop { background: rgba(20, 15, 12, .85); }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; border-radius: 16px; display: block; }
.lightbox button { position: absolute; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; }
.lb-close { top: -14px; right: -14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (max-width: 640px) {
  .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .thumbs a { width: 100%; height: auto; aspect-ratio: 1; }
  .lb-close { top: 8px; right: 8px; }
}
