/**
 * LifeKeeper Public Design System
 * Light · Glass · Industrial-commercial · Passion-inspired
 * Brand: #024269 · #fd7e14
 */

:root {
  --lk-primary: #024269;
  --lk-primary-light: #0369a1;
  --lk-primary-dark: #013352;
  --lk-accent: #fd7e14; /* decorative only — large fills, icons, accents on dark grounds */
  --lk-accent-hover: #e57112;
  --lk-accent-soft: rgba(253, 126, 20, 0.12);
  --lk-accent-text: #c2410c; /* interactive orange — white-text-safe, 5.2:1 AA (buttons, links) */
  --lk-accent-text-hover: #9a3412; /* hover/active for interactive orange, 7.3:1 AA */
  --lk-bg: #f8fafc;
  --lk-bg-alt: #f1f5f9;
  --lk-surface: #ffffff;
  --lk-text: #334155;
  --lk-text-muted: #64748b;
  --lk-heading: #024269;
  --lk-border: rgba(2, 66, 105, 0.08);
  --lk-glass: rgba(255, 255, 255, 0.85);
  --lk-glass-border: rgba(255, 255, 255, 0.95);
  --lk-gradient-hero: linear-gradient(135deg, #f0f7ff 0%, #fff8f3 45%, #f8fafc 100%);
  --lk-gradient-brand: linear-gradient(135deg, #024269 0%, #0369a1 55%, #024269 100%);
  --lk-gradient-cta: linear-gradient(125deg, #024269 0%, #0369a1 50%, #024269 100%);
  --lk-font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --lk-font-display: "Cormorant Garamond", Georgia, serif;
  --lk-shadow-sm: 0 1px 3px rgba(2, 66, 105, 0.06), 0 1px 2px rgba(2, 66, 105, 0.04);
  --lk-shadow: 0 4px 24px rgba(2, 66, 105, 0.08);
  --lk-shadow-lg: 0 12px 40px rgba(2, 66, 105, 0.12);
  --lk-shadow-hover: 0 20px 48px rgba(2, 66, 105, 0.14);
  --lk-radius: 16px;
  --lk-radius-lg: 24px;
  --lk-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Semantic status (were referenced but never defined — the "phantom tokens") ── */
  --lk-success: #15803d;
  --lk-success-soft: #dcfce7;
  --lk-warning: #b45309;
  --lk-warning-soft: #fef3c7;
  --lk-danger: #b91c1c;
  --lk-danger-soft: #fee2e2;
  --lk-info: #0369a1;
  --lk-info-soft: #e0f2fe;

  /* ── Complementary expansion (memorial-appropriate) ── */
  --lk-gold: #b7791f; /* premium / tribute accent — pair with dark text */
  --lk-sage: #4f7c6a; /* Live Journeys identity */
  --lk-teal: #0e7490; /* analogous secondary / maps */
  --lk-plum: #7c5295; /* contemplative tertiary */

  /* Override template dark tokens */
  --background-color: #f8fafc;
  --default-color: #334155;
  --heading-color: #024269;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #334155;
  --nav-hover-color: #fd7e14;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #334155;
  --nav-dropdown-hover-color: #fd7e14;
}

/* ── Base reset for public pages ── */
html {
  overflow-x: clip;
}

body.lk-public {
  color: var(--lk-text);
  background: var(--lk-bg);
  font-family: var(--lk-font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

body.lk-public::before {
  display: none !important;
}

body.lk-public h1,
body.lk-public h2:not(.lk-mega-cta-headline),
body.lk-public h3,
body.lk-public h4,
body.lk-public h5,
body.lk-public h6 {
  color: var(--lk-heading);
  font-family: var(--lk-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── Header: light glass (original) — logo only enlarged ── */
body.lk-public .header.lk-header {
  background: var(--lk-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lk-border);
  box-shadow: var(--lk-shadow-sm);
  padding: 12px 0;
}

body.lk-public .header.lk-header .sitename {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--lk-primary);
  font-family: var(--lk-font-sans);
}

body.lk-public .header.lk-header .lk-tagline {
  color: var(--lk-text-muted);
}

body.lk-public .header.lk-header .header-logo {
  height: 72px;
  width: auto;
  max-height: 72px; /* override template's .header .logo img { max-height:36px } */
  margin-right: 14px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

body.lk-public .header.lk-header .navmenu a {
  color: var(--lk-text);
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
}

body.lk-public .header.lk-header .navmenu a:hover,
body.lk-public .header.lk-header .navmenu a.active {
  color: var(--lk-accent);
  background: rgba(253, 126, 20, 0.08);
}

body.lk-public .header.lk-header .navmenu .dropdown ul {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  box-shadow: var(--lk-shadow-lg);
  border-radius: var(--lk-radius);
  padding: 8px;
}

body.lk-public .header.lk-header .navmenu .dropdown ul a {
  color: var(--lk-text);
  border-radius: 8px;
}

body.lk-public .header.lk-header .btn-getstarted:not(.lk-header-btn) {
  background: var(--lk-accent-text);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.78rem;
  border: none;
  box-shadow: 0 2px 10px rgba(253, 126, 20, 0.35);
}

body.lk-public .header.lk-header .btn-getstarted:not(.lk-header-btn):hover {
  background: var(--lk-accent-text-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(253, 126, 20, 0.5);
  color: #fff;
}

body.lk-public .header.lk-header .mobile-nav-toggle {
  color: var(--lk-primary);
  background: rgba(2, 66, 105, 0.06);
  border: 1px solid var(--lk-border);
  display: none;
}

body.lk-public .mobile-buttons-container {
  gap: 0.75rem;
}

body.lk-public .mobile-btn:not(.lk-header-btn) {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--lk-accent-text);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
}

body.lk-public .mobile-btn:not(.lk-header-btn):hover {
  background: var(--lk-accent-text-hover);
  color: #fff !important;
}

body.lk-public .header-buttons,
body.lk-public .lk-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* ── Footer: brand navy, compact layout ── */
body.lk-public .footer.lk-footer {
  background: linear-gradient(180deg, var(--lk-primary) 0%, var(--lk-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  border-top: none;
  padding: 40px 0 0;
  font-size: 0.9rem;
}

body.lk-public .footer.lk-footer .footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0;
  padding-bottom: 28px;
}

body.lk-public .footer.lk-footer .footer-brand {
  text-decoration: none;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.lk-public .footer.lk-footer .footer-logo {
  height: 56px !important;
  width: auto !important;
  max-height: none !important;
  min-height: 0;
  border-radius: 10px;
  object-fit: contain;
}

body.lk-public .footer.lk-footer .sitename {
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 700;
  font-family: var(--lk-font-sans);
  letter-spacing: -0.02em;
}

body.lk-public .footer.lk-footer h4 {
  color: #fff !important;
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

body.lk-public .footer.lk-footer h5 {
  color: #fff !important;
  font-size: 0.95rem;
}

body.lk-public .footer.lk-footer p,
body.lk-public .footer.lk-footer .footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

body.lk-public .footer.lk-footer .footer-about p {
  max-width: 380px;
  line-height: 1.6;
  margin-bottom: 0;
}

body.lk-public .footer.lk-footer .footer-links ul li {
  padding: 6px 0;
}

body.lk-public .footer.lk-footer .footer-links a:hover,
body.lk-public .footer.lk-footer .footer-links a.active {
  color: var(--lk-accent);
}

body.lk-public .footer.lk-footer .footer-contact strong {
  color: #fff;
}

body.lk-public .footer.lk-footer .footer-contact p {
  margin-bottom: 4px;
  font-size: 0.85rem;
}

body.lk-public .footer.lk-footer .footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.lk-public .footer.lk-footer .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.lk-public .footer.lk-footer .footer-contact-list i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--lk-accent);
  font-size: 0.9rem;
}

body.lk-public .footer.lk-footer .footer-contact-list strong {
  display: block;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

body.lk-public .footer.lk-footer .footer-contact-list a,
body.lk-public .footer.lk-footer .footer-contact-list span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body.lk-public .footer.lk-footer .footer-contact-list a:hover,
body.lk-public .footer.lk-footer .footer-contact-list a:focus-visible {
  color: var(--lk-accent);
}

body.lk-public .footer.lk-footer .social-links {
  margin-top: 16px !important;
}

body.lk-public .footer.lk-footer .social-links a {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.lk-public .footer.lk-footer .social-links a:hover {
  background: var(--lk-accent-text);
  color: #fff;
  border-color: var(--lk-accent-text);
}

body.lk-public .footer.lk-footer .footer-middle {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

body.lk-public .footer.lk-footer .trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.lk-public .footer.lk-footer .badge1 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

body.lk-public .footer.lk-footer .badge1 i {
  color: var(--lk-accent);
}

body.lk-public .footer.lk-footer .newsletter h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

body.lk-public .footer.lk-footer .newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

body.lk-public .footer.lk-footer .newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 440px;
}

body.lk-public .footer.lk-footer .newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  padding: 8px 14px;
  transition: border-color 0.2s, background 0.2s;
}

body.lk-public .footer.lk-footer .newsletter-form input:focus {
  outline: none;
  border-color: var(--lk-accent);
  background: rgba(255, 255, 255, 0.16);
}

body.lk-public .footer.lk-footer .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

body.lk-public .footer.lk-footer .newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 46px;
  white-space: nowrap;
  font-weight: 600;
  background: var(--lk-accent-text);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  padding: 8px 18px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

body.lk-public .footer.lk-footer .newsletter-form button:hover,
body.lk-public .footer.lk-footer .newsletter-form button:focus-visible {
  background: var(--lk-accent-text-hover, #9a3412);
  box-shadow: 0 4px 14px rgba(253, 126, 20, 0.4);
}

/* Bottom band — full-bleed dark strip (the old .copyright container
   only tinted the centered column, not the full width) */
body.lk-public .footer.lk-footer .footer-bottom {
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0 calc(20px + env(safe-area-inset-bottom, 0px));
}

body.lk-public .footer.lk-footer .copyright {
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  font-size: 0.82rem;
  border-top: none;
}

body.lk-public .footer.lk-footer .copyright p {
  margin-bottom: 8px;
}

body.lk-public .footer.lk-footer .copyright a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

body.lk-public .footer.lk-footer .copyright a:hover,
body.lk-public .footer.lk-footer .copyright a:focus-visible {
  color: var(--lk-accent);
  text-decoration: underline;
}

body.lk-public .footer.lk-footer .footer-copyright-line a {
  font-weight: 600;
}

body.lk-public .footer.lk-footer .footer-sep {
  opacity: 0.5;
  margin: 0 2px;
}

body.lk-public .footer.lk-footer .credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  font-size: 0.8rem;
}

body.lk-public .footer.lk-footer .credits a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 2px 4px;
}

body.lk-public .footer.lk-footer .credits a:not(:last-child)::after {
  content: '·';
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  display: inline-block;
}

body.lk-public .footer.lk-footer .memorial-count {
  color: var(--lk-accent);
  font-size: 0.8rem;
}

body.lk-public .footer.lk-footer .memorial-count strong {
  color: #fff;
}

body.lk-public .footer.lk-footer .row.gy-4 {
  --bs-gutter-y: 1.25rem;
}

/* ── Shared components ── */
.lk-section {
  padding: 80px 0;
}

.lk-section-alt {
  background: var(--lk-bg-alt);
}

.lk-section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.lk-section-title .lk-badge {
  display: inline-block;
  background: rgba(253, 126, 20, 0.1);
  color: var(--lk-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.lk-section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--lk-primary);
}

body.lk-public .section-title h2 {
  color: var(--lk-primary);
}

.lk-section-title p {
  color: var(--lk-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.lk-glass-card {
  background: var(--lk-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--lk-glass-border);
  border-radius: var(--lk-radius);
  box-shadow: var(--lk-shadow);
  transition: transform var(--lk-transition), box-shadow var(--lk-transition);
}

.lk-glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lk-shadow-hover);
}

.lk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lk-primary);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 16px rgba(2, 66, 105, 0.25);
  transition: all var(--lk-transition);
  text-decoration: none;
}

.lk-btn-primary:hover {
  background: var(--lk-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 66, 105, 0.3);
  color: #fff !important;
}

.lk-btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lk-accent-text);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 16px rgba(253, 126, 20, 0.35);
  transition: all var(--lk-transition);
  text-decoration: none;
}

.lk-btn-accent:hover {
  background: var(--lk-accent-text-hover);
  transform: translateY(-2px);
  color: #fff !important;
}

.lk-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--lk-primary) !important;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--lk-primary);
  transition: all var(--lk-transition);
  text-decoration: none;
}

.lk-btn-outline:hover {
  background: var(--lk-primary);
  color: #fff !important;
}

.lk-btn-md {
  padding: 11px 22px;
  font-size: 0.875rem;
}

.lk-btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  gap: 6px;
}

.lk-btn-xs {
  padding: 5px 12px;
  font-size: 0.72rem;
  gap: 4px;
}

.lk-btn-accent.lk-btn-sm {
  box-shadow: 0 2px 10px rgba(253, 126, 20, 0.25);
}

.lk-btn-primary.lk-btn-sm {
  box-shadow: 0 2px 10px rgba(2, 66, 105, 0.2);
}

.lk-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  border: none;
  text-decoration: none;
  transition: all var(--lk-transition);
}

.lk-btn-whatsapp:hover {
  background: #128c7e;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Consistent button row (homepage + public pages) */
.lk-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lk-button-row--end {
  justify-content: flex-end;
}

/* Secondary button on navy/dark banners */
.lk-btn-on-dark-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all var(--lk-transition);
}

.lk-btn-on-dark-outline:hover {
  background: #fff;
  color: var(--lk-primary) !important;
  border-color: #fff;
}

/* ── Hero (Passion-inspired) ── */
body.lk-public .hero.lk-hero {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--lk-bg) 100%);
  min-height: auto;
}

body.lk-public .hero.lk-hero .content-col h2 {
  color: var(--lk-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

body.lk-public .hero.lk-hero .content-col p {
  color: var(--lk-text-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

body.lk-public .hero.lk-hero .status-badge {
  background: rgba(253, 126, 20, 0.12);
  color: var(--lk-accent);
  border: 1px solid rgba(253, 126, 20, 0.25);
}

body.lk-public .hero.lk-hero .opening-hours {
  color: var(--lk-text);
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 10px;
  box-shadow: var(--lk-shadow-sm);
}

body.lk-public .hero.lk-hero .opening-hours i {
  color: var(--lk-accent);
}

body.lk-public .hero.lk-hero .hero-swiper .img-container {
  border-radius: var(--lk-radius-lg);
  overflow: hidden;
  box-shadow: var(--lk-shadow-lg);
  border: 4px solid #fff;
}

body.lk-public .hero.lk-hero .hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--lk-border);
}

body.lk-public .hero.lk-hero .hero-stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--lk-primary);
  font-family: "Poppins", sans-serif;
  line-height: 1;
}

body.lk-public .hero.lk-hero .hero-stat span {
  font-size: 0.82rem;
  color: var(--lk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Engraving / Keepsakes section ── */
.lk-engraving-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.lk-engraving-card {
  padding: 32px 28px;
  text-align: center;
}

.lk-engraving-card .lk-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--lk-primary), var(--lk-primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2, 66, 105, 0.2);
}

.lk-engraving-card .lk-icon i {
  font-size: 1.6rem;
  color: #fff;
}

.lk-engraving-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--lk-primary);
}

.lk-engraving-card p {
  color: var(--lk-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.lk-engraving-banner {
  background: linear-gradient(135deg, var(--lk-primary) 0%, #0369a1 100%);
  border-radius: var(--lk-radius-lg);
  padding: 48px;
  color: #fff;
  box-shadow: var(--lk-shadow-lg);
  position: relative;
  overflow: hidden;
}

.lk-engraving-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(253, 126, 20, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.lk-engraving-banner h3,
.lk-engraving-banner .home-platform-banner-title {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
  position: relative;
}

.lk-engraving-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  max-width: 640px;
}

/* ── Memorial cards: light glass ── */
body.lk-public .chef-highlight1,
body.lk-public .chef-highlight,
body.lk-public .chef-card {
  background: var(--lk-surface) !important;
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  box-shadow: var(--lk-shadow);
  overflow: hidden;
  transition: transform var(--lk-transition), box-shadow var(--lk-transition);
}

body.lk-public .chef-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lk-shadow-hover);
}

body.lk-public .chef-card .chef-info h4,
body.lk-public .chef-details h3,
body.lk-public .chef-details h5 {
  color: var(--lk-heading) !important;
}

body.lk-public .chef-card .chef-info .role,
body.lk-public .chef-card .chef-info p {
  color: var(--lk-text-muted) !important;
}

body.lk-public .chefs.section,
body.lk-public .section {
  background: transparent;
}

body.lk-public .section-title h2 {
  color: var(--lk-heading);
}

body.lk-public .section-title p {
  color: var(--lk-text-muted);
}

/* ── Step cards: light instead of dark ── */
body.lk-public .step-card {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  box-shadow: var(--lk-shadow);
}

body.lk-public .step-card h3 {
  color: var(--lk-primary);
}

body.lk-public .step-card p {
  color: var(--lk-text-muted);
}

body.lk-public .step-icon {
  color: var(--lk-accent);
}

body.lk-public .feature-tag {
  background: rgba(2, 66, 105, 0.06);
  color: var(--lk-primary);
}

body.lk-public .process-cta {
  background: linear-gradient(135deg, var(--lk-primary), #0369a1);
  border-radius: var(--lk-radius-lg);
}

/* ── Partner cards ── */
body.lk-public .partner-benefit-card {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  box-shadow: var(--lk-shadow);
  border-radius: var(--lk-radius);
}

body.lk-public .partner-benefit-card h3 {
  color: var(--lk-primary);
}

body.lk-public .partner-testimonial {
  background: var(--lk-bg-alt);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
}

body.lk-public .partner-cta-final {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  box-shadow: var(--lk-shadow);
  border-radius: var(--lk-radius-lg);
}

/* ── HTMX loading indicator ── */
.htmx-indicator {
  opacity: 0;
  transition: opacity 0.2s;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
}

.lk-loading-pulse {
  display: flex;
  justify-content: center;
  padding: 48px;
  color: var(--lk-text-muted);
}

.lk-loading-pulse .spinner-border {
  color: var(--lk-accent);
  width: 2rem;
  height: 2rem;
}

/* ── Skip-to-content link (keyboard / screen-reader users) ── */
.lk-skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
  margin: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--lk-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.lk-skip-link:focus,
.lk-skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--lk-accent);
  outline-offset: 2px;
  color: #fff;
}

/* ── Global keyboard focus ring (was missing on auth/contact/gallery) ── */
body.lk-public a:focus-visible,
body.lk-public button:focus-visible,
body.lk-public input:focus-visible,
body.lk-public select:focus-visible,
body.lk-public textarea:focus-visible,
body.lk-public [tabindex]:focus-visible,
body.lk-public summary:focus-visible {
  outline: 3px solid var(--lk-primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Complementary palette — reusable chips/badges (gold · sage · teal · plum) ── */
.lk-chip-gold, .lk-chip-sage, .lk-chip-teal, .lk-chip-plum,
.lk-badge-success, .lk-badge-warning, .lk-badge-danger, .lk-badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}
.lk-chip-gold { color: #8a5a0f; background: rgba(183, 121, 31, 0.12); border-color: rgba(183, 121, 31, 0.30); }
.lk-chip-sage { color: #3f6f5b; background: rgba(79, 124, 106, 0.12); border-color: rgba(79, 124, 106, 0.30); }
.lk-chip-teal { color: #0e7490; background: rgba(14, 116, 144, 0.12); border-color: rgba(14, 116, 144, 0.30); }
.lk-chip-plum { color: #5f3d75; background: rgba(124, 82, 149, 0.12); border-color: rgba(124, 82, 149, 0.30); }

/* Complementary text + solid utilities */
.lk-text-gold { color: #8a5a0f; }
.lk-text-sage { color: #3f6f5b; }
.lk-text-teal { color: var(--lk-teal); }
.lk-text-plum { color: #5f3d75; }
.lk-bg-gold { background: var(--lk-gold); color: #241a08; }   /* gold needs DARK text for AA */
.lk-bg-sage { background: var(--lk-sage); color: #fff; }
.lk-bg-teal { background: var(--lk-teal); color: #fff; }
.lk-bg-plum { background: var(--lk-plum); color: #fff; }

/* Semantic status badges — consume the newly-defined status tokens */
.lk-badge-success { color: var(--lk-success); background: var(--lk-success-soft); border-color: rgba(21, 128, 61, 0.28); }
.lk-badge-warning { color: var(--lk-warning); background: var(--lk-warning-soft); border-color: rgba(180, 83, 9, 0.28); }
.lk-badge-danger { color: var(--lk-danger); background: var(--lk-danger-soft); border-color: rgba(185, 28, 28, 0.28); }
.lk-badge-info { color: var(--lk-info); background: var(--lk-info-soft); border-color: rgba(3, 105, 161, 0.28); }

/* ── Main content area (HTMX swap target) ── */
#main-content {
  min-height: 50vh;
  overflow-x: clip;
  max-width: 100%;
}
#main-content:focus {
  outline: none;
}

/* Scroll-to-top — positioned in lk-commercial.css (above WhatsApp) */

/* Override template footer logo cap */
body.lk-public .footer.lk-footer .footer-about .logo img,
body.lk-public .footer.lk-footer .footer-logo {
  max-height: none !important;
  height: 56px !important;
  width: auto !important;
}

/* base2 / assets template dark bg override */
body.lk-public.index-page {
  background: var(--lk-bg);
}

/* ── Mobile nav (shared) — single drawer, no horizontal page drift ── */
@media (max-width: 1199.98px) {
  body.lk-public .mobile-nav-toggle {
    display: block !important;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    font-size: 1.6rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    background: transparent;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  body.lk-public.mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    transform: none;
    z-index: 1002;
    color: var(--lk-primary);
    background: var(--lk-surface);
    border: 1px solid var(--lk-border);
    box-shadow: var(--lk-shadow-sm);
  }

  body.lk-public .header .container {
    position: relative;
  }

  body.lk-public .navmenu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 60px 20px 20px;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    background: var(--lk-surface);
    box-shadow: -8px 0 32px rgba(2, 66, 105, 0.12);
    visibility: hidden;
    pointer-events: none;
  }

  body.lk-public .navmenu a {
    color: var(--lk-text);
  }

  body.lk-public .navmenu .dropdown ul {
    background: var(--lk-bg-alt);
    border: 1px solid var(--lk-border);
  }

  body.lk-public .navmenu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Override template main.css full-screen overlay nav on public pages */
  body.lk-public.mobile-nav-active .navmenu {
    inset: auto;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--lk-surface);
    overflow-y: auto;
  }

  body.lk-public .navmenu ul {
    display: block;
    flex-direction: column;
    position: static;
    inset: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  body.lk-public.mobile-nav-active .navmenu > ul {
    display: block;
  }

  body.lk-public .navmenu li {
    margin: 8px 0;
    width: 100%;
  }

  body.lk-public .navmenu a {
    width: 100%;
    display: block;
    white-space: normal;
  }

  body.lk-public .navmenu .dropdown ul {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    margin: 8px 0;
    padding-left: 16px;
    display: block;
  }

  body.lk-public .mobile-auth-buttons {
    display: block !important;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lk-border);
  }

  body.lk-public .mobile-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body.lk-public .header-buttons {
    display: none;
  }

  /* Scroll lock on both html and body keeps the page position intact;
     touch-action stays default so the drawer itself remains scrollable. */
  html.lk-nav-lock,
  html.lk-nav-lock body,
  body.lk-public.mobile-nav-active {
    overflow: hidden;
    overscroll-behavior: none;
  }

  /* While the drawer is open the header must (a) sit above the ::before
     overlay (header is z-997 from main.css, overlay is z-999, and the
     drawer/toggle live inside the header's stacking context — without this
     every tap lands on the overlay), and (b) drop its backdrop-filter,
     which otherwise turns the header into the containing block for the
     fixed-position drawer and X button, detaching them from the viewport. */
  body.lk-public.mobile-nav-active .header.lk-header {
    z-index: 1001;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.lk-public.mobile-nav-active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 999;
    pointer-events: auto;
    touch-action: none;
  }

  body.lk-public.mobile-nav-active #main-content,
  body.lk-public.mobile-nav-active .lk-reg-page,
  body.lk-public.mobile-nav-active .lk-login-page,
  body.lk-public.mobile-nav-active .lk-handler-page,
  body.lk-public.mobile-nav-active .footer {
    pointer-events: none;
  }

  /* Neutralize template main.css full-viewport nav overlay on public pages */
  body.lk-public.mobile-nav-active .navmenu {
    background: var(--lk-surface) !important;
  }
}

@media (min-width: 1200px) {
  body.lk-public .mobile-nav-toggle {
    display: none !important;
  }
}

body.lk-public #preloader {
  display: none !important;
}

@media (max-width: 768px) {
  .lk-section {
    padding: 56px 0;
  }

  .lk-engraving-banner {
    padding: 32px 24px;
  }

  body.lk-public .hero.lk-hero .hero-stats {
    gap: 20px;
  }
}

/* ══════════════════════════════════════════
   PAGE HERO (shared across public pages)
   ══════════════════════════════════════════ */
.lk-page-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #fff 0%, var(--lk-bg) 100%);
  border-bottom: 1px solid var(--lk-border);
}

.lk-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.lk-page-hero p {
  color: var(--lk-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════ */
body.lk-public .feature-box {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  padding: 28px 24px;
  box-shadow: var(--lk-shadow-sm);
  height: 100%;
  transition: transform var(--lk-transition), box-shadow var(--lk-transition);
  text-align: center;
}

body.lk-public .feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--lk-shadow-hover);
}

body.lk-public .feature-box .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--lk-primary), var(--lk-primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

body.lk-public .feature-box h4 {
  color: var(--lk-heading);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

body.lk-public .feature-box p {
  color: var(--lk-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

body.lk-public .stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius-lg);
  padding: 40px 32px;
  box-shadow: var(--lk-shadow);
}

body.lk-public .stat-item {
  text-align: center;
  min-width: 140px;
}

@media (max-width: 575.98px) {
  body.lk-public .stats-container {
    gap: 0.75rem;
  }

  body.lk-public .stat-item {
    min-width: 0;
    flex: 1 1 calc(50% - 0.5rem);
  }

  body.lk-public .stat-number {
    font-size: 1.5rem;
  }

  body.lk-public .stat-label {
    font-size: 0.78rem;
  }
}

body.lk-public .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--lk-primary);
  font-family: "Poppins", sans-serif;
}

body.lk-public .stat-label {
  color: var(--lk-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

body.lk-public .chef-signature {
  background: var(--lk-bg-alt);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  padding: 20px;
}

body.lk-public .chef-message {
  color: var(--lk-text) !important;
  font-style: italic;
}

body.lk-public .chef-name {
  color: var(--lk-accent) !important;
  font-weight: 600;
}

body.lk-public .challenges-section {
  background: var(--lk-bg-alt);
  border-radius: var(--lk-radius-lg);
  padding: 48px 32px;
  border: 1px solid var(--lk-border);
}

body.lk-public .challenges-section h2,
body.lk-public .challenges-section .lead {
  color: var(--lk-heading) !important;
}

body.lk-public .nav-tabs-3d {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  padding: 20px;
  box-shadow: var(--lk-shadow-sm);
}

body.lk-public .nav-tabs-3d .nav-tab-header h4 {
  color: var(--lk-heading) !important;
}

body.lk-public .nav-tabs-3d .nav-link {
  color: var(--lk-text);
  border-radius: 8px;
  margin-bottom: 4px;
}

body.lk-public .nav-tabs-3d .nav-link.active {
  background: rgba(253, 126, 20, 0.12);
  color: var(--lk-accent);
}

body.lk-public .challenge-card-3d {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  padding: 32px;
  box-shadow: var(--lk-shadow);
}

body.lk-public .challenge-card-3d h3 {
  color: var(--lk-heading);
}

body.lk-public .challenge-intro,
body.lk-public .challenge-list li {
  color: var(--lk-text-muted);
}

body.lk-public .challenge-stat .stat-number {
  color: var(--lk-accent);
  font-size: 2.5rem;
}

body.lk-public .story-card {
  background: var(--lk-surface) !important;
  border: 1px solid var(--lk-border) !important;
  box-shadow: var(--lk-shadow) !important;
}

/* ══════════════════════════════════════════
   SEARCH / EXPLORE / GRAVE LOCATOR
   ══════════════════════════════════════════ */
.lk-search-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
}

.lk-search-panel.lk-glass-card {
  background: var(--lk-surface);
}

.lk-results-header {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-bottom: none;
  border-radius: var(--lk-radius) var(--lk-radius) 0 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lk-results-header h4 {
  margin: 0;
  color: var(--lk-primary);
  font-size: 1.1rem;
}

.lk-results-body {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: 0 0 var(--lk-radius) var(--lk-radius);
  padding: 24px;
  box-shadow: var(--lk-shadow);
}

body.lk-public .memorial-card {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border) !important;
  border-radius: var(--lk-radius) !important;
  transition: transform var(--lk-transition), box-shadow var(--lk-transition);
}

body.lk-public .memorial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lk-shadow-hover) !important;
}

body.lk-public .memorial-profile-card {
  border: 1px solid var(--lk-border) !important;
  border-radius: var(--lk-radius-lg) !important;
  background: var(--lk-surface);
}

body.lk-public .nav-tabs .nav-link.active {
  color: var(--lk-primary);
  border-bottom: 3px solid var(--lk-accent);
  background: transparent;
}

.lk-grave-search-card {
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius-lg);
  overflow: hidden;
  box-shadow: var(--lk-shadow-lg);
  background: var(--lk-surface);
}

.lk-grave-search-card .lk-card-head {
  background: linear-gradient(135deg, var(--lk-primary), var(--lk-primary-light));
  color: #fff;
  padding: 20px 28px;
}

.lk-grave-search-card .lk-card-body {
  padding: 32px 28px;
}

.lk-form-control:focus {
  border-color: var(--lk-accent);
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.15);
}

.lk-card-option input[type="radio"] {
  display: none;
}

.lk-card-option label {
  border: 2px solid var(--lk-border);
  background: var(--lk-bg);
  transition: all var(--lk-transition);
  cursor: pointer;
}

.lk-card-option input:checked + label {
  border-color: var(--lk-accent);
  background: rgba(253, 126, 20, 0.08);
  box-shadow: var(--lk-shadow-sm);
}

/* ══════════════════════════════════════════
   GALLERY BROWSE
   ══════════════════════════════════════════ */
.lk-browse-toolbar {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  padding: 24px;
  box-shadow: var(--lk-shadow-sm);
  margin-bottom: 32px;
}

body.lk-public .gallery-item-card .card-3d-container {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  overflow: hidden;
  box-shadow: var(--lk-shadow);
  transition: transform var(--lk-transition), box-shadow var(--lk-transition);
}

body.lk-public .gallery-item-card:hover .card-3d-container {
  transform: translateY(-8px);
  box-shadow: var(--lk-shadow-hover);
}

body.lk-public .gallery-item-overlay {
  background: rgba(2, 66, 105, 0.75);
}

.lk-filter-select,
.lk-filter-input {
  border: 1px solid var(--lk-border);
  border-radius: 8px;
  font-size: 0.9rem;
}

.lk-filter-select:focus,
.lk-filter-input:focus {
  border-color: var(--lk-accent);
  box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.12);
}

/* ── Mega CTA (navy panel) — badge + headline must stay white ── */
body.lk-public .lk-mega-cta-inner .lk-mega-cta-copy .lk-badge-light,
body.lk-public .lk-mega-cta-inner .lk-badge.lk-badge-light {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

body.lk-public .lk-mega-cta-inner .lk-mega-cta-headline,
body.lk-public .lk-mega-cta-inner h2.lk-mega-cta-headline {
  color: #ffffff !important;
}

body.lk-public .lk-mega-cta-inner .lk-mega-cta-text {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Memorial unavailable (expired owner subscription) */
.lk-lp-unavailable {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.lk-lp-unavailable-card {
  max-width: 28rem;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--lk-border, #e2e8f0);
  background: #fff;
  box-shadow: 0 8px 32px rgba(2, 66, 105, 0.08);
}

.lk-lp-unavailable-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(185, 28, 28, 0.1);
  color: #991b1b;
  font-size: 1.75rem;
}

.lk-lp-unavailable-icon--private {
  background: rgba(2, 66, 105, 0.1);
  color: var(--lk-primary, #024269);
}

.lk-lp-unavailable-card h1 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--lk-primary, #024269);
}

.lk-lp-unavailable-lead {
  color: var(--lk-text-muted, #64748b);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.lk-lp-unavailable-name {
  margin-bottom: 1.25rem;
}

.lk-lp-unavailable-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* Signed-in visitor on public pages */
.lk-public-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border: 1px solid rgba(2, 66, 105, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--lk-primary, #024269);
  font-weight: 600;
  font-size: 0.88rem;
}

.lk-public-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 66, 105, 0.08);
}

.lk-public-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lk-public-user-dropdown {
  min-width: 220px;
  border-radius: 12px;
  padding: 0.35rem;
}

.lk-public-user-dropdown-head {
  padding: 0.5rem 0.75rem;
}

.lk-public-user-dropdown-head strong {
  display: block;
  color: var(--lk-primary, #024269);
}

.lk-public-user-dropdown-head span {
  display: block;
  font-size: 0.78rem;
  color: var(--lk-text-muted, #64748b);
}

.lk-public-user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.lk-public-user-danger {
  color: #b91c1c !important;
}

/* Cookie consent banner */
.lk-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(2, 66, 105, 0.12);
  box-shadow: 0 -8px 32px rgba(2, 66, 105, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lk-cookie-consent[hidden] {
  display: none !important;
}

.lk-cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.lk-cookie-consent-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lk-primary, #024269);
}

.lk-cookie-consent-title i {
  color: var(--lk-accent, #fd7e14);
  font-size: 1.05rem;
}

.lk-cookie-consent-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--lk-text-muted, #64748b);
  max-width: 52rem;
}

.lk-cookie-consent-text a {
  color: var(--lk-primary, #024269);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lk-cookie-consent-text a:hover {
  color: var(--lk-accent, #fd7e14);
}

.lk-cookie-consent-actions {
  flex-shrink: 0;
}

body.lk-cookie-consent-visible .lk-footer {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767.98px) {
  .lk-cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .lk-cookie-consent-title {
    justify-content: center;
  }

  .lk-cookie-consent-actions .lk-btn-primary {
    width: 100%;
    justify-content: center;
  }

  body.lk-cookie-consent-visible .lk-footer {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.lk-founding-promo {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1070;
  width: min(340px, calc(100vw - 2.5rem));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(2, 66, 105, 0.22);
  border: 1px solid rgba(2, 66, 105, 0.1);
  animation: lk-founding-promo-in 0.35s ease-out;
}

.lk-founding-promo[hidden] {
  display: none !important;
}

.lk-founding-promo-inner {
  position: relative;
  padding: 1.1rem 1.25rem 1.15rem;
}

.lk-founding-promo-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--lk-text-muted, #64748b);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lk-founding-promo-close:hover {
  background: rgba(2, 66, 105, 0.08);
  color: var(--lk-primary, #024269);
}

.lk-founding-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--lk-accent-soft, rgba(253, 126, 20, 0.12));
  color: var(--lk-accent-text, #c2410c);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.lk-founding-promo-title {
  margin: 0 0 0.35rem;
  padding-right: 1.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--lk-primary, #024269);
  line-height: 1.35;
}

.lk-founding-promo-text {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--lk-text-muted, #64748b);
}

.lk-founding-promo-actions .lk-btn-accent {
  width: 100%;
  justify-content: center;
}

@media (max-width: 480px) {
  .lk-founding-promo {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }
}

@keyframes lk-founding-promo-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
