/*
 * Local Business Search — Front Page
 * Matches HTML: https://github.com/user/repo front-page.html exactly
 */

:root {
  --primary: #ff5a5f;
  --primary-hover: #e0484d;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  --z-orange: #ff4f00;
  --z-ink: #201515;
  --z-ink-soft: #2f2a26;
  --z-ink-mid: #36342e;
  --z-body: #605d52;
  --z-body-mid: #939084;
  --z-mute: #c5c0b1;
  --z-canvas: #fffefb;
  --z-canvas-soft: #f8f4f0;
  --z-radius-sm: 6px;
  --z-radius-md: 12px;
  --z-radius-pill: 9999px;
  --z-space-xs: 4px;
  --z-space-sm: 8px;
  --z-space-md: 12px;
  --z-space-lg: 16px;
  --z-space-xl: 24px;
  --z-space-2xl: 32px;
  --z-space-3xl: 48px;
  --z-space-4xl: 64px;
  --z-font-display: "Degular Display", Inter, system-ui, -apple-system, sans-serif;
  --z-font-body: Inter, system-ui, -apple-system, sans-serif;
  --z-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --z-ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }

body { background-color: var(--bg-color); color: var(--text-main); padding-bottom: 80px; line-height: 1.5; }

/* ─── WordPress Overrides (only homepage) ─── */
body.home, body.home .wp-site-blocks, body.home .entry-content, body.home .wp-block-post-content {
  background: #f8fafc !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important;
}
body.home .is-layout-constrained > * {
  max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
}
body.home :where(.wp-site-blocks) > * {
  margin-block-start: 0 !important; margin-block-end: 0 !important;
}
body.home header.wp-block-template-part,
body.home footer.wp-block-template-part { display: none !important; }
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* Kill theme font overrides */
body.home { font-family: 'Plus Jakarta Sans', sans-serif !important; font-weight: 400 !important; font-size: 1rem !important; letter-spacing: normal !important; }
body.home h1, body.home h2, body.home h3, body.home h4, body.home h5, body.home h6 { font-weight: 700 !important; letter-spacing: -0.02em !important; }

/* ─── Navbar ─── */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 5%; background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.35rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.location-selector { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; background: #f1f5f9; padding: 0.5rem 1rem; border-radius: 20px; cursor: pointer; position: relative; user-select: none; white-space: nowrap; }

/* City dropdown */
.city-dropdown {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    width: 320px; max-height: 380px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12); z-index: 200; overflow: hidden;
    flex-direction: column;
}
.city-dropdown.open { display: flex; }
.city-search-header {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1rem; border-bottom: 1px solid #e2e8f0;
}
.city-search-header i { color: #64748b; font-size: 0.85rem; }
.city-search-header input {
    border: none; outline: none; width: 100%;
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.85rem;
    background: transparent; color: #0f172a;
}
.city-search-header input::placeholder { color: #64748b; }
.city-list {
    overflow-y: auto; max-height: 320px;
}
.city-item {
    padding: 0.55rem 1rem; cursor: pointer; font-size: 0.85rem;
    color: #0f172a; border-bottom: 1px solid #f8fafc;
    transition: background 0.15s;
}
.city-item:hover { background: #f8fafc; }
.city-item .city-name { font-weight: 600; }
.city-item .city-country { color: #64748b; font-size: 0.75rem; margin-left: 0.35rem; }

/* User dropdown (parent design) */
.lbs-user-dropdown { position: relative; }
.lbs-user-trigger {
    display: flex; align-items: center; gap: 0.35rem !important;
    padding: 0.4rem 0.75rem !important;
    background: #fff !important; color: #0f172a !important;
    border: 1px solid #e2e8f0 !important; border-radius: 20px !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.85rem !important; font-weight: 500 !important; cursor: pointer !important;
    transition: border-color 0.2s;
}
.lbs-user-trigger:hover { border-color: #ff5a5f !important; }
.lbs-user-menu {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 180px; background: #fff !important; border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important; box-shadow: 0 8px 24px rgba(15,23,42,0.1); z-index: 200;
    overflow: hidden;
}
.lbs-user-dropdown.open .lbs-user-menu { display: block; }
.lbs-user-menu a {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1rem !important; font-size: 0.85rem !important; color: #0f172a !important;
    text-decoration: none; font-weight: 500; transition: background 0.15s;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}
.lbs-user-menu a:hover { background: #f8fafc !important; color: #ff5a5f !important; }
.lbs-user-menu a:first-child { border-bottom: 1px solid #f1f5f9; }
.lbs-user-menu .dashicons { font-size: 16px; width: 16px; height: 16px; color: #64748b !important; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(180deg, #fff5f5 0%, #f8fafc 100%);
  padding: 4rem 1.5rem 3rem; text-align: center;
  margin-top: 0;
}
.hero h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); letter-spacing: -0.02em; }
.hero p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }

/* ─── Search Bar ─── */
.search-container {
  max-width: 600px; margin: 0 auto; background: var(--card-bg);
  display: flex; align-items: center;
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  gap: 0.75rem; position: relative; z-index: 50;
}
.search-container i { color: var(--text-muted); }

/* ─── Custom Category Dropdown (Google-style, right-aligned) ─── */
.lbs-cat-dropdown {
  position: relative; flex-shrink: 0;
}
.lbs-cat-dropdown-btn {
  border: none; outline: none; background: transparent;
  padding: 0.35rem 0 0.35rem 0.5rem;
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.85rem;
  font-weight: 500; color: var(--text-main); cursor: pointer;
  white-space: nowrap; max-width: 180px;
  border-left: 1px solid var(--border-color);
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.15s;
}
.lbs-cat-dropdown-btn:hover,
.lbs-cat-dropdown.open .lbs-cat-dropdown-btn { color: #1a73e8; }
.lbs-cat-btn-content {
  display: flex; align-items: center; gap: 0.4rem;
  overflow: hidden; text-overflow: ellipsis;
}
.lbs-cat-btn-content i { color: var(--text-muted); font-size: 0.85rem; }
.lbs-cat-chevron {
  color: var(--text-muted); font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.lbs-cat-dropdown.open .lbs-cat-chevron { transform: rotate(180deg); }

.lbs-cat-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 220px; background: var(--card-bg);
  border: 1px solid var(--border-color); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); z-index: 300;
  list-style: none; padding: 0.5rem; margin: 0;
  flex-direction: column; gap: 0.15rem;
  max-height: 340px; overflow-y: auto;
}
.lbs-cat-dropdown.open .lbs-cat-dropdown-menu { display: flex; }

.lbs-cat-dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.75rem; border-radius: 8px;
  cursor: pointer; font-size: 0.85rem; font-weight: 500;
  color: var(--text-main); transition: background 0.15s, color 0.15s;
}
.lbs-cat-dropdown-item:hover,
.lbs-cat-dropdown-item.selected {
  background: #e8f0fe; color: #1a73e8;
}
.lbs-cat-item-left {
  display: flex; align-items: center; gap: 0.6rem;
}
.lbs-cat-item-left i {
  width: 18px; text-align: center; color: var(--text-muted);
  font-size: 0.9rem; transition: color 0.15s;
}
.lbs-cat-dropdown-item:hover .lbs-cat-item-left i,
.lbs-cat-dropdown-item.selected .lbs-cat-item-left i { color: #1a73e8; }

.search-container input { border: none; outline: none; width: 100%; font-size: 0.95rem; background: transparent; flex: 1; min-width: 0; }
.search-container input::placeholder { color: var(--text-muted); }
.search-btn {
  background: var(--primary); color: white; border: none;
  padding: 0.75rem 1.5rem; border-radius: 25px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  white-space: nowrap; transition: background 0.2s;
}
.search-btn:hover { background: var(--primary-hover); }

/* Search dropdown */
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  max-height: 380px; overflow-y: auto; text-align: left; z-index: 200;
}
.search-result-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; text-decoration: none; color: var(--text-main);
  border-bottom: 1px solid var(--bg-color); transition: background 0.15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-color); }
.search-result-item img, .search-result-item .img-placeholder {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; background: var(--bg-color);
}
.search-result-item .img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.search-result-item .result-title { font-weight: 600; font-size: 0.9rem; margin: 0 0 2px; }
.search-result-item .result-excerpt { font-size: 0.8rem; color: var(--text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-info { min-width: 0; overflow: hidden; flex: 1; }
.spinner {
  width: 24px; height: 24px; border: 2.5px solid var(--border-color);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.7s linear infinite; margin: 1rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes z-spin { to { transform: rotate(360deg); } }

/* ─── Filter Pills ─── */
.filter-tags { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.tag {
  background: var(--card-bg); border: 1px solid var(--border-color);
  padding: 0.45rem 1rem; border-radius: 20px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s; text-decoration: none;
}
.tag:hover, .tag.active { border-color: var(--primary); color: var(--primary); background: #fff0f0; }

/* ─── Container ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.section-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: -0.01em; }

/* ─── Categories Grid ─── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1rem; margin-bottom: 3.5rem; }
.category-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 1.25rem 0.5rem;
  text-align: center; text-decoration: none; color: var(--text-main);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.category-card i { font-size: 1.4rem; color: var(--primary); }
.category-card span { font-size: 0.85rem; font-weight: 600; }
.category-card small { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

/* ─── Business Cards Grid ─── */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.business-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.business-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08); }
.card-img { height: 200px; width: 100%; object-fit: cover; position: relative; }
.card-img-placeholder { height: 200px; width: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-color); color: var(--text-muted); font-size: 2rem; position: relative; }

.badge-open {
  position: absolute; top: 12px; left: 12px;
  background: rgba(16, 185, 129, 0.95); color: white;
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.65rem;
  border-radius: 12px; z-index: 2;
}
.rating-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.95); color: #d97706;
  font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.55rem;
  border-radius: 8px; display: flex; align-items: center; gap: 0.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); z-index: 2;
}

.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.business-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; line-height: 1.3; }
.category-text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 500; }
.address-text { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 0.4rem; margin-bottom: 1.25rem; line-height: 1.4; }
.address-text i { margin-top: 0.2rem; color: var(--primary); }

.card-actions { margin-top: auto; display: flex; gap: 0.75rem; border-top: 1px solid var(--border-color); padding-top: 1rem; }
.btn-action {
  flex: 1; padding: 0.6rem 0.8rem; border: 1px solid var(--border-color);
  border-radius: 8px; background: transparent;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  text-decoration: none; color: var(--text-main); transition: all 0.2s;
}
.btn-action.primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-action.primary:hover { background: var(--primary-hover); }
.btn-action:not(.primary):hover { background: #f1f5f9; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
  .hero { padding: 2.5rem 1rem 2rem; }
  .navbar { padding: 0.75rem 1rem; }
  .container { padding: 1.5rem 1rem; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.65rem; }
  .category-card { padding: 0.85rem 0.35rem; }
  .listings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .search-container { padding: 0.3rem 0.35rem 0.3rem 1rem; gap: 0.5rem; }
  .search-btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .category-card { padding: 0.6rem 0.2rem; }
  .category-card i { font-size: 1rem; }
  .category-card span { font-size: 0.75rem; }
  .category-card small { font-size: 0.65rem; }
}

/* ----------------------------------------------------------
   BUSINESS DETAILS PAGE (single-business.php)
   ---------------------------------------------------------- */
.lbs-single-page { margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg-color); color: var(--text-main); }
.lbs-single-page .wp-site-blocks { padding: 0 !important; margin: 0 !important; background: var(--bg-color) !important; }
.lbs-single-page .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.lbs-single-page header.wp-block-template-part,
.lbs-single-page footer.wp-block-template-part { display: none !important; }

/* Navbar on details page */
.detail-navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 8%; background: var(--card-bg); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.detail-logo { font-size: 1.3rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.btn-nav { padding: 0.5rem 1rem; border-radius: 30px; border: 1px solid var(--border-color); background: transparent; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; color: var(--text-main); transition: all 0.2s; display: flex; align-items: center; gap: 0.35rem; }
.btn-nav:hover { border-color: var(--primary); color: var(--primary); }
.btn-nav.primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-nav.primary:hover { background: var(--primary-hover); color: white; }

/* Container */
.detail-container { max-width: 1250px; margin: 2rem auto; padding: 0 1.5rem; }

/* Two-column grid */
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }

/* Left column: image gallery */
.left-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 90px; }
.main-image { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.main-image-placeholder { width: 100%; height: 380px; display: flex; align-items: center; justify-content: center; background: var(--bg-color); border-radius: var(--radius); color: var(--text-muted); font-size: 3rem; }
.sub-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sub-images img { width: 100%; height: 90px; object-fit: cover; border-radius: 10px; cursor: pointer; transition: opacity 0.2s; }
.sub-images img:hover { opacity: 0.8; }

/* Right column: details */
.right-content { display: flex; flex-direction: column; gap: 1.5rem; }
.category-badge { display: inline-flex; align-items: center; gap: 0.35rem; background: #ffe4e6; color: var(--primary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.05em; padding: 0.3rem 0.8rem; border-radius: 20px; text-transform: uppercase; margin-bottom: 0.5rem; }
.title-row h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.sub-info { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); font-size: 0.95rem; flex-wrap: wrap; }
.rating-pill { background: #fef3c7; color: #d97706; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 8px; display: inline-flex; align-items: center; gap: 0.3rem; }

/* Section cards */
.section-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border-color); box-shadow: var(--shadow); }
.section-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.about-text { color: var(--text-muted); line-height: 1.6; }

/* Booking card */
.price-box { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.25rem; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--text-main); }
.price-unit { color: var(--text-muted); font-size: 0.9rem; }
.btn-action-full { width: 100%; padding: 0.9rem; background: var(--primary); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: background 0.2s; text-decoration: none; margin-bottom: 0.75rem; }
.btn-action-full:hover { background: var(--primary-hover); color: white; }
.btn-secondary-full { width: 100%; padding: 0.75rem; background: transparent; border: 1px solid var(--border-color); border-radius: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-main); font-size: 0.9rem; }
.btn-secondary-full:hover { border-color: var(--primary); color: var(--primary); }

/* Amenities (bottom) */
.bottom-section { margin-top: 2rem; }
.amenities-grid-detail { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.amenity-chip { display: flex; align-items: center; gap: 0.6rem; background: var(--card-bg); padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.9rem; font-weight: 500; border: 1px solid var(--border-color); color: var(--text-main); }
.amenity-chip i { color: var(--primary); }

/* Contact info list */
.info-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.info-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text-muted); }
.info-item i { color: var(--primary); margin-top: 0.2rem; }
.info-item strong { color: var(--text-main); display: block; font-size: 0.85rem; }
.info-item a { color: var(--primary); text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

/* Detail responsive */
@media (max-width: 900px) { .main-grid { grid-template-columns: 1fr; gap: 1.5rem; } .left-gallery { position: static; } .main-image { height: 260px; } }
@media (max-width: 480px) { .main-image { height: 200px; } .sub-images img { height: 60px; } .detail-navbar { padding: 0.85rem 1rem; } .detail-container { padding: 0 1rem; margin: 1.25rem auto; } .btn-nav { padding: 0.4rem 0.75rem; font-size: 0.8rem; } }
/* ----------------------------------------------------------
   ARCHIVE / CATEGORY LISTING PAGE
   ---------------------------------------------------------- */
.lbs-archive-page { margin: 0; padding: 0; font-family: "Plus Jakarta Sans", sans-serif; background: #f8fafc; color: #0f172a; }
.lbs-archive-page .wp-site-blocks { padding: 0 !important; margin: 0 !important; background: #f8fafc !important; }
.lbs-archive-page .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.lbs-archive-page header.wp-block-template-part,
.lbs-archive-page footer.wp-block-template-part { display: none !important; }
.lbs-archive-page { font-family: "Plus Jakarta Sans", sans-serif !important; font-weight: 400 !important; font-size: 1rem !important; }
.lbs-archive-page h1,.lbs-archive-page h2,.lbs-archive-page h3 { font-weight: 700 !important; }

/* Navbar */
.cat-navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; height: 70px; }
.cat-logo { font-size: 1.3rem; font-weight: 700; color: #ff5a5f; display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.cat-search-box { display: flex; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 0.4rem 1rem; width: 360px; gap: 0.5rem; position: relative; }
.cat-search-box input { border: none; background: transparent; outline: none; font-size: 0.88rem; width: 100%; font-family: "Plus Jakarta Sans", sans-serif; }
.cat-search-box input::placeholder { color: #64748b; }
.nav-auth { display: flex; gap: 0.75rem; }
.btn-auth { padding: 0.45rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-decoration: none; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; }
.btn-auth.secondary { color: #0f172a; border: 1px solid #e2e8f0; background: transparent; }
.btn-auth.secondary:hover { border-color: #ff5a5f; color: #ff5a5f; }
.btn-auth.primary { background: #ff5a5f; color: #fff; }
.btn-auth.primary:hover { background: #e0484d; }

/* Layout */
.app-layout { display: grid; grid-template-columns: 260px 1fr 260px; min-height: calc(100vh - 70px); }

/* Sidebar */
.sidebar { background: #fff; border-right: 1px solid #e2e8f0; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 1.75rem; overflow-y: auto; max-height: calc(100vh - 70px); position: sticky; top: 70px; }
.sidebar-section-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 0.75rem; }
.category-nav { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; margin:0; padding:0; }
.category-nav-item a { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.85rem; border-radius: 8px; text-decoration: none; color: #0f172a; font-size: 0.9rem; font-weight: 500; transition: all 0.2s; }
.category-nav-item a i { width: 20px; color: #64748b; }
.category-nav-item a:hover { background: #f8fafc; }
.category-nav-item.active a { background: #fff0f0; color: #ff5a5f; font-weight: 600; }
.category-nav-item.active a i { color: #ff5a5f; }
.count-badge { background: #f8fafc; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 10px; color: #64748b; }
.category-nav-item.active .count-badge { background: #ffe4e6; color: #ff5a5f; }
.filter-group { display: flex; flex-direction: column; gap: 0.6rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: #0f172a; cursor: pointer; }
.checkbox-label input { accent-color: #ff5a5f; width: 16px; height: 16px; }

/* Filters sidebar */
.filters-sidebar { background: #fff; border-left: 1px solid #e2e8f0; padding: 1.5rem 1.25rem; }
.filter-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.btn-filter { flex: 1; padding: 0.5rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-apply { background: #ff5a5f; color: #fff; }
.btn-apply:hover { background: #e0484d; }
.btn-clear { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.btn-clear:hover { border-color: #ff5a5f; color: #ff5a5f; }

/* Main content */
.main-content { padding: 2rem 2.5rem; max-width: 1000px; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; margin:0; }
.sort-control { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: #64748b; }
.sort-select { padding: 0.4rem 0.8rem; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; font-size: 0.88rem; font-weight: 600; color: #0f172a; outline: none; cursor: pointer; }

/* Listing cards */
.listings-list { display: flex; flex-direction: column; gap: 1.25rem; }
.listing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 4px 16px -2px rgba(15,23,42,0.06); display: grid; grid-template-columns: 260px 1fr; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.listing-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -4px rgba(0,0,0,0.08); }
.listing-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.listing-card > a { display: block; overflow: hidden; }
.listing-img-placeholder { width: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; background: #f8fafc; color: #64748b; font-size: 2rem; }
.listing-body { padding: 1.25rem; display: flex; flex-direction: column; }
.listing-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.35rem; }
.listing-title { font-size: 1.15rem; font-weight: 700; color: #0f172a; text-decoration: none; }
.listing-title:hover { color: #ff5a5f; }
.price-text { font-size: 0.88rem; font-weight: 600; color: #ff5a5f; margin-bottom: 0.5rem; }
.listing-desc { font-size: 0.88rem; color: #64748b; margin-bottom: 1rem; }
.address-info { font-size: 0.85rem; color: #64748b; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.address-info i { color: #ff5a5f; }
.amenities-list { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid #e2e8f0; }
.amenity-tag { background: #f8fafc; color: #64748b; font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.6rem; border-radius: 6px; border: 1px solid #e2e8f0; }

@media (max-width: 850px) { .app-layout { grid-template-columns: 1fr; } .sidebar, .filters-sidebar { display: none; } .listing-card { grid-template-columns: 1fr; } .listing-img { min-height: 180px; } .main-content { padding: 1.25rem 1rem; } .cat-search-box { width: 100%; max-width: 260px; } }

/* Booking tile status & meta */
.booking-status {
    font-size: 0.75rem; font-weight: 600;
    padding: 0.25rem 0.65rem; border-radius: 20px;
    white-space: nowrap; align-self: flex-start;
}
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-pending   { background: #fff8e1; color: #f57f17; }
.status-cancelled { background: #ffebee; color: #c62828; }
.booking-meta {
    display: flex; flex-wrap: wrap; gap: 1rem;
    font-size: 0.85rem; color: #64748b; margin-bottom: 0.5rem;
}
.booking-meta i { color: #ff5a5f; width: 16px; }

/* ----------------------------------------------------------
   AUTH & BOOKINGS PAGES (signin, signup, my-bookings)
   ---------------------------------------------------------- */
.lbs-auth-page { margin: 0; padding: 0; font-family: "Plus Jakarta Sans", sans-serif; background: #f8fafc; color: #0f172a; }
.lbs-auth-page .wp-site-blocks { padding: 0 !important; margin: 0 !important; background: #f8fafc !important; }
.lbs-auth-page .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.lbs-auth-page header.wp-block-template-part,
.lbs-auth-page footer.wp-block-template-part { display: none !important; }
.lbs-auth-page { font-family: "Plus Jakarta Sans", sans-serif !important; font-weight: 400 !important; font-size: 1rem !important; }
.lbs-auth-page h1,.lbs-auth-page h2,.lbs-auth-page h3 { font-weight: 700 !important; }
.lbs-booking-page { margin: 0; padding: 0; font-family: "Plus Jakarta Sans", sans-serif; background: #f8fafc; color: #0f172a; }
.lbs-booking-page .wp-site-blocks { padding: 0 !important; margin: 0 !important; background: #f8fafc !important; }
.lbs-booking-page .entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.lbs-booking-page header.wp-block-template-part,
.lbs-booking-page footer.wp-block-template-part { display: none !important; }
.lbs-booking-page { font-family: "Plus Jakarta Sans", sans-serif !important; font-weight: 400 !important; font-size: 1rem !important; }
.lbs-booking-page h1,.lbs-booking-page h2,.lbs-booking-page h3 { font-weight: 700 !important; }

/* Amelia booking branding & color overrides */
.amelia-v2-booking .am-lite-footer { display: none !important; }
.amelia-v2-booking {
    --am-c-primary: #ff5a5f;
    --am-c-btn-prim: #ff5a5f;
    --am-c-sb-bgr: #1e293b;
    --am-c-sb-text: #ffffff;
}
.amelia-v2-booking .el-button--primary,
.amelia-v2-booking .am-button--primary {
    background-color: #ff5a5f !important;
    border-color: #ff5a5f !important;
}
.amelia-v2-booking .el-button--primary:hover,
.amelia-v2-booking .am-button--primary:hover {
    background-color: #e0484d !important;
    border-color: #e0484d !important;
}
.amelia-v2-booking .am-fs-sb { background-color: #1e293b !important; }

/* Auth form card */
.auth-container { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 70px); padding: 2rem 1.5rem; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2.5rem 2rem; box-shadow: 0 4px 16px -2px rgba(15,23,42,0.06); }
.auth-card-header { text-align: center; margin-bottom: 1.75rem; }
.auth-card-header i { font-size: 2.5rem; color: #ff5a5f; margin-bottom: 0.5rem; display: block; }
.auth-card-header h2 { margin: 0 0 0.25rem; font-size: 1.5rem; font-weight: 700; }
.auth-card-header p { margin: 0; color: #64748b; font-size: 0.9rem; }
.auth-error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 1.25rem; font-size: 0.85rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: #0f172a; }
.form-group input[type="text"],.form-group input[type="password"],.form-group input[type="email"] { padding: 0.75rem 1rem; border: 1px solid #e2e8f0; border-radius: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.95rem; background: #fff; color: #0f172a; outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: #ff5a5f; box-shadow: 0 0 0 3px rgba(255,90,95,0.1); }
.form-inline { flex-direction: row; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #64748b; cursor: pointer; }
.btn-auth-submit { width: 100%; padding: 0.9rem; background: #ff5a5f; color: #fff; border: none; border-radius: 12px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-auth-submit:hover { background: #e0484d; }
.auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.85rem; color: #64748b; }
.auth-footer a { color: #ff5a5f; text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* Bookings table */
.bookings-container { max-width: 1000px; margin: 2rem auto; padding: 0 1.5rem; }
.bookings-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 16px -2px rgba(15,23,42,0.06); }
.bookings-card h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.bookings-card h2 i { color: #ff5a5f; }
.booking-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 1rem; }
.booking-table th { text-align: left; padding: 0.75rem 1rem; background: #f8fafc; font-weight: 600; color: #0f172a; border-bottom: 1px solid #e2e8f0; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; }
.booking-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #f8fafc; }
.booking-table tr:hover td { background: #f8fafc; }
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: capitalize; }
.status-done { background: #e8f5e9; color: #2e7d32; }
.status-pending { background: #fff8e1; color: #f57f17; }
.status-cancel { background: #ffebee; color: #c62828; }
.btn-cancel { padding: 0.35rem 0.85rem; border: 1px solid #c62828; border-radius: 12px; background: #fff; color: #c62828; cursor: pointer; font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.75rem; font-weight: 600; transition: all 0.2s; }
.btn-cancel:hover { background: #c62828; color: #fff; }
.btn-cancel:disabled { opacity: 0.5; cursor: not-allowed; }
.cancel-message { padding: 0.75rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.85rem; font-weight: 500; }
.empty-bookings { text-align: center; padding: 3rem 0; color: #64748b; }
.empty-bookings i { font-size: 3rem; color: #e2e8f0; margin-bottom: 0.75rem; display: block; }
.empty-bookings p { font-size: 1rem; margin-bottom: 1.25rem; }

/* ==========================================================
   TEMPLATE PAGES — lbs-* Design System
   ========================================================== */

.lbs-archive-page, .lbs-single-page {
    margin: 0; padding: 0;
    font-family: var(--z-font-body);
    background: var(--z-canvas);
    color: var(--z-ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
.lbs-archive-page *, .lbs-single-page * { box-sizing: border-box; }

/* Kill broken-image borders and unexpected backgrounds */
img { background: transparent; }
.lbs-archive-page img::-moz-broken,
.lbs-single-page img::-moz-broken { opacity: 0; }
.lbs-archive-page img:not([src]),
.lbs-archive-page img[src=""],
.lbs-archive-page img[src="#"],
.lbs-single-page img:not([src]),
.lbs-single-page img[src=""],
.lbs-single-page img[src="#"] { visibility: hidden; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--z-mute); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--z-body-mid); }

/* ─── Keyframes ─── */
@keyframes z-fade-up {
    from { opacity: 0; transform: translateY(var(--z-space-xl)); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes z-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes z-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -20px) scale(1.04); }
    66%  { transform: translate(-20px, 15px) scale(0.96); }
}
@keyframes z-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ─── Homepage Overrides ─── */
body.home { background: var(--z-canvas) !important; }
body.home .wp-site-blocks { padding: 0 !important; margin: 0 !important; background: var(--z-canvas) !important; }
body.home .entry-content,
body.home .wp-block-post-content { margin: 0 !important; padding: 0 !important; max-width: 100% !important; background: var(--z-canvas) !important; }
body.home .is-layout-constrained > * { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
body.home header.wp-block-template-part,
body.home footer.wp-block-template-part { display: none; }



/* ═══════════════════════════════════════════════════════════════════════════
   NAV BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.lbs-archive-header {
    background: var(--z-canvas);
    border-bottom: 1px solid var(--z-mute);
    padding: var(--z-space-md) var(--z-space-xl);
    position: sticky; top: 0; z-index: 100;
}
.lbs-archive-header-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--z-space-lg);
}
.lbs-logo {
    font-size: 22px; font-weight: 600;
    color: var(--z-ink); text-decoration: none;
    display: flex; align-items: center; gap: var(--z-space-sm);
    white-space: nowrap;
    font-family: var(--z-font-body);
}
.lbs-logo .dashicons { font-size: 24px; width: 24px; height: 24px; color: var(--z-orange); }
.lbs-archive-search {
    flex: 1; max-width: 480px; position: relative;
    padding: 1.5px;
    border-radius: calc(var(--z-radius-sm) + 1.5px);
    background: linear-gradient(135deg, var(--z-orange), var(--z-ink-soft));
    background-size: 300% 300%;
    animation: z-gradient-shift 6s linear infinite;
}
.lbs-archive-search .dashicons {
    position: absolute; left: var(--z-space-lg); top: 50%;
    transform: translateY(-50%); color: var(--z-body-mid); z-index: 1;
}
.lbs-archive-search input {
    width: 100%;
    padding: var(--z-space-sm) var(--z-space-lg) var(--z-space-sm) 36px;
    border: 1px solid var(--z-mute); border-radius: var(--z-radius-sm);
    font-family: var(--z-font-body); font-size: 14px;
    background: var(--z-canvas); color: var(--z-ink);
    outline: none; position: relative; z-index: 0;
}
.lbs-archive-search input::placeholder { color: var(--z-body-mid); }

.lbs-single-nav { display: flex; gap: var(--z-space-sm); align-items: center; }
.lbs-back-btn, .lbs-browse-btn {
    padding: var(--z-space-sm) var(--z-space-lg);
    border-radius: var(--z-radius-md);
    text-decoration: none; font-family: var(--z-font-body);
    font-size: 14px; font-weight: 600;
    display: flex; align-items: center; gap: var(--z-space-xs);
    cursor: pointer; border: 1px solid var(--z-ink);
    background: var(--z-canvas); color: var(--z-ink);
    transition: all 0.2s var(--z-ease-spring);
}
.lbs-back-btn:hover, .lbs-browse-btn:hover {
    background: var(--z-ink); color: var(--z-canvas);
}
.lbs-user-greeting {
    display: flex; align-items: center; gap: var(--z-space-xs);
    font-size: 14px; font-weight: 500; color: var(--z-body);
    padding: var(--z-space-sm) 0;
}
.lbs-user-greeting .dashicons { font-size: 16px; width: 16px; height: 16px; }

/* ─── User Dropdown ─── */
.lbs-user-dropdown { position: relative; }
.lbs-user-trigger {
    display: flex; align-items: center; gap: var(--z-space-xs);
    padding: var(--z-space-sm) var(--z-space-md);
    background: var(--z-canvas);
    color: var(--z-ink);
    border: 1px solid var(--z-mute);
    border-radius: var(--z-radius-md);
    font-family: var(--z-font-body);
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lbs-user-trigger:hover { border-color: var(--z-ink); }
.lbs-user-trigger .dashicons { font-size: 16px; width: 16px; height: 16px; }
.lbs-user-trigger .dashicons-arrow-down-alt2 { font-size: 14px; width: 14px; height: 14px; transition: transform 0.2s ease; }
.lbs-user-dropdown.open .lbs-user-trigger .dashicons-arrow-down-alt2 { transform: rotate(180deg); }

.user-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: #ff5a5f; color: #fff;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
    line-height: 1; flex-shrink: 0;
}

.lbs-user-menu {
    display: none;
    position: absolute; top: calc(100% + 4px); right: 0;
    min-width: 200px;
    background: var(--z-canvas);
    border: 1px solid var(--z-mute);
    border-radius: var(--z-radius-md);
    box-shadow: 0 8px 24px rgba(32,21,21,0.08);
    z-index: 200; overflow: hidden;
}
.lbs-user-dropdown.open .lbs-user-menu { display: block; animation: z-fade-in 0.15s ease; }
.lbs-user-menu a {
    display: flex; align-items: center; gap: var(--z-space-sm);
    padding: var(--z-space-md) var(--z-space-lg);
    text-decoration: none;
    color: var(--z-ink);
    font-family: var(--z-font-body);
    font-size: 14px; font-weight: 400;
    transition: background 0.15s ease;
}
.lbs-user-menu a:hover { background: var(--z-canvas-soft); }
.lbs-user-menu a:first-child { border-bottom: 1px solid var(--z-canvas-soft); }
.lbs-user-menu .dashicons { font-size: 16px; width: 16px; height: 16px; color: var(--z-body-mid); }
   ARCHIVE / LISTING PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.lbs-archive-main {
    max-width: 1280px; margin: var(--z-space-2xl) auto;
    padding: 0 var(--z-space-xl); display: flex; gap: var(--z-space-2xl);
}
.lbs-archive-sidebar {
    width: 260px; flex-shrink: 0;
    background: var(--z-canvas-soft);
    border: 1px solid var(--z-mute);
    border-radius: var(--z-radius-md);
    padding: var(--z-space-xl);
    position: sticky; top: 80px; align-self: flex-start;
    max-height: calc(100vh - 100px); overflow-y: auto;
}
.lbs-archive-sidebar h3 { margin: 0 0 var(--z-space-lg); font-size: 15px; font-weight: 600; color: var(--z-ink); }
.lbs-sidebar-cats { list-style: none; margin: 0; padding: 0; }
.lbs-sidebar-cats li { margin-bottom: 2px; }
.lbs-sidebar-cats a {
    display: flex; align-items: center; gap: var(--z-space-sm);
    padding: var(--z-space-sm) var(--z-space-md);
    border-radius: var(--z-radius-sm);
    text-decoration: none; color: var(--z-body);
    font-size: 13px; font-weight: 400;
    transition: all 0.2s ease;
}
.lbs-sidebar-cats a:hover { background: var(--z-canvas); color: var(--z-ink); }
.lbs-sidebar-cats a.active { background: var(--z-canvas); color: var(--z-orange); font-weight: 600; }
.lbs-sidebar-cats .dashicons { font-size: 15px; width: 15px; height: 15px; }
.lbs-sidebar-cats .count { margin-left: auto; font-size: 11px; color: var(--z-body-mid); }

.lbs-archive-content { flex: 1; min-width: 0; }
.lbs-archive-title-area { margin-bottom: var(--z-space-2xl); }
.lbs-archive-title-area h1 {
    font-family: var(--z-font-display);
    margin: 0 0 var(--z-space-sm);
    font-size: 32px; font-weight: 500; line-height: 1.125; letter-spacing: 1px;
}
.lbs-archive-desc { color: var(--z-body); margin: 0 0 var(--z-space-lg); font-size: 15px; }
.lbs-sort-bar { display: flex; align-items: center; gap: var(--z-space-sm); font-size: 13px; color: var(--z-body-mid); }
.lbs-sort-bar select {
    padding: var(--z-space-sm) var(--z-space-md);
    border: 1px solid var(--z-ink); border-radius: var(--z-radius-sm);
    font-family: var(--z-font-body); font-size: 13px;
    background: var(--z-canvas); color: var(--z-ink); cursor: pointer;
}

/* Business cards — card-content spec */
.lbs-business-list { display: flex; flex-direction: column; gap: var(--z-space-lg); }
.lbs-business-card {
    background: var(--z-canvas-soft);
    border: 1px solid transparent;
    border-radius: var(--z-radius-md);
    overflow: hidden;
    transition: all 0.3s var(--z-ease-spring);
}
.lbs-business-card:hover {
    transform: translateY(-2px);
    border-color: var(--z-ink);
    box-shadow: 0 8px 24px rgba(32,21,21,0.06);
}
.lbs-business-card-link { display: flex; text-decoration: none; color: var(--z-ink); }
.lbs-card-image { width: 260px; min-height: 200px; flex-shrink: 0; overflow: hidden; background: var(--z-canvas-soft); }
.lbs-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--z-ease-out); display: block; }
.lbs-business-card:hover .lbs-card-image img { transform: scale(1.03); }
.lbs-card-no-img { width: 100%; height: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; background: var(--z-canvas-soft); }
.lbs-card-no-img .dashicons { font-size: 40px; color: var(--z-mute); width: 40px; height: 40px; }
.lbs-card-body { padding: var(--z-space-xl); flex: 1; min-width: 0; }
.lbs-card-title { margin: 0 0 var(--z-space-sm); font-size: 19px; font-weight: 600; }
.lbs-card-excerpt { margin: 0 0 var(--z-space-md); font-size: 14px; color: var(--z-body); line-height: 1.5; }
.lbs-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--z-space-md); margin-bottom: var(--z-space-md); font-size: 13px; color: var(--z-body); }
.lbs-card-rating { display: flex; align-items: center; gap: var(--z-space-xs); }
.lbs-stars { display: inline-block; --star-percent: calc(var(--rating) / 5 * 100%); font-size: 15px; line-height: 1; letter-spacing: 2px; }
.lbs-stars::before { content: "★★★★★"; background: linear-gradient(90deg, var(--z-orange) var(--star-percent), var(--z-mute) var(--star-percent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lbs-rating-num { font-weight: 600; color: var(--z-ink); }
.lbs-card-price {
    background: var(--z-canvas); color: var(--z-ink);
    padding: var(--z-space-xs) var(--z-space-md); border-radius: var(--z-radius-pill);
    font-weight: 500; font-size: 12px; border: 1px solid var(--z-ink);
}
.lbs-card-addr { display: flex; align-items: center; gap: var(--z-space-xs); }
.lbs-card-addr .dashicons { font-size: 13px; width: 13px; height: 13px; color: var(--z-body-mid); }
.lbs-card-amenities { display: flex; flex-wrap: wrap; gap: var(--z-space-xs); }
.lbs-amenity-tag {
    font-size: 11px; padding: var(--z-space-xs) var(--z-space-md);
    background: var(--z-canvas); border-radius: var(--z-radius-pill);
    color: var(--z-body); border: 1px solid var(--z-mute);
}
.lbs-amenity-more { background: var(--z-canvas-soft); color: var(--z-ink-soft); font-weight: 600; }
.lbs-no-results { text-align: center; padding: var(--z-space-4xl) var(--z-space-xl); color: var(--z-body-mid); font-size: 16px; }

/* Pagination */
.lbs-pagination { margin-top: var(--z-space-2xl); text-align: center; }
.lbs-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    padding: var(--z-space-sm) var(--z-space-lg); margin: 0 3px;
    border-radius: var(--z-radius-sm);
    border: 1px solid var(--z-mute); text-decoration: none;
    color: var(--z-body); font-size: 14px; font-weight: 500;
    transition: all 0.2s ease; background: var(--z-canvas);
}
.lbs-pagination .page-numbers:hover { border-color: var(--z-ink); color: var(--z-ink); }
.lbs-pagination .page-numbers.current { background: var(--z-ink); color: var(--z-canvas); border-color: var(--z-ink); }

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE BUSINESS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.lbs-single-main { max-width: 1200px; margin: 0 auto; padding: var(--z-space-2xl) var(--z-space-xl); }

.lbs-gallery-collage {
    display: flex; gap: 6px;
    border-radius: var(--z-radius-md); overflow: hidden;
    height: 440px; margin-bottom: var(--z-space-2xl);
    background: var(--z-canvas-soft);
}
.lbs-gallery-main { flex: 2; overflow: hidden; }
.lbs-gallery-img-main { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbs-gallery-small-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.lbs-gallery-small-item { overflow: hidden; position: relative; background: var(--z-canvas-soft); }
.lbs-gallery-small-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbs-gallery-show-more { position: relative; cursor: pointer; }
.lbs-gallery-blur { filter: blur(4px); transform: scale(1.1); }
.lbs-gallery-overlay { position: absolute; inset: 0; background: rgba(32,21,21,0.55); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--z-canvas); font-size: 14px; font-weight: 500; gap: 6px; }
.lbs-gallery-placeholder { height: 300px; border-radius: var(--z-radius-md); background: var(--z-canvas-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--z-mute); margin-bottom: var(--z-space-2xl); }
.lbs-gallery-placeholder .dashicons { font-size: 52px; width: 52px; height: 52px; }

.lbs-single-content { display: flex; gap: var(--z-space-2xl); }
.lbs-single-main-col { flex: 1; min-width: 0; }
.lbs-single-sidebar { width: 360px; flex-shrink: 0; }

.lbs-single-title-block { margin-bottom: var(--z-space-xl); }
.lbs-single-cats { display: flex; gap: var(--z-space-sm); flex-wrap: wrap; margin-bottom: var(--z-space-sm); }
.lbs-single-cat {
    font-size: 11px; padding: var(--z-space-xs) var(--z-space-md);
    background: var(--z-canvas-soft); color: var(--z-orange);
    border: 1px solid var(--z-orange); border-radius: var(--z-radius-pill);
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.lbs-single-title { margin: 0 0 var(--z-space-md); font-family: var(--z-font-display); font-size: 36px; font-weight: 500; line-height: 1.15; }
.lbs-single-quick-info { display: flex; align-items: center; gap: var(--z-space-lg); }
.lbs-single-rating { display: flex; align-items: center; gap: var(--z-space-sm); }
.lbs-stars-lg { display: inline-block; --star-percent: calc(var(--rating) / 5 * 100%); font-size: 20px; line-height: 1; letter-spacing: 3px; }
.lbs-stars-lg::before { content: "★★★★★"; background: linear-gradient(90deg, var(--z-orange) var(--star-percent), var(--z-mute) var(--star-percent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lbs-rating-value { font-size: 17px; font-weight: 600; color: var(--z-ink); }
.lbs-single-price { font-size: 13px; background: var(--z-canvas); color: var(--z-ink); padding: var(--z-space-xs) var(--z-space-lg); border: 1px solid var(--z-ink); border-radius: var(--z-radius-pill); font-weight: 500; }

/* card-content spec */
.lbs-single-section {
    background: var(--z-canvas-soft);
    border: 1px solid var(--z-mute);
    border-radius: var(--z-radius-md);
    padding: var(--z-space-xl);
    margin-bottom: var(--z-space-lg);
}
.lbs-single-section h2 { margin: 0 0 var(--z-space-lg); font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: var(--z-space-sm); }
.lbs-single-section h2 .dashicons { color: var(--z-orange); font-size: 20px; width: 20px; height: 20px; }
.lbs-single-description { font-size: 16px; line-height: 1.75; color: var(--z-body); }
.lbs-opening-hours { font-size: 14px; color: var(--z-body); line-height: 1.8; }

.lbs-amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--z-space-sm); }
.lbs-amenity-item { display: flex; align-items: center; gap: var(--z-space-sm); padding: var(--z-space-md) var(--z-space-lg); background: var(--z-canvas); border: 1px solid var(--z-mute); border-radius: var(--z-radius-sm); font-size: 13px; color: var(--z-body); transition: all 0.2s; }
.lbs-amenity-item:hover { border-color: var(--z-ink); }
.lbs-amenity-item .dashicons { color: var(--z-orange); font-size: 16px; width: 16px; height: 16px; }

/* Pricing-card spec */
.lbs-sidebar-card {
    background: var(--z-canvas);
    border: 1px solid var(--z-ink);
    border-radius: var(--z-radius-md);
    padding: var(--z-space-xl);
    margin-bottom: var(--z-space-lg);
    position: sticky; top: 80px;
}
.lbs-sidebar-card h3 { margin: 0 0 var(--z-space-md); font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: var(--z-space-sm); }

/* Button-primary: orange CTA, 12px radius, button-md typography */
.lbs-btn-booking {
    display: flex; align-items: center; justify-content: center; gap: var(--z-space-sm);
    width: 100%;
    padding: var(--z-space-md) var(--z-space-xl);
    background: var(--z-orange); color: var(--z-canvas);
    border: none; border-radius: var(--z-radius-md);
    font-family: var(--z-font-body);
    font-size: 18px; font-weight: 600; line-height: 1.5;
    text-decoration: none; cursor: pointer;
    margin-bottom: var(--z-space-sm);
    transition: all 0.25s var(--z-ease-spring);
}
.lbs-btn-booking:hover { background: var(--z-ink); color: var(--z-canvas); transform: translateY(-1px); }

/* Button-tertiary: outline */
.lbs-btn-share {
    display: flex; align-items: center; justify-content: center; gap: var(--z-space-sm);
    width: 100%;
    padding: var(--z-space-md) var(--z-space-xl);
    background: var(--z-canvas); color: var(--z-ink);
    border: 1px solid var(--z-ink); border-radius: var(--z-radius-md);
    font-family: var(--z-font-body);
    font-size: 18px; font-weight: 600;
    cursor: pointer; margin-bottom: var(--z-space-xl);
    transition: all 0.2s var(--z-ease-spring);
}
.lbs-btn-share:hover { background: var(--z-ink); color: var(--z-canvas); }

.lbs-detail-row { display: flex; gap: var(--z-space-md); padding: var(--z-space-md) 0; border-bottom: 1px solid var(--z-mute); }
.lbs-detail-row:last-child { border-bottom: none; }
.lbs-detail-row .dashicons { color: var(--z-body-mid); font-size: 17px; width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.lbs-detail-row strong { display: block; font-size: 11px; color: var(--z-body-mid); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.lbs-detail-row p { margin: 0; font-size: 14px; color: var(--z-ink); }
.lbs-detail-row a { color: var(--z-orange); text-decoration: none; }
.lbs-detail-row a:hover { text-decoration: underline; }

.lbs-map-placeholder { background: var(--z-canvas-soft); border: 1px solid var(--z-mute); border-radius: var(--z-radius-sm); padding: var(--z-space-lg); text-align: center; }
.lbs-map-placeholder p { margin: 0 0 var(--z-space-md); font-size: 13px; color: var(--z-body); }
.lbs-btn-directions { display: inline-flex; align-items: center; gap: var(--z-space-xs); padding: var(--z-space-sm) var(--z-space-lg); background: var(--z-ink); color: var(--z-canvas); border-radius: var(--z-radius-pill); text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.lbs-btn-directions:hover { background: var(--z-orange); color: var(--z-canvas); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .lbs-search-header h1 { font-size: 36px; }
    .lbs-subtitle { font-size: 16px; }
    .lbs-search-input { font-size: 16px; padding: var(--z-space-md) var(--z-space-lg) var(--z-space-md) 42px; }
    .lbs-categories-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .lbs-featured-grid { grid-template-columns: 1fr; }
    .lbs-archive-main { flex-direction: column; }
    .lbs-archive-sidebar { width: 100%; position: static; max-height: none; }
    .lbs-business-card-link { flex-direction: column; }
    .lbs-card-image { width: 100%; min-height: 220px; height: 220px; }
    .lbs-single-content { flex-direction: column; }
    .lbs-single-sidebar { width: 100%; }
    .lbs-gallery-collage { height: 280px; flex-direction: column; }
}


