/* ==========================================================================
   JIJI EXACT DESIGN SYSTEM & NUXT REPLICA STYLES
   ========================================================================== */

:root {
  --jiji-green: #0d7a6f;
  --jiji-green-dark: #095951;
  --jiji-green-light: #e6f5f3;
  --jiji-teal-accent: #14b8a6;
  --jiji-yellow: #facc15;
  --jiji-yellow-hover: #eab308;
  --jiji-orange: #ff7000;
  --jiji-bg: #f5f7f8;
  --jiji-card-bg: #ffffff;
  --jiji-text: #1b2430;
  --jiji-text-muted: #707b8a;
  --jiji-border: #e6e9ec;
  --jiji-blue: #0d7a6f;
}

body {
  background-color: var(--jiji-bg) !important;
  color: var(--jiji-text) !important;
  font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------------------
   JIJI APP HEADER & SEARCH
   ------------------------------------------------------------- */
.b-app-header-wrapper {
  background-color: var(--jiji-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.b-app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.b-app-header__logo img {
  height: 38px;
  object-fit: contain;
}

.b-app-header-search-bar {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  display: flex;
  background: #ffffff;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.b-app-header-search-bar .location-btn {
  background: #f1f4f6;
  border: none;
  border-right: 1px solid #e2e8f0;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.b-app-header-search-bar .search-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  color: #1e293b;
}

.b-app-header-search-bar .search-btn {
  background: var(--jiji-green);
  border: none;
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.b-app-header-search-bar .search-btn:hover {
  background: var(--jiji-green-dark);
}

.b-app-header__user-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.b-app-header__signin {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.b-app-header__signin:hover {
  color: #e2e8f0;
}

.b-sell-btn {
  background: var(--jiji-yellow) !important;
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  padding: 8px 22px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  border: none !important;
  transition: transform 0.15s, background 0.15s !important;
}

.b-sell-btn:hover {
  background: var(--jiji-yellow-hover) !important;
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
   SKETCH 2: QUICK ACTION CATEGORY GRID ON HOMEPAGE
   ------------------------------------------------------------- */
.jiji-sketch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .jiji-sketch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .jiji-sketch-grid {
    grid-template-columns: 1fr;
  }
}

.jiji-sketch-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: #1e293b !important;
  border: 1px solid #e6e9ec;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.jiji-sketch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,181,63,0.12);
  border-color: var(--jiji-green);
}

.jiji-sketch-card.jiji-sketch-card--cta {
  background: linear-gradient(135deg, #ff7000, #ff9500);
  color: #ffffff !important;
  border: none;
}

.jiji-sketch-card.jiji-sketch-card--cta .sketch-icon-wrap {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

.jiji-sketch-card.jiji-sketch-card--cta .sketch-title {
  color: #ffffff !important;
  font-weight: 800;
}

.sketch-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f8f3;
  color: var(--jiji-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.sketch-card-content {
  flex: 1;
}

.sketch-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
  color: #1e293b;
}

.sketch-subtitle {
  font-size: 12px;
  color: #64748b;
}

.jiji-sketch-card--cta .sketch-subtitle {
  color: rgba(255,255,255,0.85);
}

/* -------------------------------------------------------------
   JIJI CATEGORY SIDEBAR
   ------------------------------------------------------------- */
.b-app-content__categories {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--jiji-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 8px 0;
}

.qa-channel-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none !important;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.qa-channel-category:hover, .qa-channel-category.active {
  background: #f8fafc;
  color: var(--jiji-green) !important;
  border-left-color: var(--jiji-green);
}

.qa-channel-category .cat-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.85;
}

.qa-channel-category .arrow-icon {
  margin-left: auto;
  font-size: 12px;
  color: #94a3b8;
}

/* -------------------------------------------------------------
   EXACT JIJI FEED & ADVERT CARDS
   ------------------------------------------------------------- */
.b-adverts-gallery-listing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .b-adverts-gallery-listing {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .b-adverts-gallery-listing {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.b-list-advert-base {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e9ec;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: #1e293b !important;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.b-list-advert-base:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.b-list-advert-base--top {
  border: 2px solid var(--jiji-green) !important;
}

.b-list-advert-base__img-wrap {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  background: #f1f5f9;
  overflow: hidden;
}

.b-list-advert-base__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.b-list-advert-base:hover .b-list-advert-base__img {
  transform: scale(1.04);
}

.b-list-advert-base__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.b-badge-top {
  background: var(--jiji-yellow);
  color: #1e293b;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.b-badge-verified {
  background: var(--jiji-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.b-badge-condition {
  background: rgba(0,0,0,0.65);
  color: #ffffff;
  font-weight: 600;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.b-list-advert-base__favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  z-index: 2;
}

.b-list-advert-base__favorite:hover, .b-list-advert-base__favorite.active {
  color: #ef4444;
  background: #ffffff;
}

.b-list-advert-base__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.b-list-advert-base__price {
  color: var(--jiji-green);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.b-list-advert-base__title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.b-list-advert-base__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}

.b-list-advert-base__location {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

/* -------------------------------------------------------------
   EXACT JIJI PRODUCT DETAILS PAGE
   ------------------------------------------------------------- */
.b-advert-page-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.b-breadcrumb-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
  font-size: 12px;
}

.b-breadcrumb-link {
  color: #64748b;
  text-decoration: none;
}

.b-breadcrumb-link:hover {
  color: var(--jiji-green);
}

.b-breadcrumb-separator {
  color: #cbd5e1;
  font-size: 10px;
}

.b-advert-seller-info-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 992px) {
  .b-advert-seller-info-wrapper {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
  }
}

.b-advert-card-wrapper {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--jiji-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
  margin-bottom: 20px;
}

.b-advert-carousel__main {
  width: 100%;
  height: 480px;
  background: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .b-advert-carousel__main {
    height: 320px;
  }
}

.b-advert-carousel__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.b-advert-carousel__thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #ffffff;
  overflow-x: auto;
  border-bottom: 1px solid var(--jiji-border);
}

.b-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.b-thumb-item.active {
  border-color: var(--jiji-green);
}

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

.b-advert-details-body {
  padding: 24px;
}

.b-advert-title-wrapper {
  margin-bottom: 16px;
}

.b-advert-title-wrapper h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.b-advert-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #64748b;
  font-size: 13px;
}

.b-advert-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.b-advert-price-main {
  color: var(--jiji-green);
  font-size: 28px;
  font-weight: 800;
}

.b-advert-negotiable-badge {
  background: #e6f8ed;
  color: var(--jiji-green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.b-advert-attributes--tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .b-advert-attributes--tiles {
    grid-template-columns: 1fr;
  }
}

.b-attribute-tile {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.b-attribute-tile .key {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.b-attribute-tile .value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.b-advert-description-block {
  line-height: 1.7;
  color: #334155;
  font-size: 15px;
}

/* Seller sidebar card */
.b-seller-block-outer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.b-seller-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--jiji-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 20px;
}

.b-seller-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.b-seller-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--jiji-green);
}

.b-seller-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.b-seller-badge-verified {
  color: var(--jiji-green);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.b-btn-show-contact {
  background: var(--jiji-green) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: none !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.b-btn-show-contact:hover {
  background: var(--jiji-green-dark) !important;
}

.b-btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  border: none !important;
  font-size: 15px !important;
  margin-top: 10px !important;
}

.b-btn-whatsapp:hover {
  background: #20ba59 !important;
}

.b-safety-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--jiji-border);
  padding: 16px;
}

.b-safety-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.b-safety-list {
  padding-left: 18px;
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   SKETCH 1: SELL / POST AD FORM WITH LIVE CAMERA VERIFICATION
   ------------------------------------------------------------- */
.b-post-ad-container {
  max-width: 760px;
  margin: 24px auto;
  padding: 0 16px;
}

.b-post-ad-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--jiji-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 28px;
}

.b-camera-verification-box {
  background: #0f172a;
  border-radius: 8px;
  padding: 16px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.b-camera-viewfinder {
  width: 100%;
  max-height: 340px;
  background: #000000;
  border-radius: 6px;
  object-fit: cover;
}

.b-camera-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.b-camera-snapped-grid {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.b-camera-photo-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid var(--jiji-green);
  position: relative;
}

.b-honest-condition-slider {
  width: 100%;
  accent-color: var(--jiji-green);
}

.b-btn-post-boost {
  background: var(--jiji-green) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  padding: 14px !important;
  width: 100% !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(0,181,63,0.3) !important;
  transition: background 0.2s !important;
}

.b-btn-post-boost:hover {
  background: var(--jiji-green-dark) !important;
}

/* -------------------------------------------------------------
   NIGERIA USE - BRAND TEXT LOGO & CATEGORY HOVER FIXES
   ------------------------------------------------------------- */
.brand-text-nigeria {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.brand-text-accent {
  background: rgba(255, 255, 255, 0.2);
  color: #ffe600 !important;
  font-size: 20px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ANTI-BLUE HOVER FIX: Force category links and headers to teal green hover */
a {
  color: inherit;
  text-decoration: none;
}

.b-categories-nav a,
.b-main-categories a,
.b-categories-slider a,
.jiji-sketch-card,
.jiji-sketch-card a,
.b-list-advert-base a,
.b-category-nav a,
.b-categories-nav .nav-link {
  color: var(--jiji-text) !important;
  text-decoration: none !important;
}

.b-categories-nav a:hover,
.b-main-categories a:hover,
.b-categories-slider a:hover,
.jiji-sketch-card:hover a,
.jiji-sketch-card:hover .jiji-sketch-card__title,
.b-list-advert-base a:hover,
.b-list-advert-base__title:hover,
.b-category-nav a:hover,
.b-categories-nav .nav-link:hover {
  color: var(--jiji-green) !important;
  text-decoration: none !important;
}

/* Profile Live Camera Selfie Viewfinder */
.profile-camera-box {
  background: #111827;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}
.profile-camera-video {
  width: 100%;
  max-width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--jiji-green);
  box-shadow: 0 4px 14px rgba(13, 122, 111, 0.25);
  margin: 0 auto;
  display: block;
}
.profile-preview-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--jiji-green);
  display: block;
  margin: 0 auto 12px;
}


/* ==========================================================================
   STRICT OVERRIDES: ELIMINATE BOOTSTRAP BLUE HOVER ACROSS ALL NAVIGATION
   ========================================================================== */
a, a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--jiji-green, #0d7a6f) !important;
  text-decoration: none !important;
}

/* Quick Tags in Hero (Vehicles, Property, Mobile Phones, Electronics, etc.) */
.jiji-quick-tag,
a.jiji-quick-tag,
a.jiji-quick-tag:visited {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50rem !important;
  padding: 6px 14px !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.jiji-quick-tag:hover,
a.jiji-quick-tag:hover,
.jiji-quick-tag:focus,
a.jiji-quick-tag:focus,
.jiji-quick-tag:active,
a.jiji-quick-tag:active {
  background: #ffffff !important;
  color: #0d7a6f !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none !important;
}

.jiji-quick-tag:hover i,
a.jiji-quick-tag:hover i,
.jiji-quick-tag:hover span,
a.jiji-quick-tag:hover span {
  color: #0d7a6f !important;
}

/* Sidebar Channels and Categories */
.qa-channel-category,
a.qa-channel-category,
a.qa-channel-category:visited {
  color: #2b3940 !important;
  text-decoration: none !important;
}

.qa-channel-category:hover,
a.qa-channel-category:hover,
.qa-channel-category:focus,
a.qa-channel-category:focus {
  background-color: #e6f5f3 !important;
  color: #0d7a6f !important;
  text-decoration: none !important;
}

.qa-channel-category:hover span,
a.qa-channel-category:hover span,
.qa-channel-category:hover .arrow-icon,
a.qa-channel-category:hover .arrow-icon {
  color: #0d7a6f !important;
}

/* Client Paper Sketch Cards */
.jiji-sketch-card,
a.jiji-sketch-card,
a.jiji-sketch-card:visited {
  text-decoration: none !important;
  color: #1e293b !important;
}

.jiji-sketch-card:hover,
a.jiji-sketch-card:hover {
  text-decoration: none !important;
  border-color: #0d7a6f !important;
  color: #0d7a6f !important;
}

.jiji-sketch-card:hover .sketch-title,
a.jiji-sketch-card:hover .sketch-title {
  color: #0d7a6f !important;
}

/* Breadcrumb and Pagination Links */
.breadcrumb-item a:hover {
  color: #0d7a6f !important;
  text-decoration: underline !important;
}


/* ==========================================================================
   NIGERIA USE - HEADER BUTTONS & FOOTER LINK HOVER ENHANCEMENTS
   ========================================================================== */
.jiji-header .btn-outline-light {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background-color: transparent !important;
  transition: all 0.2s ease !important;
}

.jiji-header .btn-outline-light:hover,
.jiji-header .btn-outline-light:focus {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: #ffffff !important;
}

.jiji-header .btn-jiji-sell,
.btn-jiji-sell {
  color: #ffffff !important;
}

.jiji-header .btn-jiji-sell:hover,
.btn-jiji-sell:hover {
  color: #ffffff !important;
}

/* Footer Link Hover - Lighter White & No Background Color */
.jiji-footer {
  background-color: var(--jiji-green, #0d7a6f) !important;
  color: #ffffff !important;
}

.jiji-footer a,
.jiji-footer-links a,
.jiji-footer .jiji-footer-links a {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
  background-color: transparent !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
  display: inline-block;
}

.jiji-footer a:hover,
.jiji-footer a:focus,
.jiji-footer-links a:hover,
.jiji-footer-links a:focus,
.jiji-footer .jiji-footer-links a:hover,
.jiji-footer .jiji-footer-links a:focus {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  text-decoration: underline !important;
  opacity: 1 !important;
}

.jiji-footer a.text-warning,
.jiji-footer a[href^="mailto:"],
.jiji-footer a[href^="tel:"] {
  color: #facc15 !important;
}

.jiji-footer a.text-warning:hover,
.jiji-footer a[href^="mailto:"]:hover,
.jiji-footer a[href^="tel:"]:hover {
  color: #fef08a !important;
  background: transparent !important;
  background-color: transparent !important;
  text-decoration: underline !important;
}

/* Nigeria Use - High Visibility Start Chat Button */
.b-btn-chat {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 12px 20px !important;
  background: #0d7a6f !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 8px !important;
  border: 1px solid #0d7a6f !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(13, 122, 111, 0.2) !important;
}

.b-btn-chat:hover,
.b-btn-chat:focus {
  background: #095951 !important;
  color: #ffffff !important;
  border-color: #095951 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(13, 122, 111, 0.35) !important;
  text-decoration: none !important;
}

.b-btn-chat span,
.b-btn-chat i {
  color: #ffffff !important;
}
/* Desktop Hide for Mobile Nav and Modals */
.jiji-mobile-bottom-nav { display: none !important; }
.modal:not(.show) { display: none !important; }
@media (max-width: 767px) { .jiji-mobile-bottom-nav { display: flex !important; } }

/* ==========================================================================
   USER DASHBOARD ENHANCEMENTS (EXACT REPLICA OF SCREENSHOT 1 & 2)
   ========================================================================== */

/* Inner Hero Banner (City skyline with dark overlay) */
.inner-hero {
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
  padding: 40px 0 !important;
  z-index: 1 !important;
}

.inner-hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #0c1a30 !important;
  opacity: 0.82 !important;
  z-index: -1 !important;
}

.inner-hero .page-title {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.3px !important;
}

.inner-hero .page-breadcrumb {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px !important;
}

.inner-hero .page-breadcrumb li,
.inner-hero .page-breadcrumb li a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.inner-hero .page-breadcrumb li a:hover {
  color: #43ced2 !important;
}

/* Main Dashboard section spacing */
.main-wrapper section.pt-100 {
  padding-top: 35px !important;
  padding-bottom: 60px !important;
}

/* Left Sidebar - Account Profile Card */
.account-sidebar .account-header {
  background-color: #071b34 !important;
  border-radius: 8px !important;
  padding: 20px !important;
  border: 1px solid #112d52 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.account-sidebar .account-header .thumb {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  background-color: #ffffff !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e2e8f0 !important;
}

.account-sidebar .account-header .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.account-sidebar .account-header .name {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-top: 14px !important;
  margin-bottom: 12px !important;
}

.account-sidebar .account-info-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.account-sidebar .account-info-list li {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  padding: 8px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  word-break: break-all !important;
}

.account-sidebar .account-info-list li:last-child {
  border-bottom: none !important;
}

.account-sidebar .account-info-list li i {
  color: #43ced2 !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

/* Left Sidebar - Account Menu Card */
.account-sidebar .account-menu-wrapper {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  padding: 12px 0 !important;
  margin-top: 16px !important;
}

.account-sidebar .account-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.account-sidebar .account-menu .menu-header {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 12px 20px 6px 20px !important;
  margin: 0 !important;
}

.account-sidebar .account-menu li a {
  display: flex !important;
  align-items: center !important;
  padding: 10px 20px !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border-bottom: 1px dashed #f1f5f9 !important;
  transition: all 0.2s ease !important;
}

.account-sidebar .account-menu li a:hover {
  background-color: #f8fafc !important;
  color: #0d7a6f !important;
}

.account-sidebar .account-menu li.active a {
  background-color: rgba(67, 206, 210, 0.15) !important;
  color: #002046 !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}

.account-sidebar .account-menu li a i {
  font-size: 18px !important;
  margin-right: 12px !important;
  color: #64748b !important;
  flex-shrink: 0 !important;
}

.account-sidebar .account-menu li.active a i {
  color: #0d7a6f !important;
}

/* 6 Widget Stats Cards Grid */
.widget-card {
  padding: 16px 18px !important;
  border-radius: 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.widget-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

.widget-card__header {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 8px !important;
  margin-bottom: 12px !important;
}

.widget-card__header .title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin: 0 !important;
}

.widget-card__header .view-btn {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 12px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.widget-card__content {
  flex: 1 !important;
}

.widget-card__content .widget-number {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.widget-card__icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 22px !important;
}

/* Specific Card Color Themes from Screenshot */
.widget-color--1 {
  background-color: #f3efff !important;
  border: 1px solid #d8c8ff !important;
}
.widget-color--1 .widget-card__header {
  border-bottom: 1px solid rgba(115, 103, 240, 0.2) !important;
}
.widget-color--1 .view-btn,
.widget-color--1 .widget-card__icon {
  background-color: #7367f0 !important;
}

.widget-color--5 {
  background-color: #e5faf8 !important;
  border: 1px solid #a8ece5 !important;
}
.widget-color--5 .widget-card__header {
  border-bottom: 1px solid rgba(0, 188, 212, 0.2) !important;
}
.widget-color--5 .view-btn,
.widget-color--5 .widget-card__icon {
  background-color: #00bcd4 !important;
}

.widget-color--2 {
  background-color: #eaf4ff !important;
  border: 1px solid #b3d7ff !important;
}
.widget-color--2 .widget-card__header {
  border-bottom: 1px solid rgba(30, 159, 242, 0.2) !important;
}
.widget-color--2 .view-btn,
.widget-color--2 .widget-card__icon {
  background-color: #1e9ff2 !important;
}

.widget-color--3 {
  background-color: #e6f9f6 !important;
  border: 1px solid #a8ece5 !important;
}
.widget-color--3 .widget-card__header {
  border-bottom: 1px solid rgba(0, 150, 136, 0.2) !important;
}
.widget-color--3 .view-btn,
.widget-color--3 .widget-card__icon {
  background-color: #009688 !important;
}

.widget-color--4 {
  background-color: #eafbe9 !important;
  border: 1px solid #b2f2af !important;
}
.widget-color--4 .widget-card__header {
  border-bottom: 1px solid rgba(76, 175, 80, 0.2) !important;
}
.widget-color--4 .view-btn,
.widget-color--4 .widget-card__icon {
  background-color: #4caf50 !important;
}

.widget-color--9 {
  background-color: #f3efff !important;
  border: 1px solid #d8c8ff !important;
}
.widget-color--9 .widget-card__header {
  border-bottom: 1px solid rgba(115, 103, 240, 0.2) !important;
}
.widget-color--9 .view-btn,
.widget-color--9 .widget-card__icon {
  background-color: #7367f0 !important;
}

/* ==========================================================================
   SELL BUTTON CRISP STYLING (NO YELLOW ON TEAL)
   ========================================================================== */
.jiji-header .btn-jiji-sell,
.btn-jiji-sell,
.b-sell-btn {
  background: #ffffff !important;
  color: #0d7a6f !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  padding: 8px 22px !important;
  border-radius: 6px !important;
  border: 2px solid #ffffff !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.jiji-header .btn-jiji-sell:hover,
.btn-jiji-sell:hover,
.b-sell-btn:hover {
  background: #f0fdfa !important;
  color: #095951 !important;
  border-color: #f0fdfa !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.btn-jiji-sell i,
.b-sell-btn i {
  color: #0d7a6f !important;
  font-size: 18px !important;
}

/* ==========================================================================
   SIDEBAR MENU: ICON NEXT TO TEXT (STRICT HORIZONTAL ALIGNMENT)
   ========================================================================== */
.account-sidebar .account-menu li a,
.account-menu li a {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 18px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border-bottom: 1px dashed #f1f5f9 !important;
  color: #334155 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

.account-sidebar .account-menu li a i,
.account-menu li a i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  font-size: 19px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  color: #64748b !important;
}

.account-sidebar .account-menu li a .menu-title,
.account-sidebar .account-menu li a span,
.account-menu li a .menu-title,
.account-menu li a span {
  display: inline-block !important;
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: inherit !important;
  line-height: 1.4 !important;
}

.account-sidebar .account-menu li.active a,
.account-menu li.active a {
  background-color: rgba(13, 122, 111, 0.12) !important;
  color: #0d7a6f !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}

.account-sidebar .account-menu li.active a i,
.account-menu li.active a i {
  color: #0d7a6f !important;
}

/* ==========================================================================
   FOOTER TEXT: CRISP WHITE LINKS (NO YELLOW)
   ========================================================================== */
.jiji-footer a[href^="mailto:"],
.jiji-footer a[href^="tel:"],
.jiji-footer .contact-link {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.jiji-footer a[href^="mailto:"]:hover,
.jiji-footer a[href^="tel:"]:hover,
.jiji-footer .contact-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991px) {
  .account-sidebar-open-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background-color: #071b34 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    border: none !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  }

  .account-menu-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: -320px !important;
    width: 290px !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 9999 !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25) !important;
    overflow-y: auto !important;
    transition: left 0.3s ease !important;
    padding: 20px 0 !important;
  }

  .account-menu-wrapper.active {
    left: 0 !important;
  }

  .account-sidebar-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 16px !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px !important;
  }

  .jiji-header {
    padding: 6px 0 !important;
  }

  .inner-hero {
    padding: 28px 0 !important;
  }

  .inner-hero .page-title {
    font-size: 22px !important;
  }

  .main-wrapper section.pt-100 {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  /* 6 Widget cards: Full width on phone */
  .widget-card {
    margin-bottom: 12px !important;
  }

  .widget-card__content .widget-number {
    font-size: 22px !important;
  }

  /* Fixed mobile bottom nav */
  .jiji-mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56px !important;
    background: #ffffff !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    border-top: 1px solid #e2e8f0 !important;
    z-index: 1050 !important;
    justify-content: space-around !important;
    align-items: center !important;
  }
}


/* --- USER DASHBOARD SIDEBAR ALIGNMENT FIX --- */
.account-sidebar .account-info-list,
.account-info-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.account-sidebar .account-info-list li,
.account-info-list li {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 8px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15) !important;
  width: 100% !important;
}

.account-sidebar .account-info-list li:last-child,
.account-info-list li:last-child {
  border-bottom: none !important;
}

.account-sidebar .account-info-list li i,
.account-info-list li i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  min-width: 24px !important;
  font-size: 18px !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

.account-sidebar .account-info-list li span,
.account-info-list li span {
  flex: 1 1 auto !important;
  font-size: 13px !important;
  color: #f8fafc !important;
  word-break: break-word !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.account-menu li a {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
}

.account-menu li a i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  font-size: 18px !important;
}

.account-menu li a .menu-title {
  flex: 1 1 auto !important;
  white-space: nowrap !important;
}

/* --- FIX DOUBLE ARROW ON CATEGORY AND LOCATION SELECTOR --- */
.select-menu-list li.has-drop-menu::after,
.select-menu-list li::after,
.category-row::after,
.category-row a::after,
.location-row::after,
.location-row a::after {
  display: none !important;
  content: "" !important;
}

.transition-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  color: #64748b !important;
  transition: transform 0.25s ease !important;
}

.category-row.active .transition-icon,
.location-row.active .transition-icon {
  transform: rotate(180deg) !important;
  color: var(--jiji-green, #0d7a6f) !important;
}

/* Fix: Ensure search bar dropdown shows above all content */
.b-app-header-search-bar .dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
}

.b-app-header-search-bar .location-btn.dropdown {
  position: relative;
  overflow: visible;
}

/* Fix: search bar needs border-radius on input/button since overflow is now visible */
.b-app-header-search-bar .search-btn {
  border-radius: 0 4px 4px 0;
}
.b-app-header-search-bar .location-btn {
  border-radius: 4px 0 0 4px;
}

/* Fix: Ensure all modals are above everything */
#imageRemoveModal, #purchaseModal, #deleteModal {
  z-index: 999999 !important;
}
#imageRemoveModal .modal-dialog, #purchaseModal .modal-dialog, #deleteModal .modal-dialog {
  z-index: 1000000 !important;
  position: relative !important;
}
.modal-backdrop {
  z-index: 999998 !important;
}


/* Nigeria Use Signature Teal Buttons with High-Contrast White Text on Hover */
.jiji-btn-teal {
  background-color: #0d7a6f !important;
  color: #ffffff !important;
  border: 2px solid #0d7a6f !important;
  font-weight: 800 !important;
  transition: all 0.2s ease !important;
}
.jiji-btn-teal:hover,
.jiji-btn-teal:focus,
.jiji-btn-teal:active {
  background-color: #095b53 !important;
  color: #ffffff !important;
  border-color: #095b53 !important;
  box-shadow: 0 6px 18px rgba(13, 122, 111, 0.4) !important;
}
.jiji-btn-teal * {
  color: #ffffff !important;
}
.jiji-btn-teal:hover * {
  color: #ffffff !important;
}

.jiji-btn-teal-outline {
  background-color: #ffffff !important;
  color: #0d7a6f !important;
  border: 2px solid #0d7a6f !important;
  font-weight: 800 !important;
  transition: all 0.2s ease !important;
}
.jiji-btn-teal-outline:hover,
.jiji-btn-teal-outline:focus,
.jiji-btn-teal-outline:active {
  background-color: #0d7a6f !important;
  color: #ffffff !important;
  border-color: #0d7a6f !important;
  box-shadow: 0 4px 14px rgba(13, 122, 111, 0.3) !important;
}
.jiji-btn-teal-outline:hover * {
  color: #ffffff !important;
}

.jiji-btn-teal-checkout {
  background-color: #0d7a6f !important;
  color: #ffffff !important;
  border: 2px solid #0d7a6f !important;
  transition: all 0.2s ease !important;
}
.jiji-btn-teal-checkout:hover,
.jiji-btn-teal-checkout:focus,
.jiji-btn-teal-checkout:active {
  background-color: #095b53 !important;
  color: #ffffff !important;
  border-color: #095b53 !important;
  box-shadow: 0 6px 20px rgba(13, 122, 111, 0.45) !important;
}
.jiji-btn-teal-checkout * {
  color: #ffffff !important;
}
.jiji-btn-teal-checkout:hover * {
  color: #ffffff !important;
}

/* ==========================================================================
   GLOBAL NIGERIA USE BRAND TEAL BUTTONS & ACCENTS (HIGH-CONTRAST TEXT)
   ========================================================================== */

/* 1. Solid Teal Buttons (Replaces Bright Green) */
.btn-teal,
a.btn-teal,
button.btn-teal,
.btn-success,
a.btn-success,
button.btn-success,
.btn--success,
a.btn--success,
button.btn--success,
.btn--base,
a.btn--base,
button.btn--base {
  background-color: #0d7a6f !important;
  background-image: none !important;
  border-color: #0d7a6f !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  transition: all 0.2s ease-in-out !important;
}

.btn-teal *,
a.btn-teal *,
button.btn-teal *,
.btn-success *,
a.btn-success *,
button.btn-success *,
.btn--success *,
a.btn--success *,
button.btn--success *,
.btn--base *,
a.btn--base *,
button.btn--base * {
  color: #ffffff !important;
}

/* Hover, Focus, Active for Solid Teal Buttons */
.btn-teal:hover,
a.btn-teal:hover,
button.btn-teal:hover,
.btn-teal:focus,
a.btn-teal:focus,
button.btn-teal:focus,
.btn-teal:active,
a.btn-teal:active,
button.btn-teal:active,
.btn-success:hover,
a.btn-success:hover,
button.btn-success:hover,
.btn-success:focus,
a.btn-success:focus,
button.btn-success:focus,
.btn-success:active,
a.btn-success:active,
button.btn-success:active,
.btn--success:hover,
a.btn--success:hover,
button.btn--success:hover,
.btn--base:hover,
a.btn--base:hover,
button.btn--base:hover {
  background-color: #095b53 !important;
  border-color: #095b53 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 122, 111, 0.35) !important;
  text-decoration: none !important;
}

.btn-teal:hover *,
a.btn-teal:hover *,
button.btn-teal:hover *,
.btn-success:hover *,
a.btn-success:hover *,
button.btn-success:hover *,
.btn--success:hover *,
a.btn--success:hover *,
button.btn--success:hover *,
.btn--base:hover *,
a.btn--base:hover *,
button.btn--base:hover * {
  color: #ffffff !important;
}

/* 2. Outline Teal Buttons */
.btn-outline-teal,
a.btn-outline-teal,
button.btn-outline-teal,
.btn-outline-success,
a.btn-outline-success,
button.btn-outline-success {
  background-color: transparent !important;
  border: 1.5px solid #0d7a6f !important;
  color: #0d7a6f !important;
  font-weight: 600 !important;
  transition: all 0.2s ease-in-out !important;
}

.btn-outline-teal *,
a.btn-outline-teal *,
button.btn-outline-teal *,
.btn-outline-success *,
a.btn-outline-success *,
button.btn-outline-success * {
  color: #0d7a6f !important;
  transition: color 0.2s ease-in-out !important;
}

/* Hover, Focus, Active for Outline Teal Buttons */
.btn-outline-teal:hover,
a.btn-outline-teal:hover,
button.btn-outline-teal:hover,
.btn-outline-teal:focus,
a.btn-outline-teal:focus,
button.btn-outline-teal:focus,
.btn-outline-teal:active,
a.btn-outline-teal:active,
button.btn-outline-teal:active,
.btn-outline-success:hover,
a.btn-outline-success:hover,
button.btn-outline-success:hover,
.btn-outline-success:focus,
a.btn-outline-success:focus,
button.btn-outline-success:focus,
.btn-outline-success:active,
a.btn-outline-success:active,
button.btn-outline-success:active {
  background-color: #0d7a6f !important;
  border-color: #0d7a6f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 122, 111, 0.3) !important;
  text-decoration: none !important;
}

.btn-outline-teal:hover *,
a.btn-outline-teal:hover *,
button.btn-outline-teal:hover *,
.btn-outline-success:hover *,
a.btn-outline-success:hover *,
button.btn-outline-success:hover * {
  color: #ffffff !important;
}

/* 3. Badges and Text Utilities */
.bg-teal,
.badge.bg-teal,
.bg-success,
.badge.bg-success {
  background-color: #0d7a6f !important;
  color: #ffffff !important;
}

.text-teal,
.text-success {
  color: #0d7a6f !important;
}

/* 4. Fix link hover interference on any button */
a.btn:hover,
a.btn:focus,
a.btn:active {
  text-decoration: none !important;
}

/* ==========================================================================
   MASTER COMPREHENSIVE HIGH-CONTRAST BUTTON HOVER FIX
   Ensures button text is ALWAYS ultra-clear and readable on hover everywhere
   ========================================================================== */

/* 1. Prevent global a:hover from poisoning button text color */
a.btn:hover,
a.btn:focus,
a.btn:active,
button.btn:hover,
button.btn:focus,
button.btn:active,
.btn:hover,
.btn:focus,
.btn:active,
a[class*="btn-"]:hover,
a[class*="btn--"]:hover {
  text-decoration: none !important;
}

/* 2. Solid Teal & Green Buttons - ALWAYS Crisp White Text on Resting and Hover */
.btn-teal,
a.btn-teal,
button.btn-teal,
.jiji-btn-teal,
a.jiji-btn-teal,
button.jiji-btn-teal,
.btn-success,
a.btn-success,
button.btn-success,
.btn--success,
a.btn--success,
button.btn--success,
.btn--base,
a.btn--base,
button.btn--base,
.b-btn-post-boost,
.jiji-btn-teal-checkout {
  background-color: #0d7a6f !important;
  border-color: #0d7a6f !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  transition: all 0.2s ease-in-out !important;
}

.btn-teal *,
a.btn-teal *,
button.btn-teal *,
.jiji-btn-teal *,
a.jiji-btn-teal *,
button.jiji-btn-teal *,
.btn-success *,
a.btn-success *,
button.btn-success *,
.btn--success *,
a.btn--success *,
button.btn--success *,
.btn--base *,
a.btn--base *,
button.btn--base *,
.b-btn-post-boost *,
.jiji-btn-teal-checkout * {
  color: #ffffff !important;
}

.btn-teal:hover,
a.btn-teal:hover,
button.btn-teal:hover,
.btn-teal:focus,
a.btn-teal:focus,
button.btn-teal:focus,
.btn-teal:active,
a.btn-teal:active,
button.btn-teal:active,
.jiji-btn-teal:hover,
a.jiji-btn-teal:hover,
button.jiji-btn-teal:hover,
.btn-success:hover,
a.btn-success:hover,
button.btn-success:hover,
.btn--success:hover,
a.btn--success:hover,
button.btn--success:hover,
.btn--base:hover,
a.btn--base:hover,
button.btn--base:hover,
.b-btn-post-boost:hover,
.jiji-btn-teal-checkout:hover {
  background-color: #095b53 !important;
  border-color: #095b53 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 122, 111, 0.4) !important;
}

.btn-teal:hover *,
a.btn-teal:hover *,
button.btn-teal:hover *,
.jiji-btn-teal:hover *,
a.jiji-btn-teal:hover *,
button.jiji-btn-teal:hover *,
.btn-success:hover *,
a.btn-success:hover *,
button.btn-success:hover *,
.btn--success:hover *,
a.btn--success:hover *,
button.btn--success:hover *,
.btn--base:hover *,
a.btn--base:hover *,
button.btn--base:hover *,
.b-btn-post-boost:hover *,
.jiji-btn-teal-checkout:hover * {
  color: #ffffff !important;
}

/* 3. Outline Teal Buttons - White Text on Solid Teal on Hover */
.btn-outline-teal,
a.btn-outline-teal,
button.btn-outline-teal,
.jiji-btn-teal-outline,
a.jiji-btn-teal-outline,
button.jiji-btn-teal-outline,
.btn-outline-success,
a.btn-outline-success,
button.btn-outline-success {
  background-color: transparent !important;
  border: 1.5px solid #0d7a6f !important;
  color: #0d7a6f !important;
  font-weight: 700 !important;
  transition: all 0.2s ease-in-out !important;
}

.btn-outline-teal *,
a.btn-outline-teal *,
button.btn-outline-teal *,
.jiji-btn-teal-outline *,
a.jiji-btn-teal-outline *,
button.jiji-btn-teal-outline *,
.btn-outline-success *,
a.btn-outline-success *,
button.btn-outline-success * {
  color: #0d7a6f !important;
}

.btn-outline-teal:hover,
a.btn-outline-teal:hover,
button.btn-outline-teal:hover,
.btn-outline-teal:focus,
a.btn-outline-teal:focus,
button.btn-outline-teal:focus,
.btn-outline-teal:active,
a.btn-outline-teal:active,
button.btn-outline-teal:active,
.jiji-btn-teal-outline:hover,
a.jiji-btn-teal-outline:hover,
button.jiji-btn-teal-outline:hover,
.btn-outline-success:hover,
a.btn-outline-success:hover,
button.btn-outline-success:hover {
  background-color: #0d7a6f !important;
  border-color: #0d7a6f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 122, 111, 0.35) !important;
}

.btn-outline-teal:hover *,
a.btn-outline-teal:hover *,
button.btn-outline-teal:hover *,
.jiji-btn-teal-outline:hover *,
a.jiji-btn-teal-outline:hover *,
button.jiji-btn-teal-outline:hover *,
.btn-outline-success:hover *,
a.btn-outline-success:hover *,
button.btn-outline-success:hover * {
  color: #ffffff !important;
}

/* 4. Table Badges - Permanent High-Contrast Guaranteed Display */
.badge-active-teal {
  display: inline-block !important;
  background-color: #0d7a6f !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  box-shadow: 0 2px 6px rgba(13,122,111,0.25) !important;
}

.badge-promoted-blue {
  display: inline-block !important;
  background-color: #0284c7 !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  box-shadow: 0 2px 6px rgba(2,132,199,0.25) !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ADVERT PAGE OVERFLOW FIXES (NIGERIA USE EXACT)
   ========================================================================== */

/* 1. Global Viewport & Container Containment */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

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

.main-wrapper {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

img {
  max-width: 100%;
  height: auto;
}

/* 2. Header Breathing Room - Logo, Sign In & SELL Coexistence */
.jiji-header {
  width: 100% !important;
}

.jiji-header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1200px !important;
}

.jiji-brand {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.brand-text-nigeria {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.btn-jiji-signin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: all 0.2s ease !important;
}

.btn-jiji-signin:hover,
.btn-jiji-signin:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.btn-jiji-signin i {
  font-size: 16px !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .brand-text-nigeria {
    font-size: 20px !important;
    gap: 4px !important;
  }
  .brand-text-accent {
    font-size: 15px !important;
    padding: 2px 6px !important;
  }
}

@media (max-width: 575px) {
  .jiji-header {
    padding: 7px 0 !important;
  }
  .jiji-header .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .brand-text-nigeria {
    font-size: 18px !important;
    gap: 4px !important;
  }
  .brand-text-accent {
    font-size: 13px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
  }
  .btn-jiji-signin {
    padding: 6px 10px !important;
    font-size: 12px !important;
    gap: 3px !important;
    border-radius: 5px !important;
    border-width: 1.2px !important;
  }
  .btn-jiji-signin i {
    font-size: 14px !important;
  }
  .jiji-header .btn-jiji-sell,
  .btn-jiji-sell {
    padding: 6px 12px !important;
    font-size: 12px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    border-radius: 5px !important;
    border-width: 1.5px !important;
  }
  .jiji-header .btn-jiji-sell i,
  .btn-jiji-sell i {
    font-size: 15px !important;
  }
}

@media (max-width: 360px) {
  .brand-text-nigeria {
    font-size: 16px !important;
    gap: 3px !important;
  }
  .brand-text-accent {
    font-size: 11px !important;
    padding: 1px 4px !important;
  }
  .btn-jiji-signin {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
  .jiji-header .btn-jiji-sell,
  .btn-jiji-sell {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }
}

/* 3. Product Details Page Container & Grid Containment */
.b-advert-page-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
}

.b-advert-page-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.b-breadcrumb-wrapper {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px 6px !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
  font-size: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.b-breadcrumb-wrapper li {
  max-width: 100% !important;
}

.b-advert-seller-info-wrapper {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .b-advert-seller-info-wrapper {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}

.b-advert-item-wrapper,
.b-seller-block-outer {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.b-advert-card-wrapper,
.b-seller-card,
.b-safety-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.b-btn-whatsapp,
.b-btn-show-contact,
.b-sell-btn {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  .b-advert-page-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .b-advert-page-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .b-advert-carousel__main {
    height: 300px !important;
  }
  .b-advert-details-body {
    padding: 14px 12px !important;
  }
  .b-advert-title-wrapper h1 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .b-advert-meta-bar {
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    font-size: 12px !important;
  }
  .b-advert-price-box {
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    align-items: center !important;
  }
  .b-advert-price-main {
    font-size: 22px !important;
  }
}

@media (max-width: 480px) {
  .b-advert-carousel__main {
    height: 240px !important;
  }
  .b-thumb-item {
    width: 56px !important;
    height: 56px !important;
  }
  .b-advert-carousel__main .b-list-advert-base__badges {
    top: 8px !important;
    left: 8px !important;
    gap: 3px !important;
    max-width: 80% !important;
  }
  .b-advert-carousel__main .b-list-advert-base__badges span {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
}

.b-advert-attributes--tiles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

@media (max-width: 576px) {
  .b-advert-attributes--tiles {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }
}

.b-attribute-tile {
  min-width: 0 !important;
  overflow: hidden !important;
}

.b-attribute-tile .value {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.b-advert-description-block {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

@media (max-width: 575px) {
  .b-seller-card {
    padding: 14px !important;
  }
  .b-seller-avatar {
    width: 48px !important;
    height: 48px !important;
  }
  .b-btn-whatsapp,
  .b-btn-show-contact {
    padding: 11px 16px !important;
    font-size: 14px !important;
  }
  .b-seller-card .b-advert-price-main {
    font-size: 24px !important;
  }
}

/* 4. Responsive 2-Column Advert Grid on Mobile (Native App Feel) */
.b-adverts-gallery-listing {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

.b-adverts-gallery-listing--col3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
}

@media (max-width: 1200px) {
  .b-adverts-gallery-listing {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .b-adverts-gallery-listing,
  .b-adverts-gallery-listing--col3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .b-adverts-gallery-listing,
  .b-adverts-gallery-listing--col3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .b-list-advert-base {
    min-width: 0 !important;
  }
  .b-list-advert-base__body {
    padding: 8px 10px !important;
  }
  .b-list-advert-base__price {
    font-size: 14px !important;
    margin-bottom: 2px !important;
  }
  .b-list-advert-base__title {
    font-size: 12px !important;
    height: 32px !important;
    margin-bottom: 4px !important;
  }
  .b-list-advert-base__footer {
    font-size: 10px !important;
  }
  .b-list-advert-base__badges {
    top: 6px !important;
    left: 6px !important;
    gap: 2px !important;
  }
  .b-badge-top,
  .b-badge-verified,
  .b-badge-condition {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }
  .b-list-advert-base__favorite {
    width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
    top: 6px !important;
    right: 6px !important;
  }
}

/* 5. Mobile Search Bar & Form Padding */
@media (max-width: 575px) {
  .b-app-header-search-bar {
    margin: 0 !important;
    width: 100% !important;
  }
  .b-app-header-search-bar .location-btn {
    padding: 0 8px !important;
    font-size: 11px !important;
    max-width: 95px !important;
  }
  .b-app-header-search-bar .location-btn span {
    max-width: 60px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .b-app-header-search-bar .search-input {
    padding: 8px 10px !important;
    font-size: 13px !important;
    min-width: 0 !important;
  }
  .b-app-header-search-bar .search-btn {
    padding: 0 12px !important;
  }
  .account-wrapper .left,
  .account-wrapper .right,
  .contact-form-wrapper {
    padding: 20px 14px !important;
  }
  .post-ad-section-box {
    padding: 14px !important;
  }
}

/* ==========================================================================
   FINAL MOD 1: CUSTOMER CARE HEADER PHONE
   ========================================================================== */
.jiji-header-phone {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 4px 12px;
  color: #ffffff !important;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.jiji-header-phone:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #facc15;
  color: #facc15 !important;
}
.jiji-phone-icon-wrap {
  width: 28px;
  height: 28px;
  background: #facc15;
  color: #0d7a6f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.jiji-phone-tag {
  font-size: 9px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #d1fae5;
  font-weight: 600;
}
.jiji-phone-num {
  font-size: 13px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
}
@media (max-width: 767px) {
  .jiji-header-phone {
    padding: 3px 8px;
  }
  .jiji-phone-icon-wrap {
    width: 24px;
    height: 24px;
    font-size: 13px;
    margin-right: 5px;
  }
  .jiji-phone-tag {
    display: none !important;
  }
  .jiji-phone-num {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .jiji-header-phone {
    padding: 2px 6px;
  }
  .jiji-phone-num {
    font-size: 10px;
  }
}

/* ==========================================================================
   FINAL MOD 2 & MOD 3: 3 PER ROW REALISTIC TABS GRID (Client Spec)
   ========================================================================== */
.jiji-3x3-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.jiji-realistic-tile {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none !important;
  color: #0f172a !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}
.jiji-realistic-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(13, 122, 111, 0.16);
  border-color: #009c36;
}
.jiji-realistic-tile--sell {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%) !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.16) !important;
}
.jiji-realistic-tile--sell:hover {
  border-color: #059669 !important;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.24) !important;
}
.jiji-realistic-tile .tile-img-box {
  width: 120px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04), 0 2px 6px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.jiji-realistic-tile .tile-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.jiji-realistic-tile:hover .tile-img-box img {
  transform: scale(1.08);
}
.jiji-realistic-tile .tile-title-text {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  min-height: 44px;
  height: auto;
  word-break: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -0.2px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .jiji-3x3-tabs-grid {
    gap: 12px !important;
  }
  .jiji-realistic-tile {
    padding: 14px 8px 14px !important;
    border-radius: 12px !important;
  }
  .jiji-realistic-tile .tile-img-box {
    width: 105px !important;
    height: 95px !important;
    margin-bottom: 9px !important;
  }
  .jiji-realistic-tile .tile-title-text {
    font-size: 16px !important;
    font-weight: 800 !important;
    min-height: 42px !important;
  }
}
@media (max-width: 767px) {
  .jiji-3x3-tabs-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 7px !important;
    margin-bottom: 25px !important;
    width: 100% !important;
  }
  .jiji-realistic-tile {
    padding: 10px 3px 10px !important;
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    min-height: 160px !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    background: #ffffff !important;
  }
  .jiji-realistic-tile:active {
    transform: scale(0.97) !important;
  }
  .jiji-realistic-tile .tile-img-box {
    width: 92px !important;
    height: 82px !important;
    margin-bottom: 8px !important;
    border-radius: 11px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
  }
  .jiji-realistic-tile .tile-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 11px !important;
  }
  .jiji-realistic-tile .tile-title-text {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #0f172a !important;
    min-height: 42px !important;
    height: auto !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
  }
  .jiji-realistic-tile--sell .tile-title-text {
    color: #047857 !important;
    font-weight: 900 !important;
    font-size: 15.5px !important;
  }
  .home-trending-feed-header {
    margin-top: 55px !important;
    padding-top: 30px !important;
  }
}
@media (max-width: 375px) {
  .jiji-3x3-tabs-grid {
    gap: 5px !important;
  }
  .jiji-realistic-tile {
    padding: 8px 3px 8px !important;
    min-height: 145px !important;
  }
  .jiji-realistic-tile .tile-img-box {
    width: 82px !important;
    height: 74px !important;
    margin-bottom: 6px !important;
    border-radius: 9px !important;
  }
  .jiji-realistic-tile .tile-img-box img {
    border-radius: 9px !important;
  }
  .jiji-realistic-tile .tile-title-text {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    min-height: 36px !important;
  }
  .jiji-realistic-tile--sell .tile-title-text {
    font-size: 14px !important;
  }
}

/* ==========================================================================
   FINAL MOD 5: 2x2 LISTING OUTPUTS & SELLER SELFIE / QUESTION MARK
   ========================================================================== */
.b-adverts-gallery-listing {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
}

@media (max-width: 575px) {
  .b-adverts-gallery-listing {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .b-list-advert-base__body {
    padding: 8px 8px !important;
  }
  .b-list-advert-base__price {
    font-size: 14px !important;
    margin-bottom: 2px !important;
  }
  .b-list-advert-base__title {
    font-size: 12px !important;
    height: 32px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }
}

.seller-card-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-block;
}

.seller-card-avatar--verified {
  border: 1.5px solid #00b53f;
  box-shadow: 0 0 0 1px rgba(0, 181, 63, 0.25);
}

.seller-card-avatar--unverified {
  background: #f1f5f9;
  border: 1.5px dashed #94a3b8;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.seller-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  max-width: 140px;
}
