/* =========================================================
   KANEER — styles.css   (all pages)
   ========================================================= */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --gold: #C99A30;
  --gold-light: #D4A843;
  --gold-pale: #F5EDD8;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --cream: #FAF8F3;
  --cream-2: #F4F0E6;
  --text: #2C2C2C;
  --text-muted: #6B6B6B;
  --border: #E4DDD0;
  --white: #FFFFFF;
  --green: #22C55E;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 32px rgba(0, 0, 0, .12);
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}



/* ── Ticker Bar ────────────────────────────────────────── */
.ticker-bar {
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: ticker 30s linear infinite;
}

.ticker-dot {
  color: var(--gold);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 44px;
}

.nav-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 8px 16px;
  gap: 8px;
  transition: border-color .2s, box-shadow .2s;
}

.nav-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 48, 0.12);
}

.nav-search form {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.nav-search input {
  flex: 1;
  background: none;
  font-size: 14px;
  color: var(--text);
  min-width: 0;
}

.nav-search input::placeholder {
  color: #aaa;
}

.search-btn {
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s;
}

.search-btn:hover {
  background: #b8881e;
}

.search-btn img {
  width: 14px;
  filter: brightness(0) invert(1);
}

/* ── Custom Navigation Search Extensions ── */
.nav-search-divider {
  width: 1px;
  height: 20px;
  background-color: var(--border);
  margin: 0 4px;
  flex-shrink: 0;
}

.nav-search select {
  background: none;
  font-size: 13px;
  color: var(--text);
  border: none;
  outline: none;
  cursor: pointer;
  max-width: 120px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 24px 0 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px;
}

@media (max-width: 992px) {
  .nav-search select {
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .nav-search {
    padding: 8px 12px;
  }

  .nav-search select {
    max-width: 100px;
    font-size: 12px;
    padding-right: 18px;
  }

  .nav-search input {
    font-size: 13px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* User Menu Dropdown */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.user-name:hover {
  color: var(--gold) !important;
}

.user-name::after {
  content: '▼';
  font-size: 10px;
  color: var(--text-muted);
}

.user-menu .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}

.user-menu:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu .dropdown a {
  padding: 10px 20px;
  font-size: 14px !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  transition: background .2s, color .2s !important;
  display: block;
}

.user-menu .dropdown a:hover {
  background: var(--cream);
  color: var(--gold) !important;
}

.btn-create {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s !important;
}

.btn-create:hover {
  background: #333 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 60px 24px;
}

p.hero-sub-heading {
  font-family: lora;
  font-size: 14px;
}

p.hero-subtitle {
  color: #fff;
}

.hero-sub-heading span {
  position: relative;
  display: inline-block;
  padding-top: 10px;
}

.hero-sub-heading span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  /* adjust line width */
  height: 2px;
  /* thickness */
  background: #c99a30;
  /* line color */
}

.hero-tagline {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .8);
}

.hero-tagline .dot {
  color: var(--gold);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 16px;
  opacity: .85;
  max-width: 560px;
  margin: 0 auto 32px;
  font-family: 'Lora';
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #D4A843;
  color: #000000;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}

.btn-primary:hover {
  background: #b8881e;
}

.btn-outline {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  /* transparent white */
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Safari */
}


.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .7;
  font-weight: 600;
}

/* ── Section Common ────────────────────────────────────── */
.section {
  padding: 35px 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* .section-divider {
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
} */

/* ── Country ───────────────────────────────────────────── */
.country-section {
  background: var(--white);
}

.country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .2s;
}

.country-card:hover {
  transform: translateY(-4px);
}

.country-flag {
  width: 160px;
  height: 85px;
  border-radius: 5px;
  
  overflow: hidden;
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-name {
  font-weight: 400;
  font-size: 16px;
  color: #1A1A18;
}

.country-posts {
  font-size: 12px;
  color: #000;
  background-color: #EDE7D6;
  padding: 0px 10px 0px 10px;
  border-radius: 27px;
}

/* ── Memorials Grid ────────────────────────────────────── */


.order-sidebar {
  position: sticky;
  height: max-content;
  top: 0px;
}

.card-container {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.memorial-card {
  background: linear-gradient(to bottom,
      #F5ECD5 0%,
      #FAF7F0 60%,
      #FAFAF7 100%);
  border-radius: 15px;
      padding: 15px 20px 5px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  min-width: 100%;
}

.memorial-card:hover {
  transform: translateY(-3px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.card-body {
  display: flex;
  gap: 15px;
}

.profile-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.details h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.years {
  color: #d4a017;
  font-weight: 600;
  margin: 5px 0;
}

.location {
  font-size: 14px;
  color: #555;
  margin: 2px 0;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.tributes {
  color: #c08a00;
  font-size: 14px;
}

.btn {
  background: transparent;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.btn:hover {
  background: #ddd;
}

/*

.memorials-section {
   background: #0f0f0f;
  padding: 72px 0; 
}

.memorials-section .section-header .section-divider {
  background: var(--gold);
}

.memorials-section .section-title {
  color: black;
}
  .memorial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}
  
*/
.memorials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-content: start;
}



.memorial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}

.card-tag {
  font-size: 12px;
  color: #000;
  font-weight: 500;
  letter-spacing: .4px;
  

}

span.card-tag {
    padding: 4px;
}

.card-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.card-body {
  display: flex;
  gap: 16px;
  margin-bottom: 0px;
  align-items: center;
}

.card-photo {
  width: 72px;
  height: 72px;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
  border: 0px;
  /* box-shadow: 0 2px 12px rgba(201, 154, 48, .25); */
  position: relative;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  flex: 1;
  min-width: 0;
  
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: initial;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-years {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: .5px;
}

.card-location {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-footer {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}

.tribute-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #D4A843;
  font-weight: 600;
  padding: 6px 14px;

  transition: all .2s;
  cursor: pointer;
}

.tribute-btn:hover {
 
  border-color: rgba(211, 47, 47, .4);
}

.tribute-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.rip-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #EDEDED;
  ;
  background: var(--cream);
  transition: all .2s;
  margin-left: auto;
  cursor: pointer;
}

.rip-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.rip-btn img {
  width: 14px;
}

.no-memorials {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, .5);
  padding: 40px;
}

.no-memorials a {
  color: var(--gold);
}

/* ── How it Works ──────────────────────────────────────── */
.how-section {
  background: var(--white);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.how-card {
  text-align: center;
}

.how-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.how-circle {
  width: 80px;
  height: 80px;
}

.how-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
}

.how-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

section.section.how-section {
  padding-bottom: 70px;
      padding-top: 0px;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  height: 52px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
}

.footer-contact ul li img {
  width: 16px;
  opacity: .7;
}
i.fab.fa-twitter {
    color: #acacac;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a img {
  width: 24px;
  opacity: .7;
  transition: opacity .2s;
}

.social-links a:hover img {
  opacity: 1;
}

/* ── Shared Two-Column Auth Layout ─────────────────────── */
.auth-page {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px 0px;
}

.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 940px;
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.auth-left {
  background: var(--dark);
  color: var(--white);
  padding: 52px 44px;
}

.auth-left-line {
  width: 32px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 32px;
  border-radius: 2px;
}

.auth-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.auth-left h2 span {
  
  font-style: italic;
  color: var(--gold);
}

.auth-left p {
  font-size: 16px !important;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.step-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.auth-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.auth-feat-text strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.auth-feat-text span {
  font-size: 14px !important;
  color: rgba(255, 255, 255, .6);
}

.auth-right {
  padding: 48px 44px;
  background: var(--white);
}

.auth-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-sub a {
  color: var(--gold);
  font-weight: 600;
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  
    border-color: #c93047;
    box-shadow: 0 0 0 3px rgb(201 48 48 / 12%);
  background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.input-wrap {
  position: relative;
}

.input-wrap .form-input {
  padding-right: 44px;
}

.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
}

.password-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}

.checkbox-row label {
  font-size: 13px;
  color: var(--text-muted);
}

.checkbox-row label a {
  color: var(--gold);
  font-weight: 600;
}

.btn-full {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: #b8881e;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #333;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  margin-bottom: 20px;
  cursor: pointer;
  transition: background .2s;
}

.btn-google:hover {
  background: var(--cream);
}

.divider-text {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin: 16px 0;
  position: relative;
}

.divider-text::before,
.divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35% !important;
  height: 1px;
  background: var(--border);
}

.divider-text::before {
  left: 0;
}

.divider-text::after {
  right: 0;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--gold);
  font-weight: 600;
}

.text-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

/* ── Forgot / Reset Password ───────────────────────────── */
.auth-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.strength-bar.active {
  background: var(--gold);
}

/* ── Pricing Page ──────────────────────────────────────── */
.pricing-page {
  background: #fff;
}

.pricing-hero {
  text-align: center;
  padding: 64px 24px 40px;
  background: linear-gradient(165deg,
      #ffffff 0%,
      #fbf6ec 55%,
      #fdf5e0 100%);
}

.pricing-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.pricing-hero p {
  font-size: 16px;
  color: var(--text-muted);

  margin: 0 auto;
}

.tab-btn.first {
  border: none;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 40px;
  background: #fff;
  width: fit-content;
  border-radius: 8px;
  padding: 4px;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
  background: none;
  border: 1px solid #E8DFC8;
  color: #000;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.tab-btn.active {
  background: var(--dark);
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 0px 0px 8px 8px;
  white-space: nowrap;
  letter-spacing: .5px;
}


.popular-badge.pricing {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 0px 0px 8px 8px;
  white-space: nowrap;
  letter-spacing: .5px;
}

.plan-duration {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-card.featured .plan-desc {
  color: rgba(255, 255, 255, .6);
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}

.plan-price sup {
  font-size: 18px;
  vertical-align: super;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 24px;
  flex-grow: 1;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.plan-feature .check {
  color: var(--gold);
  font-size: 14px;
}

.plan-feature.disabled {
  opacity: .4;
}

.btn-order {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text);
  transition: background .2s, color .2s;
}

.btn-order:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.pricing-card.featured .btn-order {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.pricing-card.featured .btn-order:hover {
  background: #b8881e;
}

/* FAQ */
.faq-section {
  max-width: 1065px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--border);

  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0px;
  font-size: 16px;
  font-weight: 500;
  background: var(--white);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  color: var(--gold);
  font-size: 12px;
  width: 20px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
  background: var(--cream);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 14px 20px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.video-item {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-caption {
  padding: 12px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid var(--border);
}

/* ── Contact Page ──────────────────────────────────────── */
.contact-hero {
  text-align: center;
  background: var(--cream);
  padding: 64px 24px 48px;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.contact-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.contact-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hours-table {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 32px;
}

.hours-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  color: var(--text-muted);
}

.hours-row .time {
  font-weight: 600;
  color: var(--text);
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.channel-item strong {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.channel-item span {
  font-size: 14px;
  font-weight: 600;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.social-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  transition: background .2s;
}

.social-chip:hover {
  background: var(--cream);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-style: italic;
  margin-bottom: 6px;
}

.contact-form-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Create Memorial — Stepper ─────────────────────────── */
.create-page {
  background: var(--white);
  min-height: calc(100vh - 100px);
}

.create-page>.container {
  max-width: 1200px;
}

.create-header {
  padding: 40px 24px 32px;
  border-bottom: 1px solid var(--border);
}

.create-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}

.create-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  float: right;
  margin-top: -48px;
}

.step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
}

.step.active .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.step.done .step-circle {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.step.active {
  color: var(--text);
  font-weight: 600;
}

.step-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
}

.step-line.done {
  background: var(--dark);
}

.create-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}.create-page>.container

/* Create form card */
.create-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.create-card-header {
  background: var(--dark);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.create-card-header .icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.create-card-header strong {
  font-size: 16px;
  display: block;
}

.create-card-header span {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

.create-card-body {
  padding: 28px 24px;
}

.section-label {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 28px;
}

.section-label:first-child {
  margin-top: 0;
}

.section-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tag-chip {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  background: var(--white);
}

.tag-chip:hover,
.tag-chip.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--text);
}

.photo-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  background: var(--cream);
}

.photo-upload:hover {
  border-color: var(--gold);
}

.photo-upload .upload-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.photo-upload strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.photo-upload span {
  font-size: 12px;
  color: var(--text-muted);
}

.photo-upload a {
  color: var(--gold);
}

.char-count {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.btn-back {
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
}

.btn-back:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.btn-continue {
  padding: 12px 24px;
  background: var(--dark);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.btn-continue:hover {
  background: #333;
}

/* Order Summary sidebar */
.order-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.sidebar-card h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.order-row:last-child {
  border-bottom: none;
}

.addon-row {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border) !important;
  padding: 8px 0 !important;
}

.addon-row span:last-child {
  font-weight: 600;
  color: var(--text);
}

.order-row strong {
  font-size: 14px;
}

.order-row .plan-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.order-price {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

.order-total {
  font-size: 20px;
  color: var(--text);
  font-weight: 800;
}

.sidebar-dark {
  background: var(--dark);
  color: var(--white);
}

.sidebar-dark h4 {
  color: rgba(255, 255, 255, .5);
}

.what-next-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.what-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
      padding-top: 10px;
}

.what-step .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.what-step span {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.5;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.help-item:last-child {
  border-bottom: none;
}

.help-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.help-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.help-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Packages Step ─────────────────────────────────────── */
.package-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.pkg-type {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--white);
}

.pkg-type.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.pkg-type .pkg-icon {
  width: 48px;
  height: 48px;
  background: var(--cream-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
  overflow: hidden;
}

.pkg-type .pkg-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pkg-icon-placeholder {
  color: #9ca3af;
  font-size: 20px;
}

.pkg-type strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pkg-type span {
  font-size: 14px;
  color: var(--text-muted);
}

.pkg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pkg-item {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pkg-item:hover,
.pkg-item.selected {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 154, 48, 0.12);
}

.pkg-item.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #ffffff 0%, #fcf9f2 100%);
  border-width: 2px;
}

.pkg-item input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  margin: 0;
}

.pkg-item-info {
  flex: 1;
}

.pkg-item-info strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.pkg-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pkg-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--cream-2);
  border-radius: 20px;
  color: var(--dark);
  
  letter-spacing: 0.5px;
}

.pkg-price {
  text-align: right;
  flex-shrink: 0;
  background: var(--cream-2);
  padding: 12px 18px;
  border-radius: 12px;
  min-width: 110px;
  transition: background 0.3s;
}

.pkg-item:hover .pkg-price {
  background: var(--gold-pale);
}

.pkg-price strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.pkg-price span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.optional-extras h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--white);
}

.extra-item.active {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.extra-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extra-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.extra-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 22px;
  cursor: pointer;
  transition: background .2s;
}

.toggle-switch input:checked+.toggle-slider {
  background: var(--gold);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
}

.toggle-switch input:checked+.toggle-slider::before {
  transform: translateX(18px);
}

/* ── Payment Page ──────────────────────────────────────── */
.payment-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pay-method {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-method.active,
.pay-method:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.divider-line {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 16px 0;
  position: relative;
}

.divider-line::before,
.divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 46%;
  height: 1px;
  background: var(--border);
}

.divider-line::before {
  left: 0;
}

.divider-line::after {
  right: 0;
}

/* ── Success / Memorial Created ───────────────────────── */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 60px 24px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}

.success-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.success-page p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* Password Success */
.password-success-msg {
  background: #f0faf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #15803d;
  margin-bottom: 24px;
}

/* ── Tribute / Memorial Profile Page ───────────────────── */
.tribute-header {
  background: var(--cream-2);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.tribute-main {
  position: sticky;
  height: max-content;
  top: 0px;
}

.tribute-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.tribute-photo {
    width: 238px;
  height: 238px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.tribute-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tribute-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(201, 154, 48, .3);
}

.tribute-sidebar {
    position: sticky;
    height: max-content;
    top: 80px;
}

.tribute-name {
  font-family: 'Playfair Display', serif;
  font-size: 41px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.tribute-name-local {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tribute-years {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.tribute-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tribute-meta-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
}

/* Tribute sub-nav */
.tribute-subnav {
  border-bottom: 2px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 57px;
  z-index: 50;
}

.tribute-subnav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}

.subnav-link {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s;
}

.subnav-link.active {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.subnav-link:hover {
  color: var(--text);
}

/* Tribute body */
.tribute-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
}

.tribute-main {}

.tribute-sidebar {}

/* Tribute post card */
.tribute-post {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.tribute-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tribute-post-tag {
  background: var(--cream-2);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--gold);
  border: 1px solid rgba(201, 154, 48, .2);
}

.tribute-post-date {
  font-size: 12px;
  color: var(--text-muted);
}

.tribute-post h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tribute-post p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.tribute-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.tribute-poster {
  font-size: 13px;
  color: var(--text-muted);
}

.tribute-poster a {
  color: var(--gold);
  font-weight: 600;
}

.share-row {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: var(--white);
  cursor: pointer;
  transition: background .2s;
  color: var(--text-muted);
}

.share-btn:hover {
  background: var(--cream);
}

/* About sidebar */
.about-card,
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.about-card h4,
.related-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card h4::before,
.related-card h4::before {
  content: '—';
  color: var(--gold);
}

.about-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.about-row:last-child {
  border-bottom: none;
}

.about-row .about-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.about-row .about-data strong {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.about-row .about-data span {
  font-weight: 600;
}

.related-memorial {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}



.related-memorial:hover .rel-name {
  color: var(--gold);
}

.rel-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.rel-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color .2s;
}

.rel-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.rel-sub span {
  color: var(--gold);
  font-weight: 600;
}

/* Tributes tab */
.post-tribute-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

.post-tribute-icon {
  font-size: 24px;
}

.post-tribute-bar span {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
}

.btn-post-tribute {
  background: var(--gold);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tribute-message-card {
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.tribute-message-card.dark {
  background: var(--dark);
  color: var(--white);
}

.tribute-message-card.light {
  background: var(--cream-2);
}

.tribute-message-card.pink {
  background: #fff0f3;
}

.tribute-type-label {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}

.tribute-message-card.dark .tribute-type-label {
  color: var(--gold);
}

.tribute-quote {
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
}

.tribute-message-card.dark .tribute-quote {
  color: rgba(255, 255, 255, .85);
}

.tribute-message-card.light .tribute-quote {
  color: var(--text);
}

.tribute-message-card.pink .tribute-quote {
  color: #c026d3;
}

.tribute-from {
  font-size: 13px;
  font-weight: 600;
}

.tribute-from-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.tribute-message-card.dark .tribute-from {
  color: var(--white);
}

.tribute-message-card.dark .tribute-from-sub {
  color: rgba(255, 255, 255, .5);
}

.tribute-bg-img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 120px;
  height: 100px;
  object-fit: cover;
  opacity: .35;
  border-radius: 8px;
}

/* Photos tab */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photos-grid .photo-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-2);
  cursor: pointer;
  position: relative;
}

.photos-grid .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.photos-grid .photo-item:hover .photo-overlay {
  opacity: 1;
}

.zoom-btn {
  background: #fff;
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.3s;
}

.photos-grid .photo-item:hover .zoom-btn {
  transform: translateY(0);
}

.photos-grid .photo-item:hover img {
  transform: scale(1.05);
}

/* ── Post Tribute Modal ──────────────────────────────────*/
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0 0 0 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.modal-header-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  background: var(--white);
}

.modal-close:hover {
  background: var(--cream);
}

.modal-person-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-2);
  padding: 14px 24px;
}

.modal-person-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.modal-person-name {
  font-size: 15px;
  font-weight: 700;
}

.modal-person-dates {
  font-size: 12px;
  color: var(--text-muted);
}

.tribute-count-badge {
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

.modal-body {
  padding: 24px;
}

.modal-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-section-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-designs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 6px;
}

.card-design {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  border-radius: 8px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color .2s;
}

.card-design.selected {
  border-color: var(--gold);
}

.card-design img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-design .card-design-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-align: center;
  font-weight: 600;
  padding: 6px;
}

.card-d1 {
  background: var(--dark);
  color: var(--white);
}

.card-d2 {
  background: var(--cream-2);
  color: var(--text);
}

.card-d3 {
  background: #111;
  color: var(--white);
}

.card-d4 {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}

.card-d5 {
  background: #111;
  color: var(--white);
}

.card-design-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 20px;
}

.card-design-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.card-design-dots span.active {
  background: var(--gold);
}

.modal-library-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.modal-char-count {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  bottom: 0;
}

.btn-preview {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
}

.btn-submit {
  padding: 11px 28px;
  background: var(--gold);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.btn-submit:hover {
  background: #b8881e;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {

  .tribute-body,
  .create-body,
  .contact-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-left {
    display: none;
  }

  .stepper {
    float: none;
    margin-top: 16px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .stepper::-webkit-scrollbar {
    height: 3px;
  }

  .stepper::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
  }

  .step,
  .step-line {
    flex-shrink: 0;
  }

  .step span {
    white-space: nowrap;
  }

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }

  .hamburger {
    display: flex;
  }

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

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.featured {
    transform: none;
  }

  .package-types {
    grid-template-columns: 1fr 1fr;
  }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ── Memorial View Page ─────────────────────────────────── */
.tribute-header {
  background: var(--dark);
  /* padding: 60px 24px; */
  color: var(--white);
}

.tribute-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.tribute-photo {
  width: 182;
  height: 182;
  border-radius: 50%;
  border: 4px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}

.tribute-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tribute-badge {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tribute-name {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.tribute-years {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 16px;
  font-weight: 500;
}

.tribute-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tribute-meta-chip {
  background: rgba(255, 255, 255, .1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* Sub Navigation */
.tribute-subnav {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  position: sticky;
  top: 0;
  z-index: 90;
}

.tribute-subnav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  /* overflow-x: auto; */
}

.subnav-link {
  color: rgba(255, 255, 255, .6);
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}

.subnav-link:hover,
.subnav-link.active {
  color: var(--gold);
}

.subnav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
}

/* Body */
.tribute-body {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn .3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home & Obituary Tab */
.tribute-post {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.tribute-post h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 20px;
}

.tribute-post p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.tribute-post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tribute-post-tag {
  background: var(--cream);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.tribute-post-date {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.tribute-post-footer {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tribute-poster {
  font-size: 13px;
  color: var(--text-muted);
}

.tribute-poster a {
  color: var(--gold);
  font-weight: 600;
}

.share-row {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: all .2s;
}

.share-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* Tributes Tab */
.post-tribute-bar {
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: 32px;
}

.post-tribute-bar:hover {
  border-color: var(--gold);
  background: var(--cream);
}

.post-tribute-icon {
  font-size: 24px;
}

.post-tribute-bar span:nth-child(2) {
  flex: 1;
  color: var(--text-muted);
  font-size: 15px;
}

.btn-post-tribute {
  background: var(--gold);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}

.btn-post-tribute:hover {
  background: #b8881e;
}

.tribute-message-card {
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tribute-message-card:hover {
  transform: translateY(-3px);
}

/* Premium Dark Theme (As per design) */
.tribute-message-card.dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tribute-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.tribute-body-content {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.tribute-quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 1;
  color: #f59e0b;
  /* Orange/Gold */
  opacity: 0.9;
  margin-top: -10px;
}

.tribute-quote-text {
  font-size: 16px;
  line-height: 1.6;
  color: #fbbf24;
  /* Lighter Gold */
  font-weight: 500;
  flex: 1;
  font-style: italic;
  word-break: break-word;
}

.tribute-footer-meta {
  position: relative;
  z-index: 2;
}

.tribute-from-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--white);
}

.tribute-meta-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.tribute-design-decoration {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 22%;
  /* height: 160px; */
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.tribute-design-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Light & Pink Fallbacks */
.tribute-message-card.light {
  background: var(--cream-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.tribute-message-card.light .tribute-quote-text {
  color: var(--text);
}

.tribute-message-card.pink {
  background: #fff0f3;
  color: #c026d3;
}

.tribute-message-card.pink .tribute-quote-text {
  color: #c026d3;
}

.no-tributes {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 40px 0;
}

/* Photos Tab */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sidebar */
.about-card,
.related-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-card h4,
.related-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  font-weight: 700;
  color: var(--dark);
}

.about-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.about-row:last-child {
  margin-bottom: 0;
}

.about-icon {
  width: 36px;
  height: 36px;
  background: var(--cream-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-data strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-weight: 700;
}

.about-data span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
}

.about-data span small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1px;
}

.related-memorial {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: background .2s;
  border: 1px solid var(--border);
}

.related-memorial:hover {
  background: var(--cream);
  border-color: var(--gold);
}

.rel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.rel-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.rel-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.cms-content-body p {
    margin-bottom: 1.5rem;
    font-size: 16px;
}
.cms-content-body ul li {
  
    font-size: 16px;
}

/* Tribute Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 95%;
  max-width: 800px;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  margin: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
}

.modal-header-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--dark);
  text-transform: uppercase;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  border: none;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 10px;
}

.modal-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.tribute-form-section {
  margin-top: 24px;
}

.tribute-submitter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .tribute-submitter-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.tribute-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-submit {
  background: var(--gold);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(201, 154, 48, 0.3);
}

.btn-submit:hover {
  background: #b8881e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 154, 48, 0.4);
}

/* Tribute Card Selection UI */
.tribute-card-options {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.tribute-card-options::-webkit-scrollbar {
  display: none;
}

.card-option {
  width: 160px;
  height: 100px;
  border-radius: 12px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-option:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.card-option.selected {
  border-color: var(--gold);
  background: var(--cream-2);
  box-shadow: 0 8px 20px rgba(201, 154, 48, 0.15);
}

.card-option.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-opt-dark {
  background: #1a1a1a;
  color: var(--gold);
  border-color: #333;
}

.card-opt-light {
  background: var(--cream-2);
  color: var(--text);
}

.card-opt-pink {
  background: #fff0f3;
  color: #c026d3;
}

.tribute-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ── Loader & Status Popups ────────────────────────────── */
.modal-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
}

.modal-loader.active {
  display: flex;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gold-pale);
  border-top: 4px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.status-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}

.status-modal.open {
  display: flex;
}

.status-card {
  background: var(--white);
  max-width: 400px;
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 32px;
}

.status-icon.success {
  background: #DCFCE7;
  color: #166534;
}

.status-icon.error {
  background: #FEE2E2;
  color: #991B1B;
}

.status-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.status-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-status-close {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-status-success {
  background: var(--gold);
  color: var(--white);
}

.btn-status-error {
  background: #E5E7EB;
  color: var(--dark);
}


.no-results.text-center.pt-5.pb-5 {
    margin-bottom: 40px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

a.btn-primary.mt-3 {
    margin-top: 15px;
}

/* ── Responsive ─────────────────────────────────────────── */

/* Tablet and Mobile Menu: 992px and below */
@media (max-width: 992px) {
  .nav-inner {
    position: relative;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .nav-logo img {
    height: 40px;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 28px !important;
    height: 20px !important;
    margin-left: auto !important;
    order: 2 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 101 !important;
    padding: 0 !important;
    box-sizing: content-box !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hamburger span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: var(--dark) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg) !important;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg) !important;
  }

  .nav-search {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    border-radius: 12px;
    display: none;
  }

  .nav-search.open {
    display: none;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    margin-left: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .btn-create {
    margin-top: 8px;
    text-align: center;
    border-radius: 8px !important;
    width: 100%;
    padding: 12px !important;
  }

  .user-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .user-menu .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    width: 100%;
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    min-height: 420px;
  }

  .hero-content {
    padding: 48px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  /* Country */
  .country-grid {
    gap: 16px;
    display: grid;
        grid-template-columns: 1fr 1fr 1fr;
  }

  .country-flag {
    width: 100px;
    height: 64px;
  }

  /* Memorials grid */
  .memorials-grid {
    grid-template-columns: 1fr;
            padding-bottom: 50px;
  }

  /* How it Works */
  .how-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Tribute View */
  .tribute-header-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .tribute-name {
    font-size: 28px;
  }

  .tribute-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Auth */
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-left {
    display: none;
  }
.card-body {
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
    align-items: center;
    flex-direction: column;
}
.memorial-card {
    background: linear-gradient(to bottom, #F5ECD5 0%, #FAF7F0 60%, #FAFAF7 100%);
    border-radius: 15px;
    padding: 18px 20px 10px 20px;
}
.contact-body{
          padding: 40px 15px 50px 15px;
          display:block !important;
}

.contact-form-card {
    padding: 15px;
    margin-top: 30px;
}

.pkg-item {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex-direction: column;
}
.tribute-main {
    position: relative;
}

.tribute-subnav-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
   overflow-x: auto; 
}

.post-tribute-bar{
  display: flex;
  flex-direction: column;
}
.post-tribute-bar span:nth-child(2) {
    
    text-align: center;

}
.auth-right{
  width : 100% !important;
}
.auth-card {
    display: flex;
    max-width: 1000px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    flex-direction: column-reverse;
}

.auth-left {
  width : 100% !important;
}

.auth-page {
  padding: 24px 15px;
}

.profile-layout-grid{
  display: block !important;
}
.card-info {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.tribute-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-box{
  margin: 0px;
}

.modal-overlay {
     padding: 0px;
}

.divider-text::before, .divider-text::after{
  display: none;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 15px;
}

}
/* Small mobile: 480px and below */
@media (max-width: 480px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 28px;
  }

  .container {
    padding: 0 16px;
  }

  .tribute-post {
    padding: 24px 16px;
  }

  .modal-body {
    padding: 20px 16px;
  }
}

/* ── Image Upload & Previews ─────────────────────────── */
.file-name-container {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.file-name-preview {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.gallery-names-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.gallery-name-item {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.photo-upload.main-photo {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.photo-upload.gallery-upload {
  border-style: dashed;
}

/* ── Success Page ───────────────────────────────────── */
.success-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--cream-2);
}

.premium-success-card {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: cardEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-seal {
  width: 100px;
  height: 100px;
  background: var(--gold-pale);
  border-radius: 50%;
  margin: 0 auto 32px;
  padding: 10px;
  animation: sealPulse 2s infinite;
}

@keyframes sealPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 154, 48, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(201, 154, 48, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(201, 154, 48, 0);
  }
}

.seal-inner {
  width: 100%;
  height: 100%;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-icon {
  font-size: 40px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 16px;
}

.success-message {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.memorial-link-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.box-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.link-input-group {
  display: flex;
  gap: 12px;
}

.link-input-group input {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: monospace;
}

.copy-btn {
  background: var(--gold);
  color: var(--white);
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-view-memorial {
  background: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  flex: 1;
  transition: opacity 0.2s;
}

.btn-dashboard {
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  flex: 1;
  transition: background 0.2s;
}

.email-notice {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  top: -10px;
  border-radius: 50%;
  animation: confettiFall 4s linear infinite;
}

@keyframes confettiFall {
  to {
    transform: translateY(600px) rotate(360deg);
  }
}

/* ── Step 4 Alert ───────────────────────────────────── */
.config-alert {
  display: flex;
  gap: 16px;
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.alert-icon {
  font-size: 24px;
}

.alert-content strong {
  display: block;
  font-size: 16px;
  color: #92400E;
  margin-bottom: 4px;
}

.alert-content p {
  font-size: 14px;
  color: #B45309;
  margin-bottom: 12px;
}

.alert-link {
  font-size: 14px;
  font-weight: 600;
  color: #92400E;
  text-decoration: underline;
}

.alert-link:hover {
  color: #78350F;
}

/* Registration Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.4s ease-out;
}

.modal-card {
  background: var(--cream, #fffef7);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--gold-light, rgba(212, 168, 67, 0.2));
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.modal-card h2 {
  color: var(--dark, #1a1a1a);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.modal-card p {
  color: var(--text-muted, #666);
  line-height: 1.6;
  margin-bottom: 20px;
}

.success-email-box {
  background: white;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #eee;
  margin-bottom: 20px;
  color: var(--gold, #D4A843);
  font-size: 1.1rem;
}

.modal-hint {
  font-size: 0.9rem;
  font-style: italic;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════
   Memorial Slideshow & Background Music
   ══════════════════════════════════════════════════════════ */

/* ── Slideshow Container ─────────────────────────────── */
.slideshow-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.35);
}

.slideshow-viewport {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  overflow: hidden;
}

/* ── Individual Slides ───────────────────────────────── */
.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.slideshow-slide.active {
  opacity: 1;
  z-index: 2;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}

/* Ken Burns: each slide gets its own animation variant */
.slideshow-slide.active img {
  animation: kenBurns 8s ease-in-out forwards;
}

.slideshow-slide.kb-variant-1.active img {
  animation: kenBurns1 8s ease-in-out forwards;
}

.slideshow-slide.kb-variant-2.active img {
  animation: kenBurns2 8s ease-in-out forwards;
}

.slideshow-slide.kb-variant-3.active img {
  animation: kenBurns3 8s ease-in-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

@keyframes kenBurns1 {
  0% {
    transform: scale(1.1) translate(-2%, 0);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes kenBurns2 {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.15) translate(1.5%, -1.5%);
  }
}

@keyframes kenBurns3 {
  0% {
    transform: scale(1.12) translate(1%, 1%);
  }

  100% {
    transform: scale(1.02) translate(-0.5%, -0.5%);
  }
}

/* ── Gradient Overlay ────────────────────────────────── */
.slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.08) 0%,
      transparent 30%,
      transparent 55%,
      rgba(0, 0, 0, 0.65) 100%);
}

/* ── Caption (name + dates at bottom) ────────────────── */
.slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 32px 28px 24px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.slideshow-caption h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.slideshow-caption .caption-dates {
  font-size: 14px;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.slideshow-caption .caption-divider {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px;
  border-radius: 1px;
}

/* ── Slide Counter ───────────────────────────────────── */
.slideshow-counter {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* ── Navigation Arrows ───────────────────────────────── */
.slideshow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
}

.slideshow-wrapper:hover .slideshow-nav-btn {
  opacity: 1;
}

.slideshow-nav-btn:hover {
  background: rgba(201, 154, 48, 0.7);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.slideshow-nav-btn.prev {
  left: 16px;
}

.slideshow-nav-btn.next {
  right: 16px;
}

/* ── Dot Indicators ──────────────────────────────────── */
.slideshow-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 16px 0;
  background: #0a0a0a;
  border-radius: 0 0 16px 16px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slideshow-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.slideshow-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.4);
}

/* ── Play/Pause Toggle ───────────────────────────────── */
.slideshow-playpause {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
}

.slideshow-wrapper:hover .slideshow-playpause {
  opacity: 1;
}

.slideshow-playpause:hover {
  background: rgba(201, 154, 48, 0.7);
  border-color: var(--gold);
}

/* ── Fullscreen Button ───────────────────────────────── */
.slideshow-fullscreen-btn {
  position: absolute;
  top: 16px;
  right: 80px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
}

.slideshow-wrapper:hover .slideshow-fullscreen-btn {
  opacity: 1;
}

.slideshow-fullscreen-btn:hover {
  background: rgba(201, 154, 48, 0.7);
  border-color: var(--gold);
}

/* Fullscreen state */
.slideshow-wrapper:fullscreen,
.slideshow-wrapper:-webkit-full-screen {
  border-radius: 0;
  max-width: none;
}

.slideshow-wrapper:fullscreen .slideshow-viewport,
.slideshow-wrapper:-webkit-full-screen .slideshow-viewport {
  padding-top: 0;
  height: 100vh;
}

.slideshow-wrapper:fullscreen .slideshow-dots,
.slideshow-wrapper:-webkit-full-screen .slideshow-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-radius: 0;
  z-index: 10;
  padding: 20px 0;
}

/* ── Floating Music FAB ──────────────────────────────── */
.music-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8881e);
  color: var(--white);
  border: none;
  box-shadow:
    0 4px 20px rgba(201, 154, 48, 0.4),
    0 0 0 0 rgba(201, 154, 48, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: musicPulse 2.5s ease-in-out infinite;
}

.music-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(201, 154, 48, 0.55);
}

.music-fab.playing {
  animation: none;
  box-shadow: 0 4px 20px rgba(201, 154, 48, 0.4);
}

@keyframes musicPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(201, 154, 48, 0.4), 0 0 0 0 rgba(201, 154, 48, 0.3);
  }

  50% {
    box-shadow: 0 4px 20px rgba(201, 154, 48, 0.4), 0 0 0 12px rgba(201, 154, 48, 0);
  }
}

/* Equalizer Bars inside FAB */
.music-eq {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.music-eq .bar {
  width: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: height 0.2s;
}

.music-fab:not(.playing) .music-eq .bar {
  height: 4px !important;
}

.music-fab.playing .music-eq .bar:nth-child(1) {
  animation: eqBar 0.8s ease-in-out infinite;
  animation-delay: 0s;
}

.music-fab.playing .music-eq .bar:nth-child(2) {
  animation: eqBar 0.8s ease-in-out infinite;
  animation-delay: 0.15s;
}

.music-fab.playing .music-eq .bar:nth-child(3) {
  animation: eqBar 0.8s ease-in-out infinite;
  animation-delay: 0.3s;
}

.music-fab.playing .music-eq .bar:nth-child(4) {
  animation: eqBar 0.8s ease-in-out infinite;
  animation-delay: 0.45s;
}

@keyframes eqBar {

  0%,
  100% {
    height: 4px;
  }

  50% {
    height: 18px;
  }
}

/* Music FAB tooltip */
.music-fab-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.music-fab-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 20px;
  border: 5px solid transparent;
  border-top-color: var(--dark);
}

.music-fab:hover .music-fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Empty Slideshow State ───────────────────────────── */
.slideshow-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  color: var(--text-muted);
  text-align: center;
}

.slideshow-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.slideshow-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}

.slideshow-empty p {
  font-size: 14px;
  max-width: 320px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .slideshow-wrapper {
    border-radius: 0;
    margin: 0 -24px;
    width: calc(100% + 48px);
    max-width: none;
  }

  .slideshow-dots {
    border-radius: 0;
  }

  .slideshow-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    opacity: 1;
  }

  .slideshow-nav-btn.prev {
    left: 8px;
  }

  .slideshow-nav-btn.next {
    right: 8px;
  }

  .slideshow-playpause,
  .slideshow-fullscreen-btn {
    opacity: 1;
  }

  .slideshow-caption {
    padding: 24px 16px 18px;
  }

  .slideshow-caption h2 {
    font-size: 18px;
  }

  .music-fab {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
  }

  .music-eq .bar {
    width: 2.5px;
  }
}

/* ── Video Player Enhancements ────────────────────────── */
.slideshow-controls-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slideshow-wrapper:hover .slideshow-controls-bottom {
  opacity: 1;
}

.video-big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-big-play.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-big-play .play-icon {
  width: 70px;
  height: 70px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding-left: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}

.video-big-play:hover .play-icon {
  transform: scale(1.1);
}

.video-progress-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
  border-radius: 2px;
}

.video-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  border-radius: 2px;
}

.video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-controls-left,
.video-controls-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.video-play-btn,
.video-fullscreen-btn {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.video-play-btn:hover,
.video-fullscreen-btn:hover {
  color: var(--gold);
}

.video-timestamp {
  color: var(--white);
  font-size: 13px;
  opacity: 0.9;
}

/* ── Recording Overlay ──────────────────────────────── */
.recording-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 40px;
}

.recording-overlay.active {
  display: flex;
}

.recording-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.recording-progress-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.recording-hint {
  font-size: 14px;
  opacity: 0.7;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .slideshow-controls-bottom {
    opacity: 1;
    padding: 20px 15px 15px;
  }
}

/* ── Photo Lightbox ───────────────────────────────────── */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s;
}

.lightbox-modal.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 32px;
  z-index: 10001;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  padding: 20px;
  transition: all 0.2s;
  z-index: 10001;
}

.lightbox-nav:hover {
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-caption {
  color: #fff;
  margin-top: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  letter-spacing: 0.5px;
}



h1.tribute-name {
    color: #ffb200;
}

/* ── Sidebar Share Card ────────────────────────────────── */
.share-card-sidebar {
  /* background: var(--white);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow); */
}

.share-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
}

.share-grid-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.share-sidebar-btn {
    width: 38px;
    height: 38px;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    transition: all .3s ease;
}



.share-sidebar-btn svg {
    width: 22px;
    height: 22px;
}

/* Colors */
.share-sidebar-btn.fb {
    background: #1877F2;
}

.share-sidebar-btn.wa {
    background: #25D366;
}

.share-sidebar-btn.tw {
    background: #000000;
}

.share-sidebar-btn.cp {
    background: #0ea5e9; /* blue like screenshot */
}

/* Mobile */
@media (max-width: 768px) {
    .share-grid-sidebar {
        right: 10px;
    }

    .share-sidebar-btn {
        width: 48px;
        height: 48px;
    }

    .about-card {
    position: relative;
    
    top: 0px;
}
.cms-card {
    margin-bottom: 1rem !important;
}
.contact-info-right{

  margin-left: 0 !important;
}

.contact-card-premium {
    gap: 85px !important;
}

section.browse-results.bg-light {
    padding-bottom: 20px !important;
}


}
