/* ============================================
   ZELVE-INSPIRED SIDEBAR CARD (.sz-*)
   Clean, warm card design for listing details
   ============================================ */

.sz-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(14, 10, 6, 0.13);
  animation: fadeInUp 0.35s ease forwards;
}

/* Hero: eyebrow + title + meta */
.sz-hero {
  padding: 18px 18px 14px;
}

.sz-eyebrow {
  margin: 0 0 5px;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #a07949;
  font-weight: 700;
}

.sz-title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0c0c0c;
}

.sz-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sz-meta-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #f7f5ef;
  border-radius: 10px;
  padding: 8px 10px;
}

.sz-meta-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0c0c0c;
}

.sz-meta-item span {
  font-size: 0.68rem;
  color: #a09080;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Gallery: horizontal scroll of photo cards */
.sz-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 14px;
  scrollbar-width: none;
}

.sz-gallery::-webkit-scrollbar {
  display: none;
}

.sz-gallery-item {
  flex: 0 0 130px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(12, 10, 8, 0.12);
}

.sz-gallery-item img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Info block */
.sz-info-block {
  margin: 0 14px 12px;
  background: #fcfbf8;
  border-radius: 14px;
  padding: 12px 14px;
}

.sz-info-block h4 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 8px;
  border-bottom: 1px solid #ede9e0;
}

.sz-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 0;
  border-bottom: 1px solid #ede9e0;
  font-size: 0.84rem;
}

.sz-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sz-field-label {
  color: #a07949;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sz-field-value {
  color: #333;
  line-height: 1.5;
}

/* Contact block */
.sz-contact-block {
  margin: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sz-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f0ece3;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0c0c0c;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.sz-contact-btn:hover {
  background: #e8e3d6;
}

.sz-contact-primary {
  background: #bd5bff;
  color: #fff;
}

.sz-contact-primary:hover {
  background: #a44de0;
}

/* CTA row: full-page link + favorite */
.sz-cta-row {
  margin: 0 14px 14px;
  display: flex;
  gap: 8px;
}

.sz-full-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: #febb02;
  color: #1b1b1b;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 6px 18px rgba(254, 187, 2, 0.28);
  transition: box-shadow 0.2s;
}

.sz-full-btn:hover {
  box-shadow: 0 8px 24px rgba(254, 187, 2, 0.4);
}

.sz-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: transparent;
  border: 1.5px solid #e0dbd0;
  border-radius: 999px;
  color: #777;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.sz-fav-btn:hover {
  border-color: #f87171;
  color: #e11d48;
}

.sz-fav-btn.favorited {
  background: #ffeaed;
  border-color: #f87171;
  color: #e11d48;
}

/* Owner/admin promotion buttons */
.sz-owner-actions {
  margin: 0 14px 14px;
  display: flex;
  gap: 8px;
}

.sz-boost-btn {
  flex: 1;
  padding: 9px 12px;
  background: linear-gradient(135deg, #baf7a1, #79e36a);
  color: #1f3d1f;
  font-weight: 700;
  font-size: 0.82rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.sz-ad-btn {
  flex: 1;
  padding: 9px 12px;
  background: linear-gradient(135deg, #4fc3f7, #0288d1);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

/* ============================================
   KARAMELE-INSPIRED FULL PAGE LISTING (.ld-*)
   Full detail page: warm beige, white cards,
   4-col grid, hero with CTAs
   ============================================ */

.ld-page {
  background: #f7f5ef;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  font-family: Inter, 'Source Sans Pro', Helvetica, sans-serif;
  color: #0c0c0c;
  line-height: 1.5;
}

/* Back navigation */
.ld-nav {
  margin-bottom: 1.5rem;
}

.ld-back-btn {
  padding: 8px 18px;
  background: rgba(160, 121, 73, 0.12);
  border: 1px solid #a07949;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #a07949;
  cursor: pointer;
  transition: all 0.2s;
}

.ld-back-btn:hover {
  background: #a07949;
  color: #fff;
}

/* Hero card */
.ld-hero {
  background: #fff;
  border-radius: 22px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  box-shadow: 0 20px 50px rgba(15, 10, 5, 0.07);
  align-items: start;
  margin-bottom: 2rem;
}

.ld-eyebrow {
  margin: 0 0 0.5rem;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #a07949;
  font-weight: 700;
}

.ld-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.ld-desc {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: #5c5b58;
  line-height: 1.6;
}

.ld-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 0.5rem;
}

.ld-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f7f5ef;
  border-radius: 10px;
  padding: 8px 12px;
}

.ld-meta-item strong {
  font-size: 1rem;
  font-weight: 700;
  color: #0c0c0c;
}

.ld-meta-item span {
  font-size: 0.68rem;
  color: #a09080;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA column */
.ld-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 180px;
}

.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: box-shadow 0.2s, opacity 0.2s;
  border: none;
  cursor: pointer;
}

.ld-btn-primary {
  background: #bd5bff;
  color: #fff;
  box-shadow: 0 10px 28px rgba(189, 91, 255, 0.32);
}

.ld-btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 12px 32px rgba(189, 91, 255, 0.45);
}

.ld-btn-secondary {
  background: #febb02;
  color: #1b1b1b;
  box-shadow: 0 8px 22px rgba(254, 187, 2, 0.28);
}

.ld-btn-secondary:hover {
  box-shadow: 0 10px 28px rgba(254, 187, 2, 0.4);
}

.ld-hint {
  font-size: 0.8rem;
  color: #7a7a78;
  margin: 0.25rem 0 0;
  line-height: 1.4;
}

/* Photo gallery: 4-column grid */
.ld-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.ld-gallery-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(12, 10, 8, 0.1);
  margin: 0;
}

.ld-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ld-gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #5c5b58;
  background: #fcfbf8;
}

/* 4-column info grid */
.ld-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: start;
}

.ld-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(14, 10, 6, 0.08);
}

.ld-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c0c0c;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #f0ece3;
}

.ld-card p, .ld-card div {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.ld-card ul {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.8;
}

/* Description card spans 2 columns */
.ld-card-wide {
  grid-column: span 2;
}

/* Map card */
.ld-map-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ld-map {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
}

.ld-map-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ld-map-links a {
  font-size: 0.8rem;
  text-decoration: none;
  color: #0f172a;
  background: #e2e8f0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s;
}

.ld-map-links a:hover {
  background: #cbd5e1;
}

.ld-map-address {
  font-size: 0.82rem;
  color: #777;
  margin: 0;
}

/* Special moment: gradient section */
.ld-special {
  background: linear-gradient(145deg, #ffe5f8, #f0f0ff);
  padding: 2rem;
  border-radius: 24px;
  margin-bottom: 2rem;
}

.ld-special h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.ld-special p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

/* Actions bar */
.ld-actions-bar {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 2px solid #ede9e0;
  border-bottom: 2px solid #ede9e0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ld-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1.2rem;
  background: #f0ece3;
  border: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

.ld-action-btn:hover {
  background: #e5e0d6;
}

/* Admin bar */
.ld-admin-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  background: #fff8e1;
  border: 1.5px solid #ffc107;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.ld-admin-bar > span {
  font-weight: 700;
  color: #856404;
}

.ld-admin-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ld-admin-btn:hover { opacity: 0.85; }

.ld-boost {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #333;
}

.ld-edit {
  background: #FFCC00;
  color: #000;
}

.ld-delete {
  background: #dc3545;
  color: #fff;
}

/* QR section */
.ld-qr-section {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 28px rgba(14, 10, 6, 0.07);
  text-align: center;
}

.ld-qr-section h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.ld-qr-section p {
  font-size: 0.85rem;
  color: #777;
  margin: 0 0 1rem;
}

.ld-qr-wrapper {
  display: inline-block;
  padding: 14px;
  background: #fff;
  border: 2px solid #ede9e0;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.ld-qr-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ld-qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1.1rem;
  background: #f0ece3;
  border: none;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
}

.ld-qr-btn:hover {
  background: #e5e0d6;
}

/* Responsive: tablet → 2 columns */
@media (max-width: 900px) {
  .ld-hero {
    grid-template-columns: 1fr;
  }

  .ld-hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: unset;
  }

  .ld-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ld-card-wide {
    grid-column: span 2;
  }
}

/* Responsive: mobile → 1 column */
@media (max-width: 560px) {
  .ld-page {
    padding: 1.25rem 1rem 3rem;
  }

  .ld-hero {
    padding: 1.25rem;
  }

  .ld-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ld-gallery-item img {
    aspect-ratio: 4 / 3;
  }

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

  .ld-card-wide {
    grid-column: span 1;
  }
}
