/* Bohemian Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Josefin+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #8B6914;
  --primary-dark: #6B5010;
  --primary-light: #B8860B;
  --accent: #C17F59;
  --accent-hover: #A86A47;
  --sage: #7D8B6F;
  --burgundy: #6B2D3C;
  --cream: #FAF6F0;
  --danger: #B84A4A;
  --success: #5A8F6B;
  --text: #3D3229;
  --text-muted: #7A6E62;
  --text-light: #A89888;
  --bg: #F5EFE6;
  --bg-card: #FDFBF7;
  --bg-soft: #F8F3EB;
  --border: #E8DDD0;
  --border-light: #F0E8DC;
  --shadow-sm: 0 1px 3px rgba(61,50,41,.06);
  --shadow: 0 4px 12px rgba(61,50,41,.08);
  --shadow-md: 0 12px 24px rgba(61,50,41,.1);
  --shadow-lg: 0 24px 48px rgba(61,50,41,.12);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: .25s ease;
  --font: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font) !important;
  background: var(--bg) !important;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mod-site-main {
  flex: 1 0 auto;
  width: 100%;
}
.mod-site-main:not(:has(.bh-home)) {
  padding-top: 8px;
}

/* ── Top Bar ── */
.mod-topbar {
  background: var(--burgundy);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.mod-topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.mod-topbar a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
  transition: var(--transition);
}
.mod-topbar a:hover { color: #fff; background: rgba(255,255,255,.1); }
.mod-topbar a.mod-btn-register {
  background: var(--primary-light);
  color: #fff;
}
.mod-topbar a.mod-btn-register:hover { background: var(--primary); }
.mod-topbar a.mod-btn-login {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
}
.mod-topbar a.mod-btn-login:hover { border-color: #fff; }

/* ── Navbar ── */
.mod-navbar {
  background: rgba(253, 251, 247, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.mod-navbar .container {
  display: flex;
  align-items: center;
  min-height: var(--nav-height);
  gap: 24px;
}
.mod-navbar-brand img {
  height: 44px;
  width: auto;
}
.mod-navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.mod-navbar-nav > li > a,
.mod-navbar-nav > li > .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.mod-navbar-nav > li > a:hover,
.mod-navbar-nav > li > .dropdown-toggle:hover {
  background: var(--border-light);
  color: var(--primary);
}
.mod-btn-post {
  background: var(--burgundy) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 2px 12px rgba(107,45,60,.3);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px !important;
}
.mod-btn-post:hover {
  background: #552430 !important;
  transform: translateY(-1px);
}
.mod-navbar-banner {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.mod-navbar-banner img {
  max-height: 52px;
  width: auto;
  border-radius: var(--radius-sm);
}
.mod-navbar .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 8px;
}
.mod-navbar .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 14px;
}
.mod-navbar .dropdown-item:hover {
  background: var(--border-light);
  color: var(--primary);
}
.mod-navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.mod-search-toggle {
  background: var(--border-light);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}
.mod-search-toggle:hover { background: var(--border); color: var(--primary); }
.mod-search-dropdown {
  min-width: 360px !important;
  padding: 16px !important;
}
.mod-search-dropdown input {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 10px 14px;
}
.mod-search-dropdown .btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.mod-badge {
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 6px;
}

/* ── Hero (inner pages) ── */
.mod-hero {
  background-color: var(--cream);
  background-image: url('/tema/arka.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.mod-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,50,41,.82) 0%, rgba(107,45,60,.75) 50%, rgba(139,105,20,.7) 100%);
}
.mod-hero .container { position: relative; z-index: 1; }
.mod-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: .01em;
}
.mod-hero p {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  margin: 0 0 28px;
}
.mod-hero-search {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.mod-hero-search select,
.mod-hero-search input {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}
.mod-hero-search select:focus,
.mod-hero-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
}
.mod-hero-search .mod-search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.mod-hero-search .mod-search-btn:hover { background: var(--primary-dark); }

/* ── Section ── */
.mod-section { padding: 40px 0; }
.mod-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.mod-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mod-section-title i { color: var(--primary); }
.mod-section-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mod-section-link:hover { color: var(--primary-dark); }

/* ── Listing Grid ── */
.mod-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.mod-listing-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.mod-listing-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.mod-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  text-decoration: none;
  color: inherit;
}
.mod-listing-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--border-light);
  position: relative;
}
.mod-listing-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.mod-listing-card__hit {
  position: absolute;
  bottom: 5px;
  right: 5px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .58);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}
.mod-listing-card:hover .mod-listing-card__img img { transform: scale(1.05); }
.mod-listing-card__body { padding: 10px 12px; }
.mod-listing-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.mod-listing-card__cat {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0;
}
.mod-listing-card__meta {
  font-size: 12px;
  color: var(--text-muted);
}
.mod-listing-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 6px;
}
.mod-vitrin-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px dashed var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  min-height: 200px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.mod-vitrin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text);
}
.mod-vitrin-card i { font-size: 36px; color: var(--accent); margin-bottom: 12px; }
.mod-vitrin-card strong { font-size: 15px; }
.mod-vitrin-card span { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Breadcrumb ── */
.mod-breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.mod-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.mod-breadcrumb a:hover { text-decoration: underline; }

/* ── Detail Page ── */
.mod-detail { padding: 24px 0 48px; }
.mod-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.mod-gallery {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.mod-gallery__main {
  aspect-ratio: 4/3;
  background: #0f172a;
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}
.mod-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.mod-gallery__main:hover img { transform: scale(1.02); }
.mod-gallery__zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.mod-gallery__zoom:hover { background: rgba(0,0,0,.75); }
.mod-gallery__counter {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.mod-gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: var(--bg);
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.mod-gallery__thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: .7;
}
.mod-gallery__thumb:hover,
.mod-gallery__thumb.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(13,148,136,.2);
}
.mod-detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.mod-detail-spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.mod-detail-spec-card__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.mod-detail-spec-card__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Lightbox */
.mod-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15,23,42,.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mod-lightbox.open { display: flex; }
.mod-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.mod-lightbox__close:hover { background: rgba(255,255,255,.2); }
.mod-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.mod-lightbox__nav:hover { background: rgba(255,255,255,.25); }
.mod-lightbox__nav--prev { left: 20px; }
.mod-lightbox__nav--next { right: 20px; }
.mod-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mod-lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.mod-lightbox__footer {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90vw;
  padding: 0 16px;
}
.mod-lightbox__footer img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .6;
  transition: var(--transition);
}
.mod-lightbox__footer img.active,
.mod-lightbox__footer img:hover {
  border-color: var(--primary-light);
  opacity: 1;
}
.mod-lightbox__title {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
}

/* Fancybox fallback styling */
.fancybox-skin {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
}
.fancybox-overlay {
  background: rgba(15,23,42,.92) !important;
}
.fancybox-nav span {
  visibility: visible !important;
  opacity: .8 !important;
}
.fancybox-close {
  top: 10px !important;
  right: 10px !important;
}
.mod-detail-panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mod-detail-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.mod-detail-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.3;
}
.mod-detail-location {
  font-size: 14px;
  color: var(--text-muted);
}
.mod-detail-location a { color: var(--primary); text-decoration: none; }
.mod-detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mod-detail-actions button,
.mod-detail-actions a {
  background: var(--border-light);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
  font-size: 13px;
}
.mod-detail-actions button:hover,
.mod-detail-actions a:hover { background: var(--border); color: var(--primary); }
.mod-detail-seller {
  padding: 20px 28px;
  background: var(--border-light);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.mod-detail-seller-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.mod-detail-seller-name a { color: var(--text); text-decoration: none; }
.mod-detail-seller-name a:hover { color: var(--primary); }
.mod-detail-price {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}
.mod-detail-body { padding: 24px 28px; }
.mod-detail-spec {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.mod-detail-spec__label {
  font-weight: 600;
  color: var(--text);
  min-width: 140px;
}
.mod-detail-spec__value { color: var(--text-muted); }
.mod-detail-desc {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mod-detail-desc h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}
.mod-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 14px;
  color: #991b1b;
}
.mod-alert a { color: #dc2626; font-weight: 600; }
.mod-whatsapp-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mod-whatsapp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #25d366;
  color: #fff !important;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mod-whatsapp-cta__btn:hover,
.mod-whatsapp-cta__btn:focus {
  background: #1da851;
  color: #fff !important;
  transform: translateY(-1px);
}
.mod-whatsapp-cta__btn .fa {
  font-size: 22px;
}
.mod-whatsapp-cta__btn--phone {
  background: var(--primary, #2563eb);
}
.mod-whatsapp-cta__btn--phone:hover,
.mod-whatsapp-cta__btn--phone:focus {
  background: #1d4ed8;
  color: #fff !important;
}
.mod-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.mod-similar-card {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.mod-similar-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  text-decoration: none;
  color: inherit;
}
.mod-similar-card img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.mod-similar-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}
.mod-similar-card__meta { font-size: 12px; color: var(--text-muted); }

/* ── Auth Pages ── */
.mod-auth {
  max-width: 480px;
  margin: 48px auto;
  padding: 0 16px;
}
.mod-auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mod-auth-header {
  padding: 32px 32px 0;
  text-align: center;
}
.mod-auth-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.mod-auth-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.mod-auth-body { padding: 28px 32px; }
.mod-auth-body .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font);
  transition: var(--transition);
  background: var(--bg);
}
.mod-auth-body .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
  outline: none;
  background: #fff;
}
.mod-auth-body .form-group { margin-bottom: 16px; }
.mod-auth-body label { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; display: block; }
.mod-auth-forgot {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}
.mod-auth-forgot:hover { text-decoration: underline; }
.mod-btn-primary {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.mod-btn-primary:hover { background: var(--primary-dark); }
.mod-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.mod-btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.mod-auth-footer {
  padding: 20px 32px;
  background: var(--border-light);
  text-align: center;
  border-top: 1px solid var(--border);
}
.mod-auth-footer p { margin: 0 0 12px; font-size: 14px; color: var(--text-muted); }
.mod-auth-footer-note { margin-top: 16px !important; font-size: 13px !important; }
.mod-auth-footer-note a { color: var(--primary); font-weight: 600; }

/* ── Blog ── */
.mod-blog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 32px 0;
}
.mod-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.mod-sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.mod-sidebar-nav { list-style: none; margin: 0; padding: 0; }
.mod-sidebar-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}
.mod-sidebar-nav li a:hover { background: var(--border-light); color: var(--primary); }
.mod-sidebar-nav .mod-count {
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.mod-blog-main {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mod-blog-main-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.mod-blog-main-header h2 { margin: 0; font-size: 22px; font-weight: 700; }
.mod-blog-item {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.mod-blog-item:hover { background: var(--border-light); }
.mod-blog-item:last-child { border-bottom: none; }
.mod-blog-item__img {
  width: 140px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.mod-blog-item__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
.mod-blog-item__title a {
  color: var(--text);
  text-decoration: none;
}
.mod-blog-item__title a:hover { color: var(--primary); }
.mod-blog-item__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.5;
}
.mod-blog-item__date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}
.mod-article {
  padding: 32px 36px;
}
.mod-article h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}
.mod-article__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.mod-article__img {
  float: left;
  width: 240px;
  margin: 0 24px 16px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.mod-article__content { font-size: 15px; line-height: 1.8; color: var(--text); }
.mod-article__content::after { content: ''; display: table; clear: both; }

/* ── Content Page ── */
.mod-content-page {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 16px;
}
.mod-content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mod-content-card-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.mod-content-card-header h1 { margin: 0; font-size: 26px; font-weight: 700; }
.mod-content-card-body { padding: 28px 32px; font-size: 15px; line-height: 1.8; }

/* ── Contact ── */
.mod-contact-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 32px 0;
}
.mod-contact-form .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font);
}
.mod-contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
  outline: none;
}
.mod-contact-form textarea { min-height: 140px; resize: vertical; }

/* ── FAQ ── */
.mod-faq { padding: 32px 0; max-width: 800px; margin: 0 auto; }
.mod-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.mod-faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}
.mod-faq-item p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Footer ── */
.mod-footer {
  background: var(--burgundy);
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
  margin-top: auto;
  flex-shrink: 0;
}
.mod-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  margin-bottom: 32px;
}
.mod-footer-brand img { height: 40px; margin-bottom: 16px; }
.mod-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.mod-footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.mod-footer-links a:hover { color: #fff; }
.mod-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}
.mod-footer-copyright {
  margin-top: 12px;
  opacity: .85;
  font-size: 11px;
}
.mod-footer-copyright a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: var(--transition);
}
.mod-footer-copyright a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── FAB ── */
.mod-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary) !important;
  color: #fff !important;
  border: none;
  border-radius: 50px !important;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: var(--shadow-lg) !important;
  z-index: 999;
  display: flex !important;
  align-items: center;
  gap: 8px;
  transition: var(--transition) !important;
}
.mod-fab:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
}

/* ── WhatsApp float ── */
.bh-whatsapp {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: bh-whatsapp-bob 2.8s ease-in-out infinite;
}
.bh-whatsapp:hover,
.bh-whatsapp:focus {
  color: #fff;
  text-decoration: none;
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .55);
  animation: none;
}
.bh-whatsapp__icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}
.bh-whatsapp__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .45);
  z-index: 1;
  animation: bh-whatsapp-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.bh-whatsapp__pulse--delay {
  animation-delay: 1.1s;
}
@keyframes bh-whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }
  70% {
    transform: scale(1.75);
    opacity: 0;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
@keyframes bh-whatsapp-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 767px) {
  .bh-whatsapp {
    width: 52px;
    height: 52px;
    left: 16px;
    bottom: 18px;
  }
  .bh-whatsapp__icon {
    width: 26px;
    height: 26px;
  }
  .mod-fab {
    bottom: 18px;
    right: 16px;
    padding: 12px 18px !important;
    font-size: 13px !important;
  }
}

/* ── Pagination ── */
.pagination {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 20px 28px;
  margin: 0;
  flex-wrap: wrap;
}
.pagination li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.pagination li a:hover { background: var(--border-light); }
.pagination li.active a {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Alerts ── */
.alert {
  border-radius: var(--radius-sm);
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-danger { background: #fef2f2; color: #991b1b; }
.alert-success { background: #f0fdf4; color: #166534; }
.alert-warning { background: #fffbeb; color: #92400e; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mod-navbar-toggler { display: block; margin-left: auto; }
  .mod-navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }
  .mod-navbar-nav.open { display: flex; }
  .mod-navbar-nav > li { width: 100%; }
  .mod-navbar-nav > li > a,
  .mod-navbar-nav > li > .dropdown-toggle { width: 100%; }
  .mod-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .mod-gallery { position: static; top: auto; }
  .mod-detail-header,
  .mod-detail-seller,
  .mod-detail-body { padding-left: 16px; padding-right: 16px; }
  .mod-sidebar { position: static; }
  .mod-blog-layout,
  .mod-contact-layout {
    grid-template-columns: 1fr;
  }
  .mod-footer-grid { grid-template-columns: 1fr; }
  .mod-hero { padding: 40px 0 48px; }
  .mod-hero-search { flex-direction: column; }
  .mod-article__img { float: none; width: 100%; margin: 0 0 20px; }
  .mod-navbar-banner,
  .bh-banners-row,
  .bh-banner--wide,
  .mod-cat-banner {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
}
@media (max-width: 576px) {
  .mod-listing-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mod-blog-item { flex-direction: column; }
  .mod-blog-item__img { width: 100%; height: 160px; }
  .mod-auth-body, .mod-auth-header { padding-left: 20px; padding-right: 20px; }
}

/* Legacy listing card upgrade for category/search pages */
.col-xs-6 > .box.p-a-xs.text-center,
.col-sm-4 > .box.p-a-xs.text-center,
.col-md-3 > .box.p-a-xs.text-center,
.col-md-2 > .box.p-a-xs.text-center {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  padding: 0 !important;
}
.col-xs-6 > .box.p-a-xs.text-center:hover,
.col-sm-4 > .box.p-a-xs.text-center:hover,
.col-md-3 > .box.p-a-xs.text-center:hover,
.col-md-2 > .box.p-a-xs.text-center:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.col-xs-6 > .box.p-a-xs.text-center img,
.col-sm-4 > .box.p-a-xs.text-center img,
.col-md-3 > .box.p-a-xs.text-center img,
.col-md-2 > .box.p-a-xs.text-center img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.col-xs-6 > .box.p-a-xs.text-center > a._500,
.col-sm-4 > .box.p-a-xs.text-center > a._500,
.col-md-3 > .box.p-a-xs.text-center > a._500 {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Search page hero */
.mod-search-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 32px 0;
}
.mod-search-hero .input-group {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.mod-search-hero input {
  border: none !important;
  padding: 12px 16px;
  font-size: 15px;
}
.mod-search-hero .btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 600;
}
.mod-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 32px 16px;
  margin: 0;
}

/* Category sidebar upgrade */
#lef .box, .left.w-xl .box {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
#lef .box-header h3, .left.w-xl .box-header h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px 0;
}
#lef .nav-header a, .left.w-xl .nav-header a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
#lef .nav-header a:hover { background: var(--border-light); color: var(--primary); }

/* Member area pages */
.container > .box.box-header {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 24px auto;
  overflow: hidden;
}
.container > .box.box-header .box-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.mobilegizle { display: block !important; }
.dark.btn-xs { display: none; }
.box:empty { display: none; }
.navbar.white.b-b { display: none !important; }
.white.mobilegizle.b-t { display: none !important; }
.md-fab-bottom-right:not(.mod-fab) { display: none !important; }

/* ══════════════════════════════════════════
   Bohemian Homepage
   ══════════════════════════════════════════ */

.bh-home {
  background: var(--bg);
  overflow-x: hidden;
}

/* Slider */
.bh-slider {
  position: relative;
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  background: var(--burgundy);
}
.bh-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.bh-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.bh-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.bh-slider__slide img,
.bh-slider__link {
  display: block;
  width: 100%;
  height: 100%;
}
.bh-slider__slide img {
  object-fit: cover;
}
.bh-slider__link { text-decoration: none; }
.bh-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,50,41,.45) 0%, transparent 50%, rgba(61,50,41,.15) 100%);
  pointer-events: none;
}
.bh-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(253,251,247,.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.bh-slider__nav:hover {
  background: rgba(253,251,247,.3);
  border-color: rgba(255,255,255,.6);
}
.bh-slider__nav--prev { left: 20px; }
.bh-slider__nav--next { right: 20px; }
.bh-slider__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.bh-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.bh-slider__dot.is-active,
.bh-slider__dot:hover {
  background: #fff;
  border-color: #fff;
}

/* Hero / Search */
.bh-hero {
  padding: 64px 0 56px;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(250,246,240,.5), rgba(250,246,240,.5)), url('/tema/arka.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.bh-hero .container {
  position: relative;
  z-index: 1;
}
.bh-hero--compact {
  padding: 40px 0 48px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.bh-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.bh-hero--compact .bh-hero__inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow-lg);
}
.bh-hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.bh-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 16px;
}
.bh-hero__title em {
  font-style: italic;
  color: var(--primary);
}
.bh-hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.7;
}
.bh-search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.bh-hero--compact .bh-search {
  box-shadow: none;
  border: none;
  padding: 0;
  background: transparent;
}
.bh-search__field {
  flex: 1;
  min-width: 160px;
  text-align: left;
}
.bh-search__field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.bh-search__field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  background: var(--cream);
  color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237A6E62' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: var(--transition);
}
.bh-search__field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,105,20,.12);
}
.bh-search__btn {
  background: var(--burgundy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 32px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.bh-search__btn:hover {
  background: #552430;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Banners */
.bh-banners-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 32px 15px 0;
}
.bh-banner {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}
.bh-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.bh-banner--half {
  flex: 1;
  min-width: 280px;
}
.bh-banner--wide {
  margin: 32px auto;
  max-width: calc(1140px - 30px);
}
.bh-banners-row .bh-banner--half:only-child {
  flex: 1 1 100%;
}

/* Sections */
.bh-section {
  padding: 48px 15px;
}
.bh-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.bh-section__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.bh-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.bh-section__link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.bh-section__link:hover {
  color: var(--burgundy);
  text-decoration: none;
}
.bh-section__group + .bh-section__group {
  margin-top: 36px;
}
.bh-section__subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.bh-section__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.bh-section__sublink {
  color: var(--muted, #6b7280);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition);
}
.bh-section__sublink:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Listing Grid */
.bh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.bh-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.bh-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.bh-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.bh-load-more:hover:not(:disabled) {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.bh-load-more:disabled,
.bh-load-more.is-loading {
  opacity: 0.7;
  cursor: wait;
}
.bh-load-more__count {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.bh-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition);
}
.bh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  text-decoration: none;
  color: inherit;
}
.bh-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--border-light);
  position: relative;
}
.bh-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,50,41,.08), transparent);
  pointer-events: none;
}
.bh-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.bh-card__hit {
  position: absolute;
  bottom: 5px;
  right: 5px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .58);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}
.bh-card:hover .bh-card__img img { transform: scale(1.06); }
.bh-card__body { padding: 10px 12px; }
.bh-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bh-card__cat {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent);
  margin: 0;
}
.bh-card__meta {
  font-size: 12px;
  color: var(--text-light);
  display: block;
}
.bh-card__price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 8px 0 0;
}

/* Vitrin CTA card */
.bh-vitrin-card {
  background:
    linear-gradient(145deg, rgba(250,246,240,.95), rgba(240,232,220,.9)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C17F59' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border: 1px dashed var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  min-height: 220px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.bh-vitrin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-style: solid;
  text-decoration: none;
  color: var(--text);
}
.bh-vitrin-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(139,105,20,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.bh-vitrin-card__icon i {
  font-size: 22px;
  color: var(--primary);
}
.bh-vitrin-card strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.bh-vitrin-card span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: .04em;
}

/* ── Category Page ── */
.mod-cat-panel {
  border-bottom: 1px solid var(--border);
}
.mod-cat-panel:last-child {
  border-bottom: none;
}
.mod-cat-panel__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 20px 20px 12px;
  border: none;
  background: transparent;
  cursor: default;
  text-align: left;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.mod-cat-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mod-cat-panel__title i {
  color: var(--primary);
  font-size: 16px;
}
.mod-cat-filter .mod-cat-panel__title i { color: var(--accent); }
.mod-cat-panel__chevron {
  display: none;
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.mod-cat-panel__body {
  display: block;
}
.mod-cat-sidebar__scroll {
  overflow: visible;
  padding: 0 12px 16px;
  max-height: none;
}
.mod-cat-nav li a {
  font-size: 13px;
  gap: 8px;
}
.mod-cat-nav li a .pull-right,
.mod-cat-nav li a .label {
  float: none;
  margin-left: auto;
  flex-shrink: 0;
}
.mod-cat-nav .nav-header a,
.mod-cat-nav .hidden-folded a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mod-cat-nav li a span:not(.mod-count) {
  color: var(--text-muted);
  font-size: 12px;
}
.mod-cat-nav__root a {
  font-weight: 600;
  color: var(--primary) !important;
  background: rgba(139,105,20,.08);
}
.mod-cat-nav .sub2 a { padding-left: 20px; }
.mod-cat-nav .sub3 a { padding-left: 28px; }
.mod-cat-nav .sub4 a { padding-left: 36px; }
.mod-cat-nav .sub5 a { padding-left: 44px; }
.mod-cat-nav .sub6 a,
.mod-cat-nav .sub7 a,
.mod-cat-nav .sub8 a { padding-left: 52px; }
.mod-cat-filter {
  padding: 0 0 20px;
  background: var(--border-light);
  overflow: visible;
}
.mod-cat-filter .mod-cat-panel__body {
  padding: 0 20px 4px;
}
.mod-cat-filter .mod-cat-panel__toggle {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.mod-cat-filter h3 {
  display: none;
}
.mod-cat-filter__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mod-cat-filter__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mod-cat-filter__row .form-control { flex: 1; min-width: 0; }
.mod-cat-filter__sep { color: var(--text-light); font-size: 12px; }
.mod-cat-filter__form .form-group { margin-bottom: 14px; }
.mod-cat-filter__form .form-control {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  font-size: 13px;
}
.mod-cat-filter__btn {
  width: 100%;
  margin-top: 8px;
  padding: 11px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--burgundy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.mod-cat-filter__btn:hover { background: #552430; }
.bh-cat-vitrin .bh-section__header {
  margin-bottom: 24px;
  padding-bottom: 16px;
}
.bh-card--vitrin {
  position: relative;
  border-color: rgba(193,127,89,.45);
  box-shadow: 0 4px 16px rgba(193,127,89,.12);
}
.bh-card--vitrin:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(193,127,89,.2);
}
.bh-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mod-cat-listings {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
}
.mod-cat-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.mod-cat-toolbar .mod-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0;
}
.mod-cat-toolbar .bh-section__eyebrow { margin-bottom: 4px; }
.mod-cat-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.mod-cat-sort__btn:hover,
.mod-cat-sort.open .mod-cat-sort__btn {
  border-color: var(--primary-light);
  color: var(--primary);
}
.mod-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.mod-cat-tabs__item {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.mod-cat-tabs__item:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}
.mod-cat-tabs__item--active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}
.mod-cat-listings .mod-listing-grid { margin-bottom: 24px; }
.mod-cat-listings .pagination { margin-bottom: 0; }
.mod-cat-banner { margin-top: 24px; }
.mod-listing-card.adv-color {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(139,105,20,.15);
}

/* Category page — desktop layout */
@media (min-width: 992px) {
  .mod-cat-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas: "sidebar main";
    gap: 28px;
    padding: 32px 15px 48px;
    align-items: start;
  }
  .mod-cat-sidebar {
    grid-area: sidebar;
    padding: 0;
    overflow: visible;
    position: sticky;
    top: calc(var(--nav-height) + 16px);
    align-self: start;
    height: auto;
    max-height: none;
    width: 100%;
    min-width: 0;
  }
  .mod-cat-sidebar.mod-sidebar {
    padding: 0;
  }
  .mod-cat-main {
    grid-area: main;
    min-width: 0;
    width: 100%;
  }
  .mod-cat-panel__chevron {
    display: none;
  }
  .mod-cat-panel__toggle {
    cursor: default;
  }
  .mod-cat-panel__body {
    display: block !important;
  }
}

/* Category page — mobile layout (must stay after desktop rules) */
@media (max-width: 991px) {
  .mod-cat-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 12px 32px;
    width: 100%;
    max-width: 100%;
  }
  .mod-cat-main {
    order: 1;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }
  .mod-cat-sidebar {
    order: 2;
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--border);
    background: transparent;
    box-shadow: none;
    height: auto;
  }
  .mod-cat-sidebar.mod-sidebar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 20px 0 0;
  }
  .mod-cat-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
  }
  .mod-cat-panel__toggle {
    cursor: pointer;
    padding: 14px 16px;
    font-size: 16px;
    background: var(--bg-card);
  }
  .mod-cat-panel__chevron {
    display: block;
  }
  .mod-cat-panel.is-open .mod-cat-panel__chevron {
    transform: rotate(180deg);
  }
  .mod-cat-panel:not(.is-open) .mod-cat-panel__body {
    display: none;
  }
  .mod-cat-sidebar__scroll {
    padding: 0 10px 12px;
    max-height: none;
    overflow: visible;
  }
  .mod-cat-nav li a {
    padding: 12px 10px;
    font-size: 14px;
    min-height: 44px;
  }
  .mod-cat-filter {
    padding: 0;
    overflow: visible;
    background: var(--border-light);
  }
  .mod-cat-filter .mod-cat-panel__body {
    padding: 0 16px 16px;
  }
  .mod-cat-filter .mod-cat-panel__toggle {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
  }
  .mod-cat-filter__form .form-control {
    font-size: 16px;
    min-height: 44px;
    padding: 10px 12px;
  }
  .mod-cat-filter__btn {
    min-height: 48px;
    font-size: 15px;
  }
  .mod-cat-listings {
    padding: 18px 14px 24px;
    border-radius: var(--radius);
    width: 100%;
  }
  .mod-cat-toolbar .mod-section-title {
    font-size: 1.35rem;
  }
  .mod-cat-sort {
    width: 100%;
  }
  .mod-cat-sort__btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .mod-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-bottom: 16px;
    scrollbar-width: none;
  }
  .mod-cat-tabs::-webkit-scrollbar {
    display: none;
  }
  .mod-cat-tabs__item {
    flex-shrink: 0;
    min-height: 40px;
  }
  .mod-cat-listings .mod-listing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mod-cat-listings .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .mod-cat-listings .pagination li a {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Homepage responsive */
@media (max-width: 768px) {
  .bh-slider { height: clamp(200px, 50vw, 320px); }
  .bh-slider__nav { width: 38px; height: 38px; font-size: 13px; }
  .bh-slider__nav--prev { left: 10px; }
  .bh-slider__nav--next { right: 10px; }
  .bh-hero { padding: 32px 0; }
  .bh-hero--compact { margin-top: -32px; padding: 20px 0 28px; }
  .bh-hero--compact .bh-hero__inner { padding: 22px 16px 18px; }
  .bh-hero__title { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .bh-hero__subtitle { font-size: 14px; margin-bottom: 18px; }
  .bh-search {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 8px;
  }
  .bh-hero--compact .bh-search { padding: 0; }
  .bh-search__field { min-width: 0; }
  .bh-search__field label {
    font-size: 10px;
    margin-bottom: 4px;
    letter-spacing: .1em;
  }
  .bh-search__field select {
    padding: 9px 12px;
    font-size: 13px;
  }
  .bh-search__btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
  }
  .bh-grid,
  .bh-grid--featured { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bh-card__body { padding: 6px 8px; }
  .bh-card__title { font-size: 12px; margin-bottom: 2px; line-height: 1.3; }
  .bh-card__cat { font-size: 10px; }
  .bh-card__hit,
  .mod-listing-card__hit { font-size: 9px; padding: 2px 5px; gap: 2px; }
  .mod-listing-card__body { padding: 6px 8px; }
  .mod-listing-card__title { font-size: 12px; margin-bottom: 2px; line-height: 1.3; }
  .mod-listing-card__cat { font-size: 10px; }
  .bh-section { padding: 32px 15px; }
  .mod-cat-listings { padding: 16px 12px 20px; }
  .mod-cat-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .mod-cat-sort { width: 100%; }
  .mod-cat-sort .dropdown-menu {
    width: 100%;
    min-width: 0;
  }
  .bh-banner--half { min-width: 100%; }
}

/* ── User account pages ── */
.mod-account {
  padding: 32px 15px 56px;
}
.mod-account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}
.mod-account-nav__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.mod-account-nav__item:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}
.mod-account-nav__item.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}
.mod-account-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
}
.mod-account-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}
.mod-account-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
}
.mod-account-form .form-group { margin-bottom: 16px; }
.mod-account-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}
.mod-account-form .form-control {
  border-radius: var(--radius);
  border-color: var(--border);
  min-height: 42px;
  background: #fff;
  color: var(--text);
}
.mod-account-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 20px;
}
.mod-account-subnav__item {
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}
.mod-account-subnav__item.is-active,
.mod-account-subnav__item:hover {
  background: rgba(139,105,20,.1);
  color: var(--primary);
}
.mod-alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
}
.mod-alert--success { background: #edf7ed; color: #1e6b2f; border: 1px solid #b9e0c1; }
.mod-alert--danger { background: #fdecec; color: #9b1c1c; border: 1px solid #f3bcbc; }
.mod-alert--info { background: #eef4ff; color: #1f4f99; border: 1px solid #c7d9fb; }
.mod-btn-block { width: 100%; }
.mod-btn-sm { padding: 8px 14px; font-size: 13px; }
.mod-btn-danger { color: #b42318; border-color: #f3bcbc; }
.mod-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.mod-package-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--bg-soft);
}
.mod-package-card h3 { margin: 0 0 10px; font-size: 20px; }
.mod-package-features {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.mod-package-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 16px;
}
.mod-package-status {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #edf7ed;
  border: 1px solid #b9e0c1;
  margin-bottom: 20px;
  font-size: 14px;
}
.mod-package-status--pending {
  background: #fff8e6;
  border-color: #f2d59b;
}
.mod-listing-manage { display: grid; gap: 16px; }
.mod-listing-manage__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.mod-listing-manage__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.mod-listing-manage__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.mod-listing-manage__meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.mod-listing-manage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bh-card--featured {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(139,105,20,.18), var(--shadow-sm);
}
@media (max-width: 767px) {
  .mod-account-card { padding: 20px 16px; }
  .mod-listing-manage__item { grid-template-columns: 1fr; }
}

/* ── Post ad flow ── */
.mod-post-ad {
  padding: 32px 15px 56px;
}
.mod-post-ad__intro {
  margin-bottom: 20px;
}
.mod-post-ad__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.mod-post-ad__lead {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
}
.mod-post-ad__steps {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.mod-post-ad__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.mod-post-ad__step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--border-light);
  font-size: 12px;
  font-weight: 700;
}
.mod-post-ad__step.is-active {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: #fff8f8;
}
.mod-post-ad__step.is-active span {
  background: var(--burgundy);
  color: #fff;
}
.mod-post-ad__step.is-done {
  border-color: var(--primary-light);
  color: var(--primary);
}
.mod-post-ad-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
}
.mod-post-ad__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.mod-post-ad__cat-select {
  min-width: 220px;
  max-width: 280px;
  min-height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.mod-post-ad__cat-chain select {
  min-width: 200px;
  margin: 0 10px 10px 0;
}
.mod-post-ad-form .form-group { margin-bottom: 16px; }
.mod-post-ad-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}
.mod-post-ad-form .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  background: #fff;
}
.mod-post-ad-section {
  margin: 24px 0;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}
.mod-post-ad-section__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}
.mod-post-ad-radio,
.mod-post-ad-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 400;
  cursor: pointer;
}
.mod-post-ad-contact {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft, #f8f9fb);
  font-size: 14px;
}
.mod-post-ad-uploader {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #fafafa;
}
.mod-post-ad-map {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.mod-post-ad-location { margin-top: 20px; }
.mod-post-ad-rules {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.mod-btn-block { width: 100%; display: block; text-align: center; }
.mod-btn-sm { padding: 8px 14px; font-size: 13px; }

/* ── Auth polish ── */
.mod-auth--wide { max-width: 560px; }
.mod-auth-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8f0, #f3ecff);
  font-size: 24px;
}
.mod-auth-form .mod-btn-primary { margin-top: 4px; }
.mod-auth-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: -4px 0 16px;
}
.mod-auth-sms-btn {
  display: flex;
  align-items: flex-end;
  padding-bottom: 16px;
}
.mod-auth-modal {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}
.mod-auth-modal-close {
  width: auto;
  padding: 10px 24px;
}
.mod-auth .mod-alert { margin-bottom: 16px; }

@media (max-width: 767px) {
  .mod-post-ad-card { padding: 20px 16px; }
  .mod-post-ad__cat-select { min-width: 100%; max-width: 100%; }
}
