.lpk-template-3 {
  --rose: #d8a69e;
  --rose-soft: #f7d6d0;
  --cream: #fdf9f2;
  --cream-2: #f8f2e8;
  --ink: #2f2731;
  --ink-soft: #6f6572;
  --line: rgba(47, 39, 49, 0.14);
  --success: #6d8f76;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 24px rgba(47, 39, 49, 0.08);

  font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif !important;
  color: var(--ink) !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 430px !important;
  min-height: 100vh !important;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 18%, var(--cream) 100%) !important;
}

.lpk-template-3,
.lpk-template-3 * { box-sizing: border-box !important; }

.lpk-template-3 a { color: inherit !important; text-decoration: none !important; }
.lpk-template-3 img:not(.emoji):not(.wp-smiley) { display: block !important; width: 100% !important; height: auto !important; }
.lpk-template-3 img.emoji,
.lpk-template-3 img.wp-smiley {
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  margin: 0 .06em !important;
  vertical-align: -0.1em !important;
}

.lpk-template-3 button,
.lpk-template-3 input,
.lpk-template-3 .chip,
.lpk-template-3 .icon-btn {
  color: var(--ink) !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}

.lpk-template-3 .mobile-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  background: color-mix(in srgb, var(--cream) 92%, white 8%) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 12px !important;
}

.lpk-template-3 .search-row { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
.lpk-template-3 .search-input {
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  font-size: 1rem !important;
}

.lpk-template-3 .search-input::placeholder {
  color: var(--ink-soft) !important;
  opacity: 1 !important;
}

.lpk-template-3 .icon-btn {
  display: none !important;
}

.lpk-template-3 .filter-chips {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  padding-top: 10px !important;
}
.lpk-template-3 .filter-chips::-webkit-scrollbar { display: none !important; }

.lpk-template-3 .chip {
  white-space: nowrap !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: .86rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
.lpk-template-3 .chip.is-active { background: var(--rose-soft) !important; }

.lpk-template-3 .content {
  padding: 14px 12px 98px !important;
  display: grid !important;
  gap: 12px !important;
}

.lpk-template-3 .card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}

.lpk-template-3 .event-card {
  padding: 10px !important;
  display: grid !important;
  grid-template-columns: 88px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
}

.lpk-template-3 .thumb {
  border-radius: var(--radius-sm) !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  background: #e9e3df !important;
}

.lpk-template-3 .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.lpk-template-3 .meta-line { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin-bottom: 6px !important; }
.lpk-template-3 .date-pill {
  border-radius: 999px !important;
  background: var(--cream-2) !important;
  border: 1px solid var(--line) !important;
  padding: 4px 9px !important;
  font-size: .72rem !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}
.lpk-template-3 .status { font-size: .72rem !important; color: var(--success) !important; font-weight: 700 !important; }
.lpk-template-3 .event-title { margin: 0 !important; font-size: .98rem !important; font-weight: 700 !important; line-height: 1.25 !important; }
.lpk-template-3 .event-info { margin: 5px 0 8px !important; font-size: .8rem !important; color: var(--ink-soft) !important; }

.lpk-template-3 .btn-primary,
.lpk-template-3 .btn-light {
  border-radius: 999px !important;
  min-height: 34px !important;
  padding: 8px 14px !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  border: 1px solid transparent !important;
}
.lpk-template-3 .btn-primary { background: var(--rose) !important; color: #fff !important; }
.lpk-template-3 .btn-light { background: #fff !important; border-color: var(--line) !important; }

.lpk-template-3 .empty-state { text-align: center !important; padding: 24px 14px !important; }
.lpk-template-3 .empty-state h2 { margin: 0 0 10px !important; font-size: 1.1rem !important; }

.lpk-template-3 .hero img { aspect-ratio: 16/11 !important; object-fit: cover !important; }
.lpk-template-3 .hero { position: relative !important; }
.lpk-template-3 .hero-edge { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
.lpk-template-3 .hero-badge {
  position: absolute !important;
  left: 10px !important;
  bottom: 10px !important;
  background: color-mix(in srgb, white 76%, var(--cream) 24%) !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
}

.lpk-template-3 .card-margin { margin: 12px !important; }
.lpk-template-3 .detail-head { padding: 14px !important; display: grid !important; gap: 8px !important; }
.lpk-template-3 .detail-head h1 { margin: 0 !important; font-size: 1.35rem !important; line-height: 1.25 !important; }
.lpk-template-3 .kpis { color: var(--ink-soft) !important; font-size: .9rem !important; display: grid !important; gap: 4px !important; }
.lpk-template-3 .kpi-highlight { color: var(--ink) !important; }
.lpk-template-3 .head-actions { display: flex !important; gap: 8px !important; flex-wrap: wrap !important; }

.lpk-template-3 .sections { padding: 0 12px 100px !important; display: grid !important; gap: 10px !important; }
.lpk-template-3 .section-card { padding: 14px !important; }
.lpk-template-3 .section-card h3 { margin: 0 0 8px !important; font-size: 1.05rem !important; line-height: 1.35 !important; }
.lpk-template-3 .section-card p,
.lpk-template-3 .section-card li { margin: 0 !important; color: var(--ink-soft) !important; font-size: .9rem !important; line-height: 1.55 !important; }
.lpk-template-3 .section-card ul { margin: 0 !important; padding-left: 16px !important; display: grid !important; gap: 7px !important; }

.lpk-template-3 .map-placeholder {
  border-radius: var(--radius) !important;
  min-height: 130px !important;
  margin-top: 10px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  font-weight: 700 !important;
  background: repeating-linear-gradient(45deg, #efe4d4, #efe4d4 14px, #f6ede1 14px, #f6ede1 28px) !important;
}
.lpk-template-3 .map-placeholder.has-image {
  background-size: cover !important;
  background-position: center !important;
  box-shadow: inset 0 0 0 999px rgba(47, 42, 40, .22) !important;
}

.lpk-template-3 .sticky-bottom {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 0 !important;
  width: min(430px, 100%) !important;
  border-top: 1px solid var(--line) !important;
  background: color-mix(in srgb, white 85%, var(--cream) 15%) !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  z-index: 45 !important;
}
.lpk-template-3 .price strong { display: block !important; font-size: 1.06rem !important; }

.lpk-template-3.is-sheet-open .sticky-bottom {
  opacity: 0 !important;
  pointer-events: none !important;
}
.lpk-template-3 .price span { color: var(--ink-soft) !important; font-size: .78rem !important; }

.lpk-template-3 .sheet-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(35, 28, 33, 0.42) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: .2s !important;
  z-index: 40 !important;
}
.lpk-template-3 .sheet {
  position: fixed !important;
  left: 50% !important;
  transform: translate(-50%, 100%) !important;
  bottom: 0 !important;
  width: min(430px, 100%) !important;
  background: var(--cream) !important;
  border-radius: 20px 20px 0 0 !important;
  border: 1px solid var(--line) !important;
  padding: 12px 12px 18px !important;
  z-index: 41 !important;
  transition: .25s !important;
  max-height: 76vh !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}
.lpk-template-3 .sheet.open { transform: translate(-50%, 0) !important; }
.lpk-template-3 .sheet-overlay.open { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }

.lpk-template-3 .handle { width: 50px !important; height: 5px !important; border-radius: 99px !important; margin: 4px auto 12px !important; background: #d5cbc3 !important; }

.lpk-template-3 .sheet.is-dragging {
  transition: none !important;
}
.lpk-template-3 .sheet-title { margin: 0 0 10px !important; font-size: 1rem !important; }

.lpk-template-3 .ticket-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 10px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  background: #fff !important;
  padding: 10px !important;
  margin-bottom: 10px !important;
}
.lpk-template-3 .ticket-name { font-weight: 700 !important; font-size: .88rem !important; }
.lpk-template-3 .ticket-price { color: var(--ink-soft) !important; font-size: .78rem !important; }

.lpk-template-3 .qty { display: inline-flex !important; border: 1px solid var(--line) !important; border-radius: 999px !important; overflow: hidden !important; }
.lpk-template-3 .qty button {
  border: 0 !important;
  background: #fff !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  line-height: 1 !important;
}
.lpk-template-3 .qty output { min-width: 24px !important; display: grid !important; place-items: center !important; font-weight: 700 !important; }

.lpk-template-3 .ticket-empty { border: 1px dashed var(--line) !important; border-radius: var(--radius-sm) !important; padding: 12px !important; color: var(--ink-soft) !important; margin-bottom: 10px !important; }
.lpk-template-3 .total { border-top: 1px solid var(--line) !important; margin-top: 8px !important; padding-top: 10px !important; display: flex !important; justify-content: space-between !important; font-weight: 700 !important; }
.lpk-template-3 .sheet-form { margin-top: 10px !important; }

/* Mobile detail: readable description with optional expand/collapse */
.lpk-template-3 .desc-preview {
  position: relative !important;
  overflow: hidden !important;
  max-height: none !important;
}
.lpk-template-3 .desc-preview.is-collapsed {
  max-height: 8.6em !important;
}
.lpk-template-3 .desc-preview.is-collapsed::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2.4em !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%) !important;
}
.lpk-template-3 .desc-toggle {
  margin-top: 8px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  color: var(--ink) !important;
}
.lpk-template-3 .desc-preview p,
.lpk-template-3 .desc-preview ul,
.lpk-template-3 .desc-preview ol,
.lpk-template-3 .desc-preview li {
  color: var(--ink-soft) !important;
  font-size: .9rem !important;
  line-height: 1.55 !important;
}
.lpk-template-3 .desc-preview ul,
.lpk-template-3 .desc-preview ol {
  margin: 0 !important;
  padding-left: 18px !important;
}

/* Keep the custom ticket picker and hide duplicate Event Tickets list. */
.lpk-template-3 .sheet-form .tribe-tickets__tickets-title,
.lpk-template-3 .sheet-form .tribe-tickets__tickets-list,
.lpk-template-3 .sheet-form .tribe-tickets__tickets-item,
.lpk-template-3 .sheet-form .tribe-tickets__separator,
.lpk-template-3 .sheet-form .tribe-tickets__tickets-header {
  display: none !important;
}
.lpk-template-3 .sheet-form .tribe-tickets__tickets {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
.lpk-template-3 .sheet-form .tribe-tickets__tickets-footer {
  border-top: 1px solid var(--line) !important;
  margin-top: 10px !important;
  padding-top: 12px !important;
}
.lpk-template-3 .sheet-form .tribe-tickets__tickets-footer-quantity,
.lpk-template-3 .sheet-form .tribe-tickets__tickets-footer-total {
  display: none !important;
}
.lpk-template-3 .sheet-form .tribe-tickets__tickets-buy {
  width: 100% !important;
  border-radius: 999px !important;
  background: var(--rose) !important;
  color: #fff !important;
  min-height: 44px !important;
  font-weight: 700 !important;
}
