/* 
   AntiqueLanka Redesign Theme Stylesheet
   Design Paradigm: Enterprise classifieds (ikman.lk structure) + Premium Antique Aesthetic (slate navy & gold)
*/

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --gold-700: #d97706;
  --gold-600: #ea580c;
  --gold-500: #f59e0b;
  --gold-100: #fef3c7;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Font Override for Home Page */
#body-home {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  background-color: #f8fafc !important;
  color: var(--slate-800) !important;
}

/* Global Body Spacing & Background for Fixed Header */
/* Global Body Spacing & Background for Fixed Header */
body {
  padding-top: 68px !important;
  background-color: #f8fafc !important;
}

/* Header Adjustments for Enterprise & Industrial Modern Look */
#header-bar {
  background: #0b1329 !important; /* Rich Obsidian Slate Navy */
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  height: 68px !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
  font-family: 'Outfit', sans-serif !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
}

#header-bar .inside {
  max-width: 1320px !important;
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* 1. Brand Logo Container (Fixes square logo issue) */
#header-bar .middle-block.logo {
  margin: 0 28px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

#header-bar .logo a {
  height: 44px !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#header-bar .logo img {
  position: static !important;
  height: 42px !important;
  width: auto !important;
  max-height: 44px !important;
  max-width: 220px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) !important;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}

/* Text Logo Fallback */
#header-bar .logo a span,
#header-bar .logo-text {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
  text-transform: uppercase !important;
}

/* 2. Navigation Links (Center) */
#header-bar .left-block {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 68px !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

#header-bar .le-btn {
  color: #94a3b8 !important;
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 20px !important;
  border-bottom: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  float: none !important;
  line-height: normal !important;
  text-decoration: none !important;
  background: transparent !important;
}

/* Strictly hide duplicate search icons across all resolutions */
#header-bar .le-btn.search,
#header-bar .search.is767 {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#header-bar .le-btn i {
  color: #64748b !important;
  font-size: 15px !important;
  float: none !important;
  margin: 0 !important;
  line-height: 1 !important;
  transition: all 0.25s ease !important;
}

#header-bar .le-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#header-bar .le-btn:hover i {
  color: var(--gold-500) !important;
}

#header-bar .le-btn.active {
  color: #ffffff !important;
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

#header-bar .le-btn.active i {
  color: var(--gold-500) !important;
}

/* Badge counters */
#header-bar .le-btn em.counter {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  margin-left: 2px !important;
  line-height: 1 !important;
  height: auto !important;
  width: auto !important;
}

/* Language Selector */
#header-bar .language #lang-open-box .le-btn {
  height: 38px !important;
  border-radius: 19px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 3. Right Actions Block */
#header-bar .right-block {
  margin-left: auto !important;
  height: 68px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  float: none !important;
  width: auto !important;
  gap: 16px !important;
}

/* Integrated Search Field */
#header-bar .search-top {
  width: 240px !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

#header-bar .search-top:focus-within {
  width: 280px !important;
}

#header-bar .search-top input[type="text"] {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  height: 40px !important;
  border-radius: 20px !important;
  padding: 0 42px 0 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

#header-bar .search-top input[type="text"]::placeholder {
  color: #64748b !important;
}

#header-bar .search-top input[type="text"]:focus {
  background: #ffffff !important;
  color: var(--slate-900) !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25) !important;
  outline: none !important;
}

#header-bar .search-top button {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: #64748b !important;
  padding: 0 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  transition: color 0.2s !important;
}

#header-bar .search-top input[type="text"]:focus + button {
  color: var(--gold-700) !important;
}

/* User Profile Ring */
#header-bar .user-header-block {
  position: relative !important;
}

#header-bar .picture,
#header-bar .picture.user-logged-btn {
  margin: 0 !important;
  width: auto !important;
  height: 42px !important;
  border-radius: 24px !important;
  padding: 0 14px 0 5px !important;
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

#header-bar .picture:hover,
#header-bar .picture.user-logged-btn:hover {
  border-color: var(--gold-500) !important;
  background: rgba(245, 158, 11, 0.2) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
}

#header-bar .picture img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

#header-bar .picture .uname-text {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  max-width: 120px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#header-bar .picture i.fa-angle-down {
  color: var(--gold-700) !important;
  font-size: 14px !important;
}

#header-bar .le-login-link {
  color: #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 8px 14px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.25s ease !important;
}

#header-bar .le-login-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

#header-bar .le-login-link i {
  color: var(--gold-500) !important;
  font-size: 15px !important;
}

/* CTA "Post Your Ad" Button */
#header-bar .publish {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 21px !important;
  padding: 0 20px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
}

#header-bar .publish:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5) !important;
  color: #ffffff !important;
}

/* Header link counters */
#header-bar .le-btn em.counter {
  position: static !important;
  display: inline-block !important;
  background: var(--gold-500) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  height: 16px !important;
  min-width: 16px !important;
  line-height: 16px !important;
  padding: 0 4px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin-left: 4px !important;
}

/* Language selector open/dropdown styles */
#header-bar #lang-open-box {
  position: relative !important;
}
#header-bar #lang-wrap {
  top: 55px !important;
  border-radius: 10px !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  z-index: 1000 !important;
}
#header-bar #lang-box li a {
  font-family: 'Outfit', sans-serif !important;
  color: var(--slate-700) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 16px !important;
  transition: all 0.2s !important;
}
#header-bar #lang-box li a:hover {
  background: var(--slate-100) !important;
  color: var(--slate-900) !important;
}

/* Eliminate original layout properties on homepage only */
#body-home #sub-nav, #body-home #header-line {
  display: none !important;
}

/* Modern Wrapper */
.homepage-modern-wrapper {
  width: 100%;
  margin-top: 0; /* Already accounted for by body padding */
}

/* Modern Hero Section */
.modern-hero {
  position: relative;
  background: linear-gradient(135deg, var(--slate-900) 0%, #0b0f19 100%);
  padding: 130px 20px;
  text-align: center;
  overflow: hidden;
}
.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.75) 100%) !important;
  z-index: 2 !important;
  pointer-events: none;
}
.hero-content {
  position: relative !important;
  z-index: 3 !important;
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Section Background Slider */
.modern-hero #sliders {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.modern-hero #sliders .rslides_container,
.modern-hero #sliders #slider,
.modern-hero #sliders #slider li {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow: hidden !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}
.modern-hero #sliders #slider img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
/* Hide duplicate pager / controls inside hero background */
.modern-hero #sliders #side-pager,
.modern-hero #sliders .side-pager,
.modern-hero #sliders .caption {
  display: none !important;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 19px;
  color: #cbd5e1;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Glassmorphism Search Panel */
.hero-search-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  max-width: 850px;
  margin: 0 auto;
}
.hero-search-panel form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  background: var(--slate-50);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.search-field:focus-within {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
  background: #ffffff;
}
.search-field i {
  position: absolute;
  left: 16px;
  color: var(--slate-700);
  font-size: 18px;
  pointer-events: none;
}
.search-field input {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  padding: 10px 16px 10px 48px !important;
  font-size: 15px !important;
  color: var(--slate-900) !important;
  box-shadow: none !important;
}
.query-field {
  flex: 5;
}
.location-field {
  flex: 4;
}
.hero-search-btn {
  flex: 2;
  height: 54px;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}
.hero-search-btn i {
  margin-right: 8px;
  font-size: 16px;
}

/* JQuery Autocomplete Override in Hero */
.hero-search-panel #location-picker {
  border: none;
  background: transparent;
  width: 100%;
}
.hero-search-panel #location-picker .term {
  padding-left: 48px !important;
  height: 54px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}
.hero-search-panel #location-picker:after {
  display: none !important;
}
.hero-search-panel #location-picker .shower-wrap {
  top: 60px;
  left: 0;
  width: 100%;
  text-align: left;
}
.hero-search-panel #location-picker .shower {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}
.hero-search-panel #location-picker .loader {
  right: 16px;
  top: 18px;
}

/* Category & Location Hub Section */
.hub-section {
  padding: 60px 0;
  background: #f8fafc;
}
.hub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
}
.categories-panel {
  flex: 7;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}
.locations-panel {
  flex: 5;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}
.panel-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--slate-100);
  padding-bottom: 12px;
}
.panel-title i {
  color: var(--gold-700);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.category-card {
  display: flex;
  align-items: center;
  background: var(--slate-50);
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: #fde68a;
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.06);
}
.category-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.category-card:hover .category-icon-wrapper {
  background: var(--gold-700);
  color: #ffffff;
}
.category-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.category-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 2px;
}
.category-count {
  font-size: 12px;
  color: var(--slate-700);
}
.category-card .arrow-icon {
  color: #cbd5e1;
  font-size: 12px;
  transition: all 0.2s;
}
.category-card:hover .arrow-icon {
  color: var(--gold-700);
  transform: translateX(3px);
}

/* Location list styling */
.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.location-chip {
  display: inline-flex;
  align-items: center;
  background: var(--slate-50);
  border: 1px solid #f1f5f9;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--slate-700);
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.2s ease;
}
.location-chip:hover {
  background: var(--gold-100);
  color: var(--gold-700);
  border-color: #fde68a;
  transform: scale(1.03);
}
.loc-count {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 11px;
  font-weight: bold;
  border-radius: 100px;
  padding: 2px 8px;
  margin-left: 8px;
  transition: all 0.2s;
}
.location-chip:hover .loc-count {
  background: var(--gold-700);
  color: #ffffff;
}
.all-locations-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: var(--slate-50);
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  text-align: center;
  text-decoration: none !important;
  color: var(--slate-900);
  font-weight: 600;
  transition: all 0.2s;
  display: block;
}
.all-locations-btn:hover {
  background: #ffffff;
  border-color: var(--gold-700);
  color: var(--gold-700);
}

/* Latest Listings Section Grid */
.latest-listings-section {
  padding: 60px 0 80px 0;
  background: #ffffff;
}
.latest-listings-section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-header {
  margin-bottom: 35px;
  text-align: center;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.title-underline {
  width: 60px;
  height: 4px;
  background: var(--gold-700);
  margin: 0 auto;
  border-radius: 100px;
}

/* Listings Cards Grid Override */
.latest-listings-section .block {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.latest-listings-section .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* loop-single card overrides */
.simple-prod {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.simple-prod:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: #cbd5e1 !important;
}
.simple-prod .simple-wrap {
  padding: 0 !important;
  border: none !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.simple-prod .item-details-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.simple-prod .category {
  padding: 16px 16px 4px 16px !important;
  margin: 0 !important;
}
.simple-prod .category span {
  font-size: 11px !important;
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  display: inline-block !important;
}
.simple-prod .title {
  padding: 0 16px 10px 16px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  line-height: 1.4 !important;
  height: 48px !important;
  overflow: hidden !important;
  display: block !important;
  text-decoration: none !important;
  margin: 0 !important;
}
.simple-prod .title:hover {
  color: var(--gold-700) !important;
}

.simple-prod .item-img-wrap {
  margin: 0 !important;
  height: 180px !important;
  overflow: hidden !important;
  position: relative !important;
  background-color: var(--slate-50) !important;
}
.simple-prod .item-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}
.simple-prod:hover .item-img-wrap img {
  transform: scale(1.06) !important;
}

.simple-prod .labels {
  top: 10px !important;
  left: 10px !important;
  z-index: 5 !important;
}
.simple-prod .labels .label {
  border-radius: 4px !important;
  font-size: 10px !important;
  padding: 3px 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}
.simple-prod .labels .premium-label {
  background: var(--gold-700) !important;
}
.simple-prod .labels .sold-label {
  background: var(--slate-900) !important;
}

.simple-prod .middle {
  padding: 12px 16px 4px 16px !important;
  margin: 0 !important;
  border: none !important;
  height: auto !important;
}
.simple-prod .location {
  font-size: 12px !important;
  color: var(--slate-700) !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.simple-prod .location:before {
  content: "\f041" !important;
  font-family: "FontAwesome" !important;
  color: var(--gold-700) !important;
  font-size: 13px !important;
}

.simple-prod .description {
  display: none !important; /* Hide description snippets for a clean enterprise grid */
}

.simple-prod .bottom {
  padding: 8px 16px 16px 16px !important;
  margin-top: auto !important;
  border-top: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  height: auto !important;
}
.simple-prod .price {
  margin: 0 !important;
  float: none !important;
  text-align: left !important;
}
.simple-prod .price span {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--emerald-600) !important;
}

/* See all offers button */
.home-see-all {
  margin-top: 40px !important;
  text-align: center !important;
  float: none !important;
  width: 100% !important;
}
.home-see-all a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--slate-900) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  box-shadow: var(--shadow-md) !important;
}
.home-see-all a:hover {
  background: var(--gold-700) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
}
.home-see-all i {
  display: none !important; /* Hide standard arrow icon */
}

/* Trust Section */
.trust-section {
  background: var(--slate-900);
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
}
.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.trust-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 100px;
  background: rgba(217, 119, 6, 0.15);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 15px;
}
.trust-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.trust-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Bottom Promo Section */
.promo-section {
  padding: 60px 20px;
  background: #f8fafc;
}
.promo-banner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gold-700) 0%, var(--gold-500) 100%);
  border-radius: 16px;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}
.promo-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.promo-text p {
  font-size: 16px;
  opacity: 0.9;
}
.promo-btn {
  background: var(--slate-900);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
}
.promo-btn:hover {
  background: #ffffff;
  color: var(--slate-900) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Enterprise Footer styling */
#footer {
  background-color: var(--slate-900) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 40px 0 20px 0 !important;
  color: #94a3b8 !important;
}
#footer .inside {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding: 0 20px !important;
}
#footer .left {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  justify-content: center !important;
  padding: 0 !important;
  float: none !important;
}
#footer a {
  color: #94a3b8 !important;
  font-size: 14px !important;
}
#footer a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}
#footer .right.share {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  float: none !important;
}
#footer .share > span > a {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}
#footer .share > span > a:hover {
  background: var(--gold-700) !important;
  color: #ffffff !important;
  border-color: var(--gold-700) !important;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .latest-listings-section .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-container {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-search-panel form {
    flex-direction: column;
    align-items: stretch;
  }
  .search-field {
    width: 100%;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .trust-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px;
  }
  .latest-listings-section .wrap {
    grid-template-columns: 1fr;
  }
  #header-bar .search-top, #header-bar .le-btn span {
    display: none !important;
  }
}

/* ULTIMATE UNBEATABLE OVERRIDE FOR FORM INPUT ICON PADDING & ALIGNMENT */
html body #contact-wrap input#yourName,
html body #contact-wrap input#yourEmail,
html body #contact-wrap input#subject,
html body #contact-wrap .input-box input,
html body .input-box input[type="text"],
html body .input-box input[type="email"],
html body .input-box input[type="password"],
html body .input-box input {
  padding-left: 48px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

html body #contact-wrap .input-box i,
html body .input-box i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* 
   =========================================
   SEARCH PAGE & SIDEBAR REFINEMENTS
   =========================================
*/

#body-search {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  background-color: #f8fafc !important;
}

/* Page Header Line for Search and Custom Pages */
#header-line {
  background: #ffffff !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  margin-top: 0 !important; /* Flush under fixed header */
  text-align: left !important;
}
#header-line .inside {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}
#header-line h1 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--slate-900) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Search Page layout adjustments */
#body-search .content.list {
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
  display: flex !important;
  gap: 30px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#body-search #main.search {
  flex: 8 !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
#body-search #sidebar {
  flex: 4 !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Search view container */
#search-items {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}
#body-search .white {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Scoping listing loops grid inside homepage container vs search page gallery */
.latest-listings-section .simple-prod,
.hc-premiums .simple-prod {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* SEARCH GALLERY GRID VIEW - Clean 3 Columns */
.white.gallery .search-items-wrap .wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  float: none !important;
  width: 100% !important;
}
.white.gallery .search-items-wrap .simple-prod {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.white.gallery .simple-prod .description {
  display: none !important;
}

/* SEARCH LIST VIEW - Highly Professional Classifieds Row Style */
.white.list .search-items-wrap .wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  float: none !important;
  width: 100% !important;
}
.white.list .search-items-wrap .simple-prod {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
}
.white.list .search-items-wrap .simple-prod:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.white.list .simple-prod .simple-wrap {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  padding: 20px !important;
  height: auto !important;
  align-items: stretch !important;
}

.white.list .simple-prod .item-img-wrap {
  width: 200px !important;
  height: 140px !important;
  flex-shrink: 0 !important;
  border-radius: 10px !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}
.white.list .simple-prod .item-details-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.white.list .simple-prod .category {
  padding: 0 !important;
  margin: 0 !important;
}
.white.list .simple-prod .title {
  padding: 0 !important;
  height: auto !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.white.list .simple-prod .description {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.white.list .simple-prod .description .text {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--slate-700) !important;
  height: auto !important;
}
.white.list .simple-prod .description .img {
  display: none !important; /* Hide public avatar in general list layout */
}
.white.list .simple-prod .middle {
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}
.white.list .simple-prod .bottom {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  margin-top: auto !important; /* Push price tag to bottom */
  display: flex !important;
  align-items: center !important;
}
.white.list .simple-prod .bottom .price span {
  font-size: 19px !important;
  font-weight: 800 !important;
}

/* Sub-nav / Controls Styling on Search Page */
#body-search #sub-nav {
  display: block !important;
  background: transparent !important;
  border-bottom: none !important;
  padding: 12px 0 0 0 !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}
#body-search #sub-nav .inside {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
#body-search #sub-nav #cat-link {
  display: none !important; /* Hide category listing headers in subnav */
}
#body-search #sub-nav .control {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  width: auto !important;
}
#body-search #sub-nav .control .list-grid {
  display: flex !important;
  align-items: center !important;
}
#body-search #sub-nav .control .list-grid a {
  width: 36px !important;
  height: 36px !important;
  line-height: 34px !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--slate-700) !important;
  background-color: #ffffff !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}
#body-search #sub-nav .control .list-grid a:hover,
#body-search #sub-nav .control .list-grid a.active {
  background: var(--slate-900) !important;
  color: #ffffff !important;
  border-color: var(--slate-900) !important;
}

/* Sort dropdown styling */
#body-search #sub-nav .control .sort-it {
  margin: 0 !important;
}
#body-search #sub-nav .control .sort-it .sort-title .title-keep {
  background: #ffffff !important;
  color: var(--slate-900) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 36px !important;
  padding: 8px 16px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
}
#body-search #sub-nav .control .sort-it .sort-title .title-keep span {
  font-size: 13px !important;
}
#body-search #sub-nav .control .sort-it .sort-title:hover .title-keep {
  background: var(--slate-900) !important;
  color: #ffffff !important;
  border-color: var(--slate-900) !important;
}
#body-search #sub-nav .control .sort-it #sort-wrap {
  top: 36px !important;
  width: 200px !important;
}
#body-search #sub-nav .control .sort-it .sort-content {
  border: 1px solid #cbd5e1 !important;
  box-shadow: var(--shadow-lg) !important;
}
#body-search #sub-nav .control .sort-it .sort-content a:hover {
  background: var(--gold-700) !important;
}

/* Search Sidebar Form styling */
#sidebar-search {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 25px !important;
  box-shadow: var(--shadow-sm) !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
}
#sidebar-search .side-cat {
  margin-bottom: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#sidebar-search .side-cat h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  border-bottom: 2px solid var(--slate-100) !important;
  padding-bottom: 10px !important;
  margin-bottom: 15px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
#sidebar-search .side-cat h3 .gotop {
  font-size: 11px !important;
  text-transform: uppercase !important;
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
#sidebar-search .side-cat .inside a {
  display: flex !important;
  align-items: center !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  color: var(--slate-700) !important;
  text-decoration: none !important;
  margin-bottom: 6px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.2s !important;
}
#sidebar-search .side-cat .inside a i {
  margin-right: 10px !important;
  color: var(--slate-700) !important;
  width: 16px !important;
  text-align: center !important;
}
#sidebar-search .side-cat .inside a:hover {
  background: var(--slate-100) !important;
  color: var(--slate-900) !important;
}
#sidebar-search .side-cat .inside a.active {
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
  font-weight: 700 !important;
}
#sidebar-search .side-cat .inside a.active i {
  color: var(--gold-700) !important;
}

#sidebar-search .search-side-form .wrap {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#sidebar-search .search-side-form h3.head {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  border-bottom: 2px solid var(--slate-100) !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
#sidebar-search .search-side-form h3.head .show-advanced {
  font-size: 12px !important;
  color: var(--gold-700) !important;
  text-decoration: underline !important;
}

#sidebar-search .search-side-form fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
}
#sidebar-search .search-side-form fieldset .row {
  margin-bottom: 15px !important;
}
#sidebar-search .search-side-form fieldset h4 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--slate-950) !important;
  margin-bottom: 8px !important;
}
#sidebar-search .search-side-form .input-box {
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 42px !important;
}
#sidebar-search .search-side-form .input-box i {
  display: block !important;
  color: var(--slate-700) !important;
  left: 12px !important;
  top: 12px !important;
}
#sidebar-search .search-side-form .input-box input {
  padding-left: 36px !important;
  height: 40px !important;
  border: none !important;
  background: transparent !important;
  font-size: 14px !important;
}

/* Sidebar location picker overrides */
#sidebar-search #location-picker {
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 42px !important;
}
#sidebar-search #location-picker:after {
  left: 14px !important;
  top: 8px !important;
  font-size: 20px !important;
  color: var(--slate-700) !important;
}
#sidebar-search #location-picker .term {
  height: 40px !important;
  padding-left: 36px !important;
  border: none !important;
  background: transparent !important;
  font-size: 14px !important;
}
#sidebar-search #location-picker .shower-wrap {
  top: 45px !important;
}
#sidebar-search #location-picker .shower {
  border-radius: 8px !important;
  border-color: #cbd5e1 !important;
  box-shadow: var(--shadow-md) !important;
}

/* Sidebar Select boxes styling */
#sidebar-search .simple-select .text {
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 42px !important;
  line-height: 30px !important;
  padding: 5px 12px !important;
  font-size: 14px !important;
  color: var(--slate-700) !important;
}
#sidebar-search .simple-select .list {
  top: 42px !important;
  border-color: #cbd5e1 !important;
  box-shadow: var(--shadow-md) !important;
  border-radius: 8px !important;
}

/* Price Range input boxes styling */
#sidebar-search .price-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
#sidebar-search .price-row input {
  flex: 1 !important;
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 42px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
}
#sidebar-search .price-del {
  color: #94a3b8 !important;
}

/* Checkboxes styling */
#sidebar-search .input-box-check {
  margin: 0 !important;
}
#sidebar-search .input-box-check label {
  font-size: 14px !important;
  color: var(--slate-700) !important;
  padding-left: 28px !important;
}
#sidebar-search .input-box-check label:before {
  border-color: #cbd5e1 !important;
  border-radius: 4px !important;
}
#sidebar-search .input-box-check input[type="checkbox"]:checked + label:before {
  background-color: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
}

/* Search and reset buttons in sidebar */
#sidebar-search .button-wrap {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 15px !important;
}
#sidebar-search .button-wrap button,
#sidebar-search .button-wrap a {
  flex: 1 !important;
  width: 50% !important;
  height: 46px !important;
  line-height: 44px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 0 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}
#sidebar-search .button-wrap button {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
#sidebar-search .button-wrap button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.3) !important;
}
#sidebar-search .button-wrap a.clear-search {
  background: var(--slate-100) !important;
  color: var(--slate-800) !important;
  border: 1px solid #cbd5e1 !important;
  transition: all 0.2s !important;
  text-decoration: none !important;
}
#sidebar-search .button-wrap a.clear-search:hover {
  background: var(--slate-900) !important;
  color: #ffffff !important;
  border-color: var(--slate-900) !important;
}

/* Elegant Sidebar Banner / Ad styling */
.banner-theme.banner-search_sidebar {
  margin-top: 30px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 16px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  width: 100% !important;
  float: none !important;
}
.banner-theme.banner-search_sidebar:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: #cbd5e1 !important;
}
.banner-theme.banner-search_sidebar > div {
  float: none !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.banner-theme.banner-search_sidebar img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Mobile responsive fixes for search page */
@media (max-width: 767px) {
  #body-search .content.list {
    flex-direction: column !important;
    margin: 20px auto !important;
  }
  .white.gallery .search-items-wrap .wrap {
    grid-template-columns: 1fr !important;
  }
  .white.list .simple-prod .simple-wrap {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 15px !important;
  }
  .white.list .simple-prod .item-img-wrap {
    width: 100% !important;
    height: 200px !important;
  }
  .white.list .simple-prod .bottom {
    margin-top: 10px !important;
  }
}


/* ========================================================
   POST & EDIT LISTING PAGE STYLING (ikman.lk look)
   ======================================================== */

#body-item-post, #body-item-edit {
  background-color: #f8fafc !important;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

#body-item-post .content.add_item, 
#body-item-edit .content.add_item {
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 30px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#body-item-post form,
#body-item-edit form {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
}

#body-item-post .left-col,
#body-item-edit .left-col {
  flex: 8 !important;
  float: none !important;
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

#body-item-post .right-col,
#body-item-edit .right-col {
  flex: 4 !important;
  float: none !important;
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

/* Fieldset/Card styling */
#body-item-post fieldset,
#body-item-edit fieldset {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: var(--shadow-sm) !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}

#body-item-post fieldset h2,
#body-item-edit fieldset h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  border-bottom: 2px solid var(--slate-100) !important;
  padding-bottom: 12px !important;
  margin-bottom: 24px !important;
  float: none !important;
  width: 100% !important;
}

/* Rows and Labels */
#body-item-post .row,
#body-item-edit .row {
  margin-bottom: 20px !important;
  float: none !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

#body-item-post .row label,
#body-item-edit .row label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--slate-900) !important;
  margin-bottom: 8px !important;
  float: none !important;
  width: auto !important;
  text-align: left !important;
}

#body-item-post .row label span,
#body-item-edit .row label span {
  font-weight: 600 !important;
}

#body-item-post .req,
#body-item-edit .req {
  color: var(--gold-700) !important;
  font-weight: 700 !important;
  margin-left: 4px !important;
}

/* Input Fields overrides */
#body-item-post .content.add_item input[type="text"]:not(#price),
#body-item-post .content.add_item input[type="tel"],
#body-item-post .content.add_item input[type="email"],
#body-item-post .content.add_item select,
#body-item-post .content.add_item textarea,
#body-item-edit .content.add_item input[type="text"]:not(#price),
#body-item-edit .content.add_item input[type="tel"],
#body-item-edit .content.add_item input[type="email"],
#body-item-edit .content.add_item select,
#body-item-edit .content.add_item textarea {
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  color: var(--slate-800) !important;
  width: 100% !important;
  height: auto !important;
  line-height: 1.5 !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

#body-item-post .content.add_item input:not(#price):focus,
#body-item-post .content.add_item select:focus,
#body-item-post .content.add_item textarea:focus,
#body-item-edit .content.add_item input:not(#price):focus,
#body-item-edit .content.add_item select:focus,
#body-item-edit .content.add_item textarea:focus {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}

/* Price Wrap styling */
/* Duplicate Price Block cleared. Styled in main block below. */

/* Status wraps (Transaction & Condition) */
#body-item-post .status-wrap,
#body-item-edit .status-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  margin-top: 15px !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  position: relative !important;
}
#body-item-post .status-wrap .transaction,
#body-item-post .status-wrap .condition,
#body-item-edit .status-wrap .transaction,
#body-item-edit .status-wrap .condition {
  overflow: visible !important;
  position: relative !important;
}

#body-item-post .status-wrap .simple-select,
#body-item-edit .status-wrap .simple-select {
  position: relative !important;
  overflow: visible !important;
}

#body-item-post .status-wrap .simple-select .text,
#body-item-edit .status-wrap .simple-select .text {
  height: 42px !important;
  line-height: 40px !important;
  border-radius: 8px !important;
  background: var(--slate-50) !important;
  border-color: #cbd5e1 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-left: 14px !important;
  padding-right: 36px !important;
  box-sizing: border-box !important;
}

#body-item-post .status-wrap .simple-select .text i,
#body-item-edit .status-wrap .simple-select .text i,
.simple-select .text i:not(.help):not(.fa-gear) {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  float: none !important;
  font-size: 14px !important;
  color: var(--slate-500) !important;
  pointer-events: none !important;
}

#body-item-post .status-wrap .simple-select .list,
#body-item-edit .status-wrap .simple-select .list {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  max-height: 250px !important;
  overflow-y: auto !important;
}

/* Input Boxes with Icons */
#body-item-post .input-box,
#body-item-edit .input-box {
  position: relative !important;
  width: 100% !important;
}
#body-item-post .input-box > i,
#body-item-edit .input-box > i {
  position: absolute !important;
  right: 14px !important;
  top: 13px !important;
  color: var(--slate-500) !important;
  font-size: 16px !important;
}
#body-item-post .input-box input,
#body-item-edit .input-box input {
  padding-right: 40px !important;
}

/* Location Selector / Term Picker */
#body-item-post #location-picker,
#body-item-edit #location-picker {
  border: 1px solid #cbd5e1 !important;
  background: var(--slate-50) !important;
  border-radius: 8px !important;
  height: 42px !important;
  position: relative !important;
}
#body-item-post #location-picker:after,
#body-item-edit #location-picker:after {
  left: auto !important;
  right: 14px !important;
  top: 10px !important;
  font-size: 18px !important;
  color: var(--slate-500) !important;
}
#body-item-post #location-picker .term,
#body-item-edit #location-picker .term {
  border: none !important;
  background: transparent !important;
  padding: 10px 40px 10px 14px !important;
  font-size: 14px !important;
  height: 40px !important;
}
#body-item-post #location-picker .shower-wrap,
#body-item-edit #location-picker .shower-wrap {
  top: 45px !important;
}
#body-item-post #location-picker .shower,
#body-item-edit #location-picker .shower {
  border-radius: 8px !important;
  border-color: #cbd5e1 !important;
  box-shadow: var(--shadow-md) !important;
}

/* Pictures upload section */
#body-item-post fieldset.photos .box,
#body-item-edit fieldset.photos .box {
  border: 2px dashed #cbd5e1 !important;
  border-radius: 12px !important;
  background: var(--slate-50) !important;
  padding: 30px !important;
  transition: all 0.3s !important;
}
#body-item-post fieldset.photos .box:hover,
#body-item-edit fieldset.photos .box:hover {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
}
#body-item-post .qq-upload-button,
#body-item-edit .qq-upload-button {
  background: transparent !important;
  border: none !important;
  color: inherit !important;
  padding: 0 !important;
  width: 100% !important;
}
#body-item-post .sample-box,
#body-item-edit .sample-box {
  border: none !important;
  background: transparent !important;
}
#body-item-post .sample-box .ins,
#body-item-edit .sample-box .ins {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
#body-item-post .sample-box i.one,
#body-item-post .sample-box i.two,
#body-item-edit .sample-box i.one,
#body-item-edit .sample-box i.two {
  font-size: 48px !important;
  color: var(--slate-400) !important;
  margin-bottom: 12px !important;
}
#body-item-post .sample-box i.three,
#body-item-edit .sample-box i.three {
  font-size: 20px !important;
  color: var(--gold-500) !important;
  margin-bottom: 12px !important;
}
#body-item-post .sample-box .top,
#body-item-edit .sample-box .top {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin-bottom: 4px !important;
}
#body-item-post .sample-box .bot,
#body-item-edit .sample-box .bot {
  font-size: 12px !important;
  color: var(--slate-500) !important;
}

/* Flat category selections */
#body-item-post #flat-cat,
#body-item-edit #flat-cat {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin-top: 15px !important;
}
#body-item-post #flat-cat .option,
#body-item-edit #flat-cat .option {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--slate-700) !important;
  background: var(--slate-50) !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
#body-item-post #flat-cat .option:hover,
#body-item-edit #flat-cat .option:hover {
  background: var(--slate-100) !important;
  border-color: #cbd5e1 !important;
}
#body-item-post #flat-cat .option.selected,
#body-item-edit #flat-cat .option.selected {
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
}

/* Category select lists */
#body-item-post .category-select-list,
#body-item-edit .category-select-list {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  margin-top: 12px !important;
  box-shadow: var(--shadow-sm) !important;
}
#body-item-post .category-select-list a,
#body-item-edit .category-select-list a {
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: var(--slate-700) !important;
  border-bottom: 1px solid #f1f5f9 !important;
  transition: all 0.2s !important;
}
#body-item-post .category-select-list a:hover,
#body-item-edit .category-select-list a:hover {
  background: var(--slate-100) !important;
  color: var(--slate-900) !important;
}

/* Error lists */
#error_list.new-item {
  width: 100% !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  margin-bottom: 24px !important;
  list-style-type: none !important;
}
#error_list.new-item li {
  color: #dc2626 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}
#error_list.new-item li label {
  color: #dc2626 !important;
  cursor: pointer !important;
}

/* Show Email checkbox alignment */
#body-item-post .mail-show,
#body-item-edit .mail-show {
  margin-top: 12px !important;
}
#body-item-post .input-box-check,
#body-item-edit .input-box-check {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
#body-item-post .input-box-check label.label-mail-show,
#body-item-edit .input-box-check label.label-mail-show {
  font-size: 13px !important;
  color: var(--slate-600) !important;
  margin: 0 !important;
  cursor: pointer !important;
}

/* Navigation & Form Buttons */
#body-item-post .post-navigation,
#body-item-edit .post-navigation {
  display: none !important; /* Hide wizard-based navigation as we use a single unified page */
}

/* Category grid container */
#body-item-post #flat-cat,
#body-item-edit #flat-cat {
  display: block !important;
  margin-top: 15px !important;
}

#body-item-post #flat-cat .category-box,
#body-item-edit #flat-cat .category-box {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  opacity: 1 !important;
}

/* Category select option buttons */
#body-item-post #flat-cat .option,
#body-item-edit #flat-cat .option {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1.15 / 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: var(--slate-50) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.2s ease !important;
  padding: 14px 10px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

#body-item-post #flat-cat .option:hover,
#body-item-edit #flat-cat .option:hover {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

#body-item-post #flat-cat .option.selected,
#body-item-edit #flat-cat .option.selected {
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
  box-shadow: 0 0 0 1px var(--gold-700) !important;
}

#body-item-post #flat-cat .option .cat-icon,
#body-item-edit #flat-cat .option .cat-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.05) !important;
  transition: all 0.2s ease !important;
}

#body-item-post #flat-cat .option:hover .cat-icon,
#body-item-edit #flat-cat .option:hover .cat-icon {
  background: rgba(217, 119, 6, 0.1) !important;
}

#body-item-post #flat-cat .option.selected .cat-icon,
#body-item-edit #flat-cat .option.selected .cat-icon {
  background: rgba(217, 119, 6, 0.15) !important;
}

#body-item-post #flat-cat .option .cat-icon i,
#body-item-edit #flat-cat .option .cat-icon i {
  color: var(--slate-700) !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-shadow: none !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

#body-item-post #flat-cat .option.selected .cat-icon i,
#body-item-edit #flat-cat .option.selected .cat-icon i {
  color: var(--gold-700) !important;
}

#body-item-post #flat-cat .option .cat-name,
#body-item-edit #flat-cat .option .cat-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--slate-800) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
  text-align: center !important;
}

#body-item-post #flat-cat .option.selected .cat-name,
#body-item-edit #flat-cat .option.selected .cat-name {
  color: var(--gold-700) !important;
}

/* Category Selected label updates */
#body-item-post .row.category label.done,
#body-item-edit .row.category label.done {
  color: var(--slate-900) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#body-item-post .row.category label.done:after,
#body-item-edit .row.category label.done:after {
  content: "\f058" !important; /* FontAwesome check-circle icon */
  font-family: "FontAwesome" !important;
  color: #10b981 !important;
  font-size: 16px !important;
  display: inline-block !important;
}

/* Category Selection Pop-up Modal Styling */
.flat-cat-box {
  background: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
}

.flat-wrap {
  float: none !important;
  width: 100% !important;
  position: absolute !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  height: 100% !important;
}

.flat-wrap .single {
  float: none !important;
  width: 100% !important;
  height: 54px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.flat-wrap .single.info {
  background: var(--slate-100) !important;
  color: var(--slate-900) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-bottom: 2px solid var(--slate-200) !important;
  height: 60px !important;
  padding: 0 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.flat-wrap .back {
  float: none !important;
  padding: 6px 12px !important;
  margin: 0 !important;
  background: var(--slate-800) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s !important;
}

.flat-wrap .back:hover {
  background: var(--slate-950) !important;
}

.flat-wrap .single > span:not(.back) {
  float: none !important;
  padding: 0 16px !important;
  line-height: 52px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--slate-850) !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.flat-wrap .single:not(.info):hover {
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
}

.flat-wrap .single.selected {
  background: var(--gold-600) !important;
  color: #ffffff !important;
}

.flat-wrap .single.selected span {
  color: #ffffff !important;
}

.flat-wrap .single.selected:after {
  content: "\f00c" !important;
  font-family: "FontAwesome" !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: 16px !important;
  font-size: 16px !important;
  color: #ffffff !important;
  line-height: 1 !important;
  display: block !important;
}

.flat-wrap .single .parent-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: rgba(217, 119, 6, 0.12) !important;
}

.flat-wrap .single .parent-icon i {
  line-height: 1 !important;
  font-size: 16px !important;
  color: var(--gold-700) !important;
}

.flat-wrap .single:not(.selected) .parent-icon i {
  color: var(--gold-700) !important;
}

.flat-wrap .single.selected .parent-icon {
  background: rgba(255, 255, 255, 0.25) !important;
}

.flat-wrap .single.selected .parent-icon i {
  color: #ffffff !important;
}

/* Price Wrap layout styling - Enterprise Grade */
#body-item-post .price-wrap,
#body-item-edit .price-wrap,
.add_item .price-wrap,
.price-wrap {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
  width: 100% !important;
  margin-bottom: 20px !important;
  box-sizing: border-box !important;
  float: none !important;
}

#body-item-post .price-wrap .inside,
#body-item-edit .price-wrap .inside,
.add_item .price-wrap .inside,
.price-wrap .inside {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  float: none !important;
}

#body-item-post .price-wrap .price-label,
#body-item-edit .price-wrap .price-label,
.add_item .price-wrap .price-label,
.price-wrap .price-label {
  display: block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
  float: none !important;
}

/* Neutralize legacy 32px orange box in style.css */
.add_item .price-wrap .simple-select,
.add_item .price-wrap .simple-currency,
.add_item .price-wrap .simple-price-type,
#body-item-post .price-wrap .simple-select,
#body-item-post .price-wrap .simple-currency,
#body-item-post .price-wrap .simple-price-type,
#body-item-edit .price-wrap .simple-select,
#body-item-edit .price-wrap .simple-currency,
#body-item-edit .price-wrap .simple-price-type {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

.add_item .price-wrap .simple-price-type:after,
.add_item .price-wrap .simple-select:after,
#body-item-post .price-wrap .simple-price-type:after,
#body-item-edit .price-wrap .simple-price-type:after {
  display: none !important;
  content: none !important;
}

/* 1. Price Type Row (Dropdown for Enter price / Free / Check with seller) */
#body-item-post .price-wrap .price-type-row,
#body-item-edit .price-wrap .price-type-row,
.add_item .price-wrap .price-type-row,
.price-wrap .price-type-row {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

#body-item-post .price-wrap .simple-price-type .text,
#body-item-edit .price-wrap .simple-price-type .text,
.add_item .price-wrap .simple-price-type .text,
.price-wrap .simple-price-type .text {
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  line-height: normal !important;
  text-align: left !important;
  float: none !important;
}

/* 2. Price Amount Value Row (Tag Icon + Price Input + Currency Selector) */
#body-item-post .price-wrap .price-value-row,
#body-item-edit .price-wrap .price-value-row,
.add_item .price-wrap .price-value-row,
.price-wrap .price-value-row {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
  float: none !important;
}

#body-item-post .price-wrap .price-input-group,
#body-item-edit .price-wrap .price-input-group,
.add_item .price-wrap .price-input-group,
.price-wrap .price-input-group {
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  float: none !important;
}

#body-item-post .price-wrap .price-input-group:focus-within,
#body-item-edit .price-wrap .price-input-group:focus-within,
.add_item .price-wrap .price-input-group:focus-within,
.price-wrap .price-input-group:focus-within {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
}

/* Left Tag Icon Box */
.add_item .price-wrap .price-input-group .price-tag-icon,
#body-item-post .price-wrap .price-input-group .price-tag-icon,
#body-item-edit .price-wrap .price-input-group .price-tag-icon {
  width: 46px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  border-right: 1px solid #cbd5e1 !important;
  color: var(--gold-600) !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
}

.add_item .price-wrap .price-input-group .price-tag-icon i,
#body-item-post .price-wrap .price-input-group .price-tag-icon i,
#body-item-edit .price-wrap .price-input-group .price-tag-icon i {
  position: static !important;
  transform: none !important;
  color: var(--gold-600) !important;
  font-size: 16px !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Price Input Field */
#body-item-post .price-wrap .price-input-group input[type="text"],
#body-item-post .price-wrap .price-input-group input#price,
#body-item-edit .price-wrap .price-input-group input[type="text"],
#body-item-edit .price-wrap .price-input-group input#price,
.add_item .price-wrap .price-input-group input#price,
.price-wrap .price-input-group input#price {
  flex: 1 !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  text-align: left !important;
  margin: 0 !important;
  float: none !important;
}

/* Currency Select Box (Right Side) */
.add_item .price-wrap .price-currency-select,
.add_item .price-wrap .simple-currency,
#body-item-post .price-wrap .price-currency-select,
#body-item-post .price-wrap .simple-currency,
#body-item-edit .price-wrap .price-currency-select,
#body-item-edit .price-wrap .simple-currency {
  width: auto !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  border-left: 1px solid #cbd5e1 !important;
  padding: 0 12px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
}

.add_item .price-wrap .simple-currency .text,
#body-item-post .price-wrap .simple-currency .text,
#body-item-edit .price-wrap .simple-currency .text {
  width: auto !important;
  height: 48px !important;
  line-height: 48px !important;
  background: transparent !important;
  border: none !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 0 !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.add_item .price-wrap .simple-currency select,
#body-item-post .price-wrap .simple-currency select,
#body-item-edit .price-wrap .simple-currency select {
  background: transparent !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  outline: none !important;
  padding: 0 4px !important;
  height: 40px !important;
}
  font-weight: 700 !important;
  color: #0f172a !important;
  flex: 1 !important;
  min-width: 0 !important;
  outline: none !important;
  margin: 0 !important;
}

/* Currency dropdown - right side of price input group */
#body-item-post .price-wrap .price-currency-select,
#body-item-edit .price-wrap .price-currency-select,
.price-wrap .price-currency-select {
  flex-shrink: 0 !important;
}

#body-item-post .price-wrap .price-currency-select .simple-currency,
#body-item-edit .price-wrap .price-currency-select .simple-currency,
.price-wrap .price-currency-select .simple-currency {
  height: 34px !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 65px !important;
  position: relative !important;
}

#body-item-post .price-wrap .price-currency-select .simple-currency .text,
#body-item-edit .price-wrap .price-currency-select .simple-currency .text,
.price-wrap .price-currency-select .simple-currency .text {
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: var(--gold-700) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

/* Force displaying right column labels */
#body-item-post .right-col label,
#body-item-edit .right-col label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--slate-700) !important;
  margin-bottom: 6px !important;
  float: none !important;
  width: auto !important;
  text-align: left !important;
}

/* ZIP & Seller Info margins */
#body-item-post .right-col .input-box, 
#body-item-post .right-col #location-picker,
#body-item-edit .right-col .input-box, 
#body-item-edit .right-col #location-picker {
  margin-bottom: 20px !important;
}

/* Submit Buttons styling */
#body-item-post .buttons-block,
#body-item-edit .buttons-block {
  width: 100% !important;
  margin-top: 30px !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: block !important;
}

#body-item-post .buttons-block .inside,
#body-item-edit .buttons-block .inside {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#body-item-post .content.add_item button[type="submit"],
#body-item-edit .content.add_item button[type="submit"] {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 10px !important;
  padding: 14px 48px !important;
  font-size: 16px !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  float: none !important;
  display: block !important;
}

#body-item-post .content.add_item button[type="submit"]:hover,
#body-item-edit .content.add_item button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45) !important;
}

/* Tabs & Multi-language boxes */
#body-item-post ul.tabbernav,
#body-item-edit ul.tabbernav {
  display: flex !important;
  gap: 8px !important;
  border-bottom: 2px solid var(--slate-100) !important;
  padding-bottom: 8px !important;
  margin-bottom: 20px !important;
  list-style-type: none !important;
  width: auto !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  z-index: 1 !important;
}

#body-item-post ul.tabbernav li a,
#body-item-edit ul.tabbernav li a {
  padding: 6px 16px !important;
  border-radius: 6px !important;
  background: var(--slate-100) !important;
  color: var(--slate-700) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  border: none !important;
}

#body-item-post ul.tabbernav li.tabberactive a,
#body-item-edit ul.tabbernav li.tabberactive a {
  background: var(--gold-700) !important;
  color: #ffffff !important;
}

#body-item-post ul.tabbernav li.tabberactive a:before,
#body-item-edit ul.tabbernav li.tabberactive a:before {
  display: none !important; /* hide default checkmark icon */
}

/* Title characters count positioning */
#body-item-post .title-desc-box .title-max-char,
#body-item-post .title-desc-box .desc-max-char,
#body-item-edit .title-desc-box .title-max-char,
#body-item-edit .title-desc-box .desc-max-char {
  bottom: 8px !important;
  right: 8px !important;
  border-radius: 6px !important;
}

/* Responsive adjustment */
@media (max-width: 991px) {
  #body-item-post .content.add_item,
  #body-item-edit .content.add_item {
    flex-direction: column !important;
    gap: 20px !important;
  }
  #body-item-post .left-col,
  #body-item-edit .left-col,
  #body-item-edit .right-col {
    width: 100% !important;
  }
}

/* Mobile Responsive Redesign for Header */
@media screen and (max-width: 767px) {
  #header-bar {
    height: 60px !important;
  }
  #header-bar .inside {
    height: 60px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  #header-bar .middle-block.logo {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  #header-bar .logo a {
    height: 36px !important;
  }
  #header-bar .logo img {
    max-height: 28px !important;
  }
  #header-bar .left-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    float: none !important;
  }
  #header-bar .left-block .le-btn {
    display: none !important; /* Hide standard desktop links (Home, Browse Ads, Contact Us) */
  }
  #header-bar .left-block .le-btn.search,
  #header-bar .left-block .le-btn.user,
  .le-btn.search,
  .le-btn.user {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  #header-bar .right-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }
  #header-bar .right-block .search-top,
  #header-bar .right-block .user-header-block {
    display: none !important; /* Hide search bar and desktop profile dropdown on mobile */
  }
  #header-bar .right-block .publish {
    padding: 0 14px !important;
    height: 36px !important;
    border-radius: 18px !important;
    font-size: 11px !important;
  }
  #header-bar .right-block .publish i {
    margin: 0 !important;
    font-size: 13px !important;
  }
  #header-bar .right-block .publish span {
    display: inline-block !important;
  }
  body:not(.fw-supporting):not(.content_only) {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Enterprise Mobile Bottom App Dock */
  .mobile-bottom-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    background: #0b1329 !important;
    border-top: 1px solid rgba(245, 158, 11, 0.2) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
    z-index: 99999 !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
  }

  .mobile-bottom-dock .dock-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    gap: 3px !important;
    flex: 1 !important;
    position: relative !important;
    transition: color 0.2s !important;
  }

  .mobile-bottom-dock .dock-item i {
    font-size: 18px !important;
    color: #94a3b8 !important;
    transition: color 0.2s !important;
  }

  .mobile-bottom-dock .dock-item.active,
  .mobile-bottom-dock .dock-item:hover {
    color: #ffffff !important;
  }

  .mobile-bottom-dock .dock-item.active i,
  .mobile-bottom-dock .dock-item:hover i {
    color: var(--gold-500) !important;
  }

  .mobile-bottom-dock .dock-item.post-cta {
    margin-top: -18px !important;
  }

  .mobile-bottom-dock .dock-item.post-cta .cta-circle {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.5) !important;
    border: 3px solid #0b1329 !important;
  }

  .mobile-bottom-dock .dock-item.post-cta .cta-circle i {
    color: #ffffff !important;
    font-size: 18px !important;
  }

  .mobile-bottom-dock .dock-badge {
    position: absolute !important;
    top: 2px !important;
    right: 22% !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 1px 5px !important;
    border-radius: 8px !important;
  }

  /* Grid and Listing Card mobile overrides */
  .latest-listings-section .wrap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .simple-prod {
    border-radius: 12px !important;
  }
  .simple-prod .item-img-wrap {
    height: 140px !important;
  }
  .simple-prod .category {
    padding: 10px 10px 2px 10px !important;
  }
  .simple-prod .category span {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }
  .simple-prod .title {
    font-size: 13px !important;
    height: 36px !important;
    padding: 0 10px 6px 10px !important;
    margin-bottom: 4px !important;
  }
  .simple-prod .middle {
    padding: 4px 10px 2px 10px !important;
  }
  .simple-prod .location {
    font-size: 11px !important;
  }
  .simple-prod .bottom {
    padding: 4px 10px 10px 10px !important;
  }
  .simple-prod .price span {
    font-size: 13px !important;
  }
}

/* ==========================================
   Modern Location Trigger, Modal & Category Gradients
   ========================================== */

/* Modern Location Trigger */
.modern-location-trigger {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 10px 48px;
  cursor: pointer;
  box-sizing: border-box;
  font-size: 15px;
  color: var(--slate-800);
  font-weight: 500;
  user-select: none;
}
.modern-location-trigger .selected-location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}
.modern-location-trigger i.fa-caret-down {
  position: static !important; /* Override position: absolute from .search-field i */
  color: var(--slate-700);
  font-size: 14px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.modern-location-trigger:hover i.fa-caret-down {
  color: var(--gold-700);
}

/* Sidebar Search Specific Trigger Adjustments */
#sidebar-search .modern-location-trigger {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
  color: var(--slate-800);
}
#sidebar-search .modern-location-trigger .selected-location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85%;
}

/* Modern Location Modal Overlay */
.modern-location-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  opacity: 0;
  animation: modalFadeIn 0.25s forwards cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalFadeIn {
  to {
    opacity: 1;
  }
}

/* Modal Card */
.modern-location-modal-card {
  background: #ffffff !important;
  width: 90% !important;
  max-width: 500px !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: 80vh !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  transform: translateY(20px);
  animation: modalSlideUp 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

@keyframes modalSlideUp {
  to {
    transform: translateY(0);
  }
}

/* Modal Header */
.modern-location-modal-card .modal-header {
  padding: 20px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
}

.modern-location-modal-card .modal-header h3 {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  font-family: 'Outfit', sans-serif !important;
}

.modern-location-modal-card .modal-close-btn {
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: color 0.2s ease !important;
}

.modern-location-modal-card .modal-close-btn:hover {
  color: var(--slate-900) !important;
}

/* Search Wrapper inside Modal */
.modern-location-modal-card .modal-search-wrapper {
  padding: 16px 24px !important;
  position: relative !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

.modern-location-modal-card .modal-search-input-box {
  position: relative !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
}

.modern-location-modal-card .modal-search-input-box .search-icon,
.modern-location-modal-card .modal-search-wrapper .search-icon,
#modern-location-modal .search-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  z-index: 10 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: inline-block !important;
}

.modern-location-modal-card .modal-search-input-box input,
.modern-location-modal-card .modal-search-wrapper input,
#modal-location-search {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 0 16px 0 44px !important;
  font-size: 15px !important;
  font-family: 'Outfit', sans-serif !important;
  background: var(--slate-50) !important;
  color: var(--slate-900) !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  position: relative !important;
}

.modern-location-modal-card .modal-search-input-box input:focus,
.modern-location-modal-card .modal-search-wrapper input:focus,
#modal-location-search:focus {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
  outline: none !important;
}

/* Breadcrumbs in Modal */
.modern-location-modal-card .modal-breadcrumbs {
  padding: 12px 24px !important;
  background: var(--slate-50) !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.modern-location-modal-card .modal-breadcrumbs .breadcrumb-back {
  color: var(--gold-700) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: color 0.2s !important;
}

.modern-location-modal-card .modal-breadcrumbs .breadcrumb-back:hover {
  color: var(--gold-500) !important;
}

.modern-location-modal-card .modal-breadcrumbs .breadcrumb-separator {
  color: #94a3b8 !important;
}

.modern-location-modal-card .modal-breadcrumbs .breadcrumb-current {
  color: var(--slate-900) !important;
}

/* Modal List Container */
.modern-location-modal-card .modal-list-container {
  flex-grow: 1 !important;
  overflow-y: auto !important;
  padding: 8px 0 !important;
  background: #ffffff !important;
}

.modern-location-modal-card .location-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.modern-location-modal-card .location-item {
  padding: 14px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  border-bottom: 1px solid #f8fafc !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--slate-800) !important;
  box-sizing: border-box !important;
}

.modern-location-modal-card .location-item:hover {
  background: var(--slate-50) !important;
  color: var(--gold-700) !important;
}

.modern-location-modal-card .location-item i.fa-angle-right {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  transition: transform 0.2s !important;
}

.modern-location-modal-card .location-item:hover i.fa-angle-right {
  transform: translateX(3px) !important;
  color: var(--gold-700) !important;
}

/* Special Items */
.modern-location-modal-card .location-item.all-srilanka-item,
.modern-location-modal-card .location-item.all-region-item {
  color: var(--gold-700) !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

.modern-location-modal-card .location-item.all-srilanka-item i,
.modern-location-modal-card .location-item.all-region-item i {
  margin-right: 12px !important;
  color: var(--gold-700) !important;
}

/* Search results style label */
.modern-location-modal-card .location-item .type-label {
  font-size: 11px !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
  margin-left: 6px !important;
}

.modern-location-modal-card .location-item .region-parent {
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 400 !important;
  margin-left: 6px !important;
}

.modern-location-modal-card .location-item.no-matches {
  justify-content: center !important;
  color: #64748b !important;
  font-style: italic !important;
  cursor: default !important;
  padding: 30px 24px !important;
}

.modern-location-modal-card .location-item.no-matches:hover {
  background: none !important;
}

/* Scroll lock when modal open */
body.no-scroll {
  overflow: hidden !important;
}

/* Mobile responsive modal overlay adjusts */
@media (max-width: 767px) {
  .modern-location-modal-card {
    max-height: 100vh !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .modern-location-modal-overlay {
    background-color: #ffffff !important;
  }
}

/* Redesigned Premium Category Card Gradients */
.category-icon-wrapper.gradient-artifacts {
  background: linear-gradient(135deg, #6366f1 0%, #a5b4fc 100%) !important;
  color: #ffffff !important;
}
.category-icon-wrapper.gradient-decor {
  background: linear-gradient(135deg, #f43f5e 0%, #fca5a5 100%) !important;
  color: #ffffff !important;
}
.category-icon-wrapper.gradient-books {
  background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%) !important;
  color: #ffffff !important;
}
.category-icon-wrapper.gradient-collectibles {
  background: linear-gradient(135deg, #f59e0b 0%, #fde047 100%) !important;
  color: #ffffff !important;
}
.category-icon-wrapper.gradient-furniture {
  background: linear-gradient(135deg, #3b82f6 0%, #93c5fd 100%) !important;
  color: #ffffff !important;
}
.category-icon-wrapper.gradient-other {
  background: linear-gradient(135deg, #64748b 0%, #cbd5e1 100%) !important;
  color: #ffffff !important;
}

/* Hover effects for category cards override */
.category-card:hover .category-icon-wrapper {
  transform: scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.category-card:hover .category-icon-wrapper i {
  color: #ffffff !important;
}


/* ==========================================================================
   User Dashboard & Profile Page Redesign (#body-user-profile)
   ========================================================================== */

/* Outer account container */
.content.user_account {
  display: flex !important;
  gap: 28px !important;
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  font-family: 'Outfit', sans-serif !important;
  align-items: flex-start !important;
}

.content.user_account #sidebar {
  flex: 0 0 260px !important;
  width: 260px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  float: none !important;
}

.content.user_account #main.modify_profile {
  flex: 1 1 auto !important;
  max-width: calc(100% - 288px) !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
}

/* Sidebar user card banner */
#sidebar .um.s0 {
  background: var(--slate-900) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  margin-bottom: 16px !important;
  color: #ffffff !important;
}

#sidebar .um.s0 ul.user_menu li.uname strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
}

#sidebar .um.s0 ul.user_menu li.uname span {
  display: block !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  margin-top: 4px !important;
}

/* Sidebar navigation links */
#sidebar .user_menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#sidebar .user_menu li {
  margin-bottom: 4px !important;
  float: none !important;
  width: 100% !important;
}

#sidebar .user_menu li a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  color: var(--slate-700) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  font-family: 'Outfit', sans-serif !important;
  box-sizing: border-box !important;
}

#sidebar .user_menu li a i {
  font-size: 16px !important;
  color: #64748b !important;
  transition: all 0.2s ease !important;
  float: none !important;
  line-height: 1 !important;
  width: 18px !important;
  text-align: center !important;
}

#sidebar .user_menu li a:hover {
  background: var(--slate-50) !important;
  color: var(--slate-900) !important;
}

#sidebar .user_menu li a:hover i {
  color: var(--gold-500) !important;
}

#sidebar .user_menu li.active a {
  background: var(--gold-100) !important;
  color: var(--gold-700) !important;
  border-left: 3px solid var(--gold-700) !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

#sidebar .user_menu li.active a i {
  color: var(--gold-700) !important;
}

#sidebar .user_menu li .count {
  float: right !important;
  background: var(--slate-100) !important;
  color: var(--slate-700) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 100px !important;
  margin-top: 2px !important;
}

#sidebar .user_menu li.active .count {
  background: var(--gold-700) !important;
  color: #ffffff !important;
}

#sidebar .um.logout {
  margin-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 16px !important;
}

#sidebar .um.logout a {
  color: #ef4444 !important;
}

#sidebar .um.logout a i {
  color: #ef4444 !important;
}

#sidebar .um.logout a:hover {
  background: #fef2f2 !important;
}

/* Mobile responsive menu controls */
#sidebar #show-user-menu {
  display: none !important;
}

/* User Form Grid Wrapper */
#body-user-profile form:has(#left-user) {
  display: flex !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

#left-user.box, #right-user.box {
  flex: 1 1 45% !important;
  min-width: 320px !important;
  box-sizing: border-box !important;
  float: none !important;
  width: auto !important;
}

/* Premium Card Layout for forms */
#body-user-profile .box,
#body-user-profile .inside > .box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#body-user-profile .box h3.title_block {
  background-color: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  font-size: 16px !important;
  color: var(--slate-900) !important;
  font-weight: 700 !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Row elements as vertical stacks */
#body-user-profile .box .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: transparent !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  box-sizing: border-box !important;
}

#body-user-profile .box .row:last-of-type {
  border-bottom: none !important;
}

/* Form labels styling */
#body-user-profile .box .row label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--slate-700) !important;
  margin-bottom: 6px !important;
  float: none !important;
  width: auto !important;
  text-align: left !important;
  display: block !important;
}

#body-user-profile .box .row label .req {
  color: #ef4444 !important;
  margin-left: 4px !important;
  float: none !important;
}

/* Current Email static display */
#body-user-profile .box .row .current_email {
  font-size: 14px !important;
  color: var(--slate-900) !important;
  font-weight: 600 !important;
  padding: 4px 0 !important;
  display: inline-block !important;
}

/* Form Inputs and textareas */
#body-user-profile .box .row .input-box {
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
}

#body-user-profile .box .row input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]),
#body-user-profile .box .row select,
#body-user-profile .box .row textarea {
  width: 100% !important;
  max-width: 500px !important;
  height: 42px !important;
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: var(--slate-900) !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  float: none !important;
  font-family: 'Outfit', sans-serif !important;
  box-shadow: none !important;
}

#body-user-profile .box .row textarea {
  height: 120px !important;
}

/* Show and style input-box icons */
#body-user-profile .box .row .input-box i {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  display: block !important; /* Force display since original CSS hid them */
  z-index: 10 !important;
  font-size: 15px !important;
  margin: 0 !important;
  float: none !important;
}

#body-user-profile .box .row .input-box input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]),
#body-user-profile .box .row .input-box select {
  padding-left: 38px !important;
}

/* Location Picker Autocomplete input formatting */
#body-user-profile #location-picker {
  width: 100% !important;
  max-width: 500px !important;
  position: relative !important;
  border: none !important;
  background: transparent !important;
  height: auto !important;
}

#body-user-profile #location-picker input.term:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]) {
  padding-left: 38px !important;
}

#body-user-profile #location-picker:before {
  content: "\f041" !important;
  font-family: "FontAwesome" !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 16px !important;
  z-index: 10 !important;
  display: block !important;
}

/* Hide duplicate map pin icon from legacy stylesheet */
#body-user-profile #location-picker:after {
  content: none !important;
}

/* Select element styling */
#body-user-profile .box .row select {
  cursor: pointer !important;
}

/* Focus styles for all profile inputs */
#body-user-profile .box .row input:focus,
#body-user-profile .box .row select:focus,
#body-user-profile .box .row textarea:focus,
#body-user-profile #location-picker input.term:focus {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}

/* Style the avatar section (Avatar display + Update button side-by-side) */
#body-user-profile .box .row:has(#pict-update) {
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
}

#body-user-profile #pict-update {
  display: block !important;
  width: 80px !important;
  height: 80px !important;
}

#body-user-profile #pict-update img,
#body-user-profile #profile_picture_img {
  border-radius: 50% !important;
  border: 3px solid var(--slate-100) !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  box-shadow: var(--shadow-sm) !important;
}

#body-user-profile #pict-update-secondary {
  float: none !important;
  background: var(--slate-900) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  box-sizing: border-box !important;
}

#body-user-profile #pict-update-secondary:hover {
  background: var(--gold-500) !important;
  color: #ffffff !important;
}

/* Button placement rows inside cards */
#body-user-profile .box .row.user-buttons {
  padding: 16px 20px !important;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
}

#body-user-profile .box .row.user-buttons button {
  margin: 0 !important;
  float: none !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 0 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  height: 40px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.3s ease !important;
  font-family: 'Outfit', sans-serif !important;
}

#body-user-profile .box .row.user-buttons button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.4) !important;
  color: #ffffff !important;
}

/* Remove account button styling */
#body-user-profile .btn-remove-account {
  float: right !important;
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  color: #ef4444 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  height: auto !important;
  margin: 15px 0 40px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm) !important;
}

#body-user-profile .btn-remove-account:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

#body-user-profile .btn-remove-account i {
  font-size: 14px !important;
}


/* ==========================================================================
   Contact Us Page Redesign (#contact-wrap)
   ========================================================================== */

#contact-wrap.cont_us {
  max-width: 540px !important;
  margin: 60px auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  font-family: 'Outfit', sans-serif !important;
}

#contact-wrap.cont_us h1 {
  display: none !important; /* Hide old redundant title spacer */
}

#contact-wrap #contact-ins.inner {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 32px !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#contact-wrap h2.contact {
  font-size: 24px !important;
  color: var(--slate-900) !important;
  font-weight: 800 !important;
  margin-bottom: 24px !important;
  text-align: center !important;
  float: none !important;
  width: 100% !important;
}

#contact-wrap h2.contact span {
  float: none !important;
}

/* Restore and style inputs labels */
#contact-wrap label {
  display: block !important; /* Un-hide hidden label elements */
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--slate-700) !important;
  margin: 0 0 6px 0 !important;
  float: none !important;
  width: auto !important;
  clear: both !important;
}

#contact-wrap label span {
  float: none !important;
}

#contact-wrap label .req {
  color: #ef4444 !important;
  display: inline-block !important;
  margin-left: 4px !important;
  float: none !important;
}

#contact-wrap label div.req {
  display: inline-block !important;
  float: none !important;
  margin: 0 0 0 4px !important;
}

/* Error validation lists */
#contact-wrap #error_list {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
  list-style-type: none !important;
}

#contact-wrap #error_list li {
  color: #dc2626 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Input elements container */
#contact-wrap .input-box {
  width: 100% !important;
  margin-bottom: 20px !important;
  float: none !important;
  position: relative !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
  height: auto !important;
  padding: 0 !important;
}

#contact-wrap .input-box.last {
  margin-bottom: 20px !important;
}

/* Fields styling: Text, email, message */
#contact-wrap .input-box input[type="text"],
#contact-wrap .input-box textarea {
  width: 100% !important;
  max-width: 100% !important;
  background: var(--slate-50) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 16px 10px 48px !important; /* spacing for absolute icons */
  font-size: 14px !important;
  color: var(--slate-900) !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  float: none !important;
  font-family: 'Outfit', sans-serif !important;
  box-shadow: none !important;
  height: 42px !important;
}

#contact-wrap .input-box textarea {
  height: 140px !important;
  padding: 12px 14px !important; /* no icons for textarea message */
}

/* Show absolute input icons */
#contact-wrap .input-box i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 15px !important;
  display: block !important;
  z-index: 10 !important;
  margin: 0 !important;
  float: none !important;
}

/* Focus outline glow */
#contact-wrap .input-box input[type="text"]:focus,
#contact-wrap .input-box textarea:focus {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}

/* Attachment box wrapper */
#contact-wrap .attachment {
  border: 1px dashed #cbd5e1 !important;
  background: var(--slate-50) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 20px !important;
  box-sizing: border-box !important;
}

#contact-wrap .attachment .att-box {
  margin-bottom: 8px !important;
}

#contact-wrap .attachment label.status {
  cursor: pointer !important;
  display: inline-block !important;
  margin: 0 !important;
}

#contact-wrap .attachment label.status .wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--slate-900) !important;
  color: #ffffff !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#contact-wrap .attachment label.status input[type="file"] {
  display: none !important; /* Hide ugly native file chooser */
}

#contact-wrap .attachment .text {
  font-size: 12px !important;
  color: var(--slate-500) !important;
  line-height: 1.4 !important;
}

/* Hide required fields notification text, style standard marker */
#contact-wrap .req-what {
  display: none !important;
}

/* Send message submit button */
#contact-wrap button#blue {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 8px !important;
  padding: 0 24px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.3s ease !important;
  margin-top: 24px !important;
  cursor: pointer !important;
  float: none !important;
  font-family: 'Outfit', sans-serif !important;
}

#contact-wrap button#blue:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.4) !important;
  color: #ffffff !important;
}


/* ==========================================================================
   Responsive Overrides for Dashboard & Contact
   ========================================================================== */

@media screen and (max-width: 767px) {
  /* Profile layout mobile */
  .content.user_account {
    flex-direction: column !important;
    padding: 0 12px !important;
    gap: 16px !important;
    margin: 20px auto !important;
  }

  .content.user_account #sidebar {
    flex: 1 1 auto !important;
    width: 100% !important;
    padding: 12px !important;
  }

  /* Make user menu collapsible or block list */
  #sidebar #show-user-menu {
    display: flex !important;
  }

  #sidebar .um:not(.logout):not(.s0) {
    display: none; /* Collapses menu dynamically */
  }

  /* Let's show active list parts or toggle */
  #sidebar.active .um {
    display: block !important;
  }

  .content.user_account #main.modify_profile {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #left-user.box, #right-user.box {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  #body-user-profile .box h3.title_block {
    padding: 14px 16px !important;
    font-size: 15px !important;
  }

  #body-user-profile .box .row {
    padding: 14px 16px !important;
  }

  #body-user-profile .box .row .input-box {
    max-width: 100% !important;
  }

  #body-user-profile .box .row input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]),
  #body-user-profile .box .row select,
  #body-user-profile .box .row textarea {
    max-width: 100% !important;
  }

  /* Contact Page mobile */
  #contact-wrap.cont_us {
    margin: 30px auto !important;
    padding: 0 12px !important;
  }

  #contact-wrap #contact-ins.inner {
    padding: 20px !important;
  }

  #contact-wrap h2.contact {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
}


/* ==========================================================================
   Phase 6: Sticky Footer, Public Profile Grid & Listing Form Redesign
   ========================================================================== */

/* 1. Flexbox Sticky Footer Layout */
html, body {
  height: 100% !important;
  margin: 0 !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

.container-outer {
  flex: 1 0 auto !important;
  box-sizing: border-box !important;
}

#footer {
  flex-shrink: 0 !important;
  margin-top: auto !important; /* Forces footer to stay at bottom of screen */
}


/* 2. Public Profile Screen Layout & Grid (#body-user-public-profile) */
.content.user_public_profile {
  display: flex !important;
  gap: 28px !important;
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  font-family: 'Outfit', sans-serif !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
}

.content.user_public_profile h1 {
  display: block !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--slate-900) !important;
  margin: 0 0 20px 0 !important;
  width: 100% !important;
  float: none !important;
}

#public-items.white {
  flex: 1 1 auto !important;
  max-width: calc(100% - 328px) !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#public-items .block .wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  float: none !important;
}

#public-items .simple-prod {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

#public-items .simple-prod:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
}

#public-items .simple-prod .item-img-wrap {
  height: 160px !important;
  position: relative !important;
  overflow: hidden !important;
  background: var(--slate-50) !important;
  float: none !important;
  width: 100% !important;
}

#public-items .simple-prod .item-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

#public-items .simple-prod:hover .item-img-wrap img {
  transform: scale(1.05) !important;
}

#public-items .simple-prod .description {
  display: none !important; /* Hide long description block for cleaner grid card look */
}

#public-items .simple-prod .item-details-wrap {
  padding: 12px 14px !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#public-items .simple-prod .category a span {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--gold-700) !important;
}

#public-items .simple-prod .title {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin: 4px 0 8px 0 !important;
  text-decoration: none !important;
  height: 36px !important;
  overflow: hidden !important;
}

#public-items .simple-prod .location {
  font-size: 11px !important;
  color: #64748b !important;
}

#public-items .simple-prod .bottom {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 8px !important;
  margin-top: 8px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#public-items .simple-prod .price span {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
}

/* Seller sidebar card */
#side-right.pp-seller {
  flex: 0 0 300px !important;
  width: 300px !important;
  margin: 0 !important;
  float: none !important;
}

#seller.item-block {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  width: 100% !important;
  float: none !important;
}

#side-right .side-photo,
#seller.item-block .side-photo,
#user-card .side-photo {
  height: auto !important;
  min-height: 190px !important;
  background: linear-gradient(to bottom, var(--slate-900) 90px, transparent 90px) !important;
  border-top: 1px solid transparent !important; /* Prevents margin collapse */
  position: relative !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

#side-right .side-photo .img,
#seller.item-block .side-photo .img,
#user-card .side-photo .img {
  position: absolute !important;
  top: 45px !important; /* Overlaps bottom of the 90px banner */
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 80px !important;
  height: 80px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 3px #ffffff, var(--shadow-md) !important;
  border: 1px solid #cbd5e1 !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

#side-right .side-photo .img img,
#seller.item-block .side-photo .img img,
#user-card .side-photo .img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* User Name positioned below the overlapping centered avatar */
#side-right #seller .name,
#side-right #user-card .name,
#seller.item-block .side-photo .name {
  margin-top: 135px !important; /* Spacing below absolute avatar top (45px) + avatar height (80px) */
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-bottom: 4px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}

#side-right #seller .name a,
#side-right #user-card .name a,
#seller.item-block .side-photo .name a {
  color: var(--slate-900) !important;
  font-weight: 700 !important;
}

/* User Registration Date below the name */
#side-right #seller .regdate,
#side-right #user-card .regdate,
#side-right .elem.regdate,
#seller.item-block .side-photo .regdate {
  text-align: center !important;
  font-size: 12px !important;
  color: var(--slate-500) !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}

#seller.item-block .item-actions {
  border-top: 1px solid #f1f5f9 !important;
  padding: 16px 20px !important;
  box-sizing: border-box !important;
}

#side-right .item-actions .row,
#seller.item-block .item-actions .row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 20px !important;
  box-sizing: border-box !important;
  position: relative !important;
  width: 100% !important;
  float: none !important;
  border-top: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

#side-right .item-actions .row:last-child,
#seller.item-block .item-actions .row:last-child {
  border-bottom: none !important;
}

#side-right .item-actions .row i:not(.fa-star-o),
#seller.item-block .item-actions .row i:not(.fa-star-o) {
  position: static !important; /* Overrides absolute alignment */
  margin: 0 !important;
  width: 20px !important;
  text-align: center !important;
  font-size: 16px !important;
  color: var(--gold-700) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  line-height: normal !important;
}

#side-right .item-actions .row a,
#seller.item-block .item-actions .row a,
#side-right .item-actions .row span,
#seller.item-block .item-actions .row span {
  float: none !important;
  display: inline-block !important;
  line-height: normal !important;
  margin: 0 !important;
  text-align: left !important;
  color: var(--slate-700) !important;
  font-weight: 600 !important;
}

#side-right .item-actions .row a:hover,
#seller.item-block .item-actions .row a:hover {
  color: var(--gold-700) !important;
}

.pub-contact-wrap {
  margin-top: 16px !important;
  width: 100% !important;
}

.pub-contact-wrap .btn-primary {
  width: 100% !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.pub-contact-wrap .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.4) !important;
  color: #ffffff !important;
}


/* 3. Listing Publish/Edit Page Form Redesign (#body-item-post, #body-item-edit) */
#body-item-post .content.add_item,
#body-item-edit .content.add_item {
  display: flex !important;
  gap: 28px !important;
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  font-family: 'Outfit', sans-serif !important;
  align-items: flex-start !important;
}

#body-item-post .left-col,
#body-item-edit .left-col {
  flex: 1 1 55% !important;
  max-width: calc(100% - 388px) !important;
  padding: 0 !important;
  float: none !important;
}

#body-item-post .right-col,
#body-item-edit .right-col {
  flex: 0 0 360px !important;
  width: 360px !important;
  padding: 0 !important;
  float: none !important;
}

/* Card fieldset panels */
#body-item-post fieldset,
#body-item-edit fieldset {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
}

#body-item-post fieldset h2,
#body-item-edit fieldset h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin: 0 0 20px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 10px !important;
  float: none !important;
  width: 100% !important;
}

/* Vertical stacking of listing form rows */
#body-item-post .row,
#body-item-edit .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}

#body-item-post .row label,
#body-item-edit .row label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--slate-700) !important;
  margin-bottom: 6px !important;
  float: none !important;
  width: auto !important;
  text-align: left !important;
  display: block !important;
}

#body-item-post .row label span,
#body-item-edit .row label span {
  float: none !important;
}

#body-item-post .row label .req,
#body-item-edit .row label .req {
  color: #ef4444 !important;
  margin-left: 4px !important;
  display: inline-block !important;
  float: none !important;
}

/* Icons inside input boxes */
#body-item-post .content.add_item .input-box,
#body-item-edit .content.add_item .input-box {
  width: 100% !important;
  position: relative !important;
}

#body-item-post .content.add_item .input-box > i,
#body-item-edit .content.add_item .input-box > i {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  display: block !important;
  z-index: 10 !important;
  font-size: 15px !important;
  margin: 0 !important;
  float: none !important;
}

#body-item-post .content.add_item .input-box input,
#body-item-edit .content.add_item .input-box input {
  padding-left: 38px !important;
}

/* Category lists selector flat container styling */
#body-item-post #flat-cat,
#body-item-edit #flat-cat {
  width: 100% !important;
  box-sizing: border-box !important;
}


/* ==========================================================================
   Responsive Overrides for Phase 6
   ========================================================================== */

@media screen and (max-width: 991px) {
  /* Public Profile Mobile */
  .content.user_public_profile {
    flex-direction: column-reverse !important;
    padding: 0 12px !important;
    gap: 20px !important;
    margin: 20px auto !important;
  }

  #public-items.white {
    max-width: 100% !important;
  }

  #side-right.pp-seller {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Listing Publish Mobile */
  #body-item-post .content.add_item,
  #body-item-edit .content.add_item {
    flex-direction: column !important;
    padding: 0 12px !important;
    gap: 20px !important;
    margin: 20px auto !important;
  }

  #body-item-post .left-col,
  #body-item-edit .left-col,
  #body-item-post .right-col,
  #body-item-edit .right-col {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  /* Public Profile Grid Mobile */
  #public-items .block .wrap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  #public-items .simple-prod .item-img-wrap {
    height: 130px !important;
  }
}


/* ==========================================================================
   OFFICIAL THEME COLOR CLEANUP (Replacing legacy blues with Slate Navy & Gold)
   ========================================================================== */

/* 1. Global Link Color Overrides */
a {
  color: var(--slate-800) !important;
  transition: color 0.2s ease !important;
}
a:hover, a:focus {
  color: var(--gold-700) !important;
}

/* 2. Global Focus Borders */
input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]):focus,
textarea:focus,
select:focus,
#n-block #alert_email:focus,
#header-bar .search-top input[type="text"]:focus {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}

/* 3. Primary & Secondary Buttons Overrides */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
a.btn-primary,
a.add-com.btn.btn-primary,
a.btn.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  border-color: var(--gold-700) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.15) !important;
  transition: all 0.2s ease !important;
  text-shadow: none !important;
}

.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover,
a.btn-primary:hover,
a.add-com.btn.btn-primary:hover,
a.btn.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-700) 100%) !important;
  border-color: var(--gold-700) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.25) !important;
  transform: translateY(-1px) !important;
}

.btn-secondary,
button.btn-secondary,
a.btn-secondary,
.btn.btn-secondary {
  background: var(--slate-100) !important;
  border-color: #cbd5e1 !important;
  color: var(--slate-800) !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.btn-secondary:hover,
button.btn-secondary:hover,
a.btn-secondary:hover,
.btn.btn-secondary:hover {
  background: var(--slate-900) !important;
  border-color: var(--slate-900) !important;
  color: #ffffff !important;
}

/* 4. Phone & Mail Contacts UI (Item details & Seller profiles) */
#contact_form .phone-block i,
#contact_form .mail-block i {
  background: var(--gold-700) !important;
  color: #ffffff !important;
}

#contact_form .phone-block,
#contact_form .mail-block,
#contact_form .phone-show,
#contact_form .mail-show,
.phone-block,
.mail-block,
.phone-show,
.mail-show,
a.next-message,
#side-right .item-actions .row a.phone-block,
#side-right .item-actions .row a.phone-block span,
#side-right .item-actions .row a.mail-block,
#side-right .item-actions .row a.mail-block span,
#seller.item-block .item-actions .row a.phone-block,
#seller.item-block .item-actions .row a.phone-block span,
#seller.item-block .item-actions .row a.mail-block,
#seller.item-block .item-actions .row a.mail-block span {
  color: var(--gold-700) !important;
  border-bottom-color: var(--gold-700) !important;
}

#contact_form .phone-block:hover,
#contact_form .mail-block:hover,
#contact_form .phone-show:hover,
#contact_form .mail-show:hover,
.phone-block:hover,
.mail-block:hover,
.phone-show:hover,
.mail-show:hover,
a.next-message:hover,
#side-right .item-actions .row a.phone-block:hover,
#side-right .item-actions .row a.phone-block:hover span,
#side-right .item-actions .row a.mail-block:hover,
#side-right .item-actions .row a.mail-block:hover span,
#seller.item-block .item-actions .row a.phone-block:hover,
#seller.item-block .item-actions .row a.phone-block:hover span,
#seller.item-block .item-actions .row a.mail-block:hover,
#seller.item-block .item-actions .row a.mail-block:hover span {
  color: var(--gold-600) !important;
  border-bottom: 1px solid var(--gold-600) !important;
  text-decoration: none !important;
}

/* #side-right .side-photo {
  background: var(--slate-900) !important;
} */

#side-right .side-prof,
#seller-data .side-prof,
.user_public_profile #description .pp-img {
  border-color: var(--gold-700) !important;
}

#side-right .item-actions .row a:not(.phone-block):not(.mail-block):not(.phone-show):not(.mail-show),
#side-right #user-card .elem a,
#seller-data .name a {
  color: var(--slate-800) !important;
}

#side-right .item-actions .row a:not(.phone-block):not(.mail-block):not(.phone-show):not(.mail-show):hover,
#side-right #user-card .elem a:hover,
#seller-data .name a:hover {
  color: var(--gold-700) !important;
  text-decoration: underline !important;
}

/* 5. Pictures & Slider UI */
#pictures #photo-count,
#pictures #photo-count.round2 {
  background: var(--slate-900) !important;
  color: #ffffff !important;
}

#pictures .bx-wrapper .bx-controls-direction a,
.bx-wrapper .bx-controls-direction a {
  background-color: var(--slate-900) !important;
}

#pictures .bx-wrapper .bx-controls-direction a:hover,
#pictures .bx-wrapper .bx-controls-direction a:active,
.fancybox-wrap .fancybox-prev:hover span, 
.fancybox-wrap .fancybox-next:hover span,
.bx-wrapper .bx-controls-direction a:hover {
  background-color: var(--gold-700) !important;
}

#listing #pictures .bx-wrapper .bx-pager.bx-default-pager a:hover, 
#listing #pictures .bx-wrapper .bx-pager.bx-default-pager a.active {
  background: var(--gold-700) !important;
}

/* 6. Pagination & Search Results UI */
.paginate .searchPaginationSelected,
.pagination .active,
.pagination .current {
  background: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
  color: #ffffff !important;
}

.paginate a:hover, 
.paginate span:hover {
  background: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
  color: #ffffff !important;
}

.white a.title:hover {
  color: var(--gold-700) !important;
}

#list-view .list-prod a.view {
  border-color: var(--gold-700) !important;
}

#list-view .list-prod a.view:hover,
#list-view .list-prod.premium-loop a.view {
  background: var(--gold-700) !important;
  color: #ffffff !important;
}

#list-view .list-prod a.view i {
  color: var(--gold-700) !important;
}

#list-view .list-prod.premium-loop a.view:hover i {
  color: #ffffff !important;
}

/* 7. Dropdowns, Auto-complete & Sort Headers */
.sort-it .sort-title .title-keep {
  background: var(--slate-100) !important;
  color: var(--slate-800) !important;
  border: 1px solid #cbd5e1 !important;
}

.sort-it .sort-title:hover .title-keep {
  background: var(--slate-900) !important;
  color: #ffffff !important;
  border-color: var(--slate-900) !important;
}

.sort-it .sort-content a:hover,
.simple-select .option:not(.info):hover,
#lang-box li a:hover {
  background-color: var(--gold-700) !important;
  color: #ffffff !important;
}

.list-grid a:hover, 
.list-grid a.active {
  color: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
}

/* 8. Price Slider Range Selector */
#sidebar-search #slider-range .ui-slider-range {
  background: var(--gold-500) !important;
}

#sidebar-search #slider-range .ui-slider-handle,
#sidebar-search #slider-range .ui-slider-handle.ui-state-hover,
#sidebar-search #slider-range .ui-slider-handle.ui-state-active {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  border-color: #ffffff !important;
}

/* 9. Publish & Edit Price Type */
.add_item .price-wrap .simple-select .text,
.add_item .price-wrap .simple-price-type:after {
  background-color: var(--gold-700) !important;
  border-color: var(--gold-700) !important;
}

.add_item .price-wrap .simple-select:hover .text,
.add_item .price-wrap .simple-price-type:hover:after {
  background: #ffffff !important;
  border-color: var(--gold-700) !important;
  color: var(--slate-900) !important;
}

/* 10. General Page Accents & UI Elements */
.mobile-labels .elem.premium,
.status-line > div,
#premium-more .push,
.mobile-post {
  background: var(--gold-700) !important;
  color: #ffffff !important;
}

.sidepager_nav:hover,
.side-pager li.sidepager_here a,
#latest-search a,
.comment-empty .comment .body a.log,
.user_account .card.item .price,
#comment-card .price,
.err400 .link-wrap a,
#sidebar-search .show-advanced,
.side-cat a.active,
.side-cat h3 a,
#sub-nav .inside > a:hover, 
#sub-nav .inside > a.active,
.flat-wrap .single.selected,
.flat-wrap .single:not(.info):hover,
#user_data li.name {
  color: var(--gold-700) !important;
}

#footer-links a {
  color: var(--gold-700) !important;
}
#footer-links a:hover {
  color: var(--gold-600) !important;
  text-decoration: underline !important;
}

#header-line {
  background: #ffffff !important;
}

/* Ensure mobile header matches brand color rather than default blue */
@media screen and (max-width: 767px) {
  #header-bar {
    background-color: var(--slate-900) !important;
  }
}

/* Contact page details & messaging forms */
#contact_form button,
#contact_form input[type="submit"],
#contact_form button.send,
button#item-message,
.button-wrap button.send {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  border-color: var(--gold-700) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  transition: all 0.2s ease !important;
}

#contact_form button:hover,
#contact_form input[type="submit"]:hover,
#contact_form button.send:hover,
button#item-message:hover,
.button-wrap button.send:hover {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-700) 100%) !important;
  border-color: var(--gold-700) !important;
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.2) !important;
}

/* Tabber & Sub-nav Active Styles (Details/Description/Comments tabs) */
#item-desc ul.tabbernav li.tabberactive a,
ul.tabbernav li.tabberactive a,
.tabberactive a,
#item-desc a.active,
#item-desc .active a,
#sub-nav .inside > a.active {
  border-bottom: 2px solid var(--gold-700) !important;
  border-bottom-color: var(--gold-700) !important;
  color: var(--gold-700) !important;
  background: transparent !important;
}

/* Latest Search Bar alignment and style */
#latest-search {
  background: transparent !important;
  border-top: none !important;
  padding: 20px 0 !important;
}
#latest-search span {
  color: var(--slate-700) !important;
}
#latest-search a {
  color: var(--gold-700) !important;
}
#latest-search a:hover {
  color: var(--gold-600) !important;
}


/* ==========================================================================
   Phase 10: UI Mismatches, Background splits & Pagination Fixes
   ========================================================================== */

/* 1. Global Page Background Uniformity */
body, html, #body-home, #body-search, #body-item, #body-item-post, #body-item-edit, #body-contact, #body-user-public-profile, #body-user-register, #body-user-login, #body-user-dashboard {
  background-color: #f8fafc !important;
}

/* 2. Contact Us Card Float Clearing & Container Aligns */
#contact-wrap #contact-ins.inner {
  display: flow-root !important;
}

#contact-wrap #contact-ins.inner form#contact {
  display: flow-root !important;
  float: none !important;
  width: 100% !important;
}

/* 3. Input Box Icons Specificity Restrictions */
/* Restrict money icon in price wrapper to prevent overlaps */
#body-item-post .price-wrap .input-box > i.fa-money,
#body-item-edit .price-wrap .input-box > i.fa-money {
  position: absolute !important;
  left: 14px !important;
  right: auto !important;
  top: 22px !important;
  transform: translateY(-50%) !important;
  color: var(--slate-500) !important;
  font-size: 16px !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

/* Add left padding to price text field to prevent text/icon overlaps */
#body-item-post .price-wrap .input-box input#price,
#body-item-edit .price-wrap .input-box input#price {
  padding-left: 38px !important;
}

/* Reset any absolutely positioned icons inside simple-select dropdown options */
.simple-select i,
.simple-select .option i {
  position: static !important;
  display: inline-block !important;
  margin-right: 8px !important;
  float: none !important;
  vertical-align: middle !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

/* 4. Professional Pagination Redesign Globally */
.paginate {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 40px 0 !important;
  gap: 6px !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  box-sizing: border-box !important;
}
.paginate ul {
  display: flex !important;
  gap: 6px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.paginate li {
  float: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.paginate a, .paginate span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--slate-700) !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: var(--shadow-sm) !important;
  float: none !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}
.paginate a:hover, .paginate span:hover {
  background: var(--slate-100) !important;
  color: var(--slate-900) !important;
  border-color: #cbd5e1 !important;
}
.paginate .searchPaginationSelected,
.paginate em.searchPaginationSelected,
.paginate .active,
.paginate .current {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border-color: var(--gold-700) !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25) !important;
}

/* 5. Pictures Upload Box & Sample Box Refinements */
#body-item-post fieldset.photos .box,
#body-item-edit fieldset.photos .box {
  display: block !important;
  width: 100% !important;
  min-height: 280px !important;
  background: var(--slate-50) !important;
  border: 2px dashed #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-sizing: border-box !important;
}

#body-item-post #photos,
#body-item-edit #photos {
  display: block !important;
  clear: both !important;
  overflow: hidden !important;
}

#body-item-post .qq-upload-button,
#body-item-edit .qq-upload-button {
  float: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
}

#body-item-post .sample-box-wrap,
#body-item-edit .sample-box-wrap {
  float: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
}

#body-item-post .sample-box,
#body-item-edit .sample-box {
  float: none !important;
  display: block !important;
  margin: 0 auto !important;
  border: none !important;
  background: transparent !important;
  width: 240px !important;
}

#body-item-post .sample-box .ins,
#body-item-edit .sample-box .ins {
  float: none !important;
  width: 240px !important;
  height: 240px !important;
  padding: 130px 15px 15px 15px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
  position: relative !important;
}

#body-item-post .sample-box .ins:hover,
#body-item-edit .sample-box .ins:hover {
  border-color: var(--gold-500) !important;
  box-shadow: var(--shadow-md) !important;
}

#body-item-post .sample-box .ins .fas,
#body-item-edit .sample-box .ins .fas,
#body-item-post .sample-box .ins .fa,
#body-item-edit .sample-box .ins .fa {
  position: absolute !important;
  top: 25% !important;
  left: 50% !important;
  text-align: center !important;
  font-size: 70px !important;
  line-height: 70px !important;
}

#body-item-post .sample-box .ins .fas.one,
#body-item-edit .sample-box .ins .fas.one,
#body-item-post .sample-box .ins .fa.one,
#body-item-edit .sample-box .ins .fa.one {
  transform: rotate(-7deg) !important;
  z-index: 1 !important;
  margin-left: -50px !important;
  color: var(--slate-300) !important;
}

#body-item-post .sample-box .ins .fas.two,
#body-item-edit .sample-box .ins .fas.two,
#body-item-post .sample-box .ins .fa.two,
#body-item-edit .sample-box .ins .fa.two {
  transform: rotate(7deg) !important;
  z-index: 2 !important;
  background: #ffffff !important;
  margin-left: -15px !important;
  margin-top: 15px !important;
  border-radius: 4px !important;
  color: var(--slate-400) !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid #cbd5e1 !important;
  padding: 4px !important;
  width: 70px !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#body-item-post .sample-box .ins .fas.three,
#body-item-edit .sample-box .ins .fas.three,
#body-item-post .sample-box .ins .fa.three,
#body-item-edit .sample-box .ins .fa.three {
  z-index: 4 !important;
  font-size: 28px !important;
  color: var(--gold-500) !important;
  margin-top: 48px !important;
  margin-left: -14px !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ==========================================================================
   User Forms Refinements (Login, Registration, Password Recovery/Reset)
   ========================================================================== */

/* ==========================================================================
   Phase 11: Premium Redesign for Login & Register Screens (#i-forms)
   ========================================================================== */

/* Page container layout */
#i-forms {
  float: none !important;
  display: block !important;
  max-width: 440px !important;
  margin: 60px auto 100px auto !important;
  font-family: 'Outfit', sans-serif !important;
  text-align: left !important;
}

#i-forms .box {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Card layout wrapper */
#i-forms .box .user_forms {
  padding: 36px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-xl) !important;
  box-sizing: border-box !important;
}

/* Card titles */
#i-forms h2 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin: 0 0 24px 0 !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Form fields layout */
#i-forms form fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

#i-forms form label {
  float: none !important;
  width: auto !important;
  clear: both !important;
  color: var(--slate-700) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 6px 0 !important;
  text-align: left !important;
  display: block !important;
}

#i-forms form label span.req {
  color: #ef4444 !important;
  margin-left: 4px !important;
  display: inline-block !important;
}

/* Inputs wrapper */
#i-forms .input-box {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px 0 !important;
  position: relative !important;
  display: block !important;
}

#i-forms .input-box.last {
  margin-bottom: 6px !important;
}

/* Sibling selectors to manage margins beautifully between inputs and labels */
#i-forms .input-box + label {
  margin-top: 16px !important;
}

/* Input fields styling */
#i-forms .input-box input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]),
#i-forms .input-box select {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 16px 12px 38px !important;
  font-size: 14px !important;
  font-family: 'Outfit', sans-serif !important;
  color: var(--slate-900) !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-sm) !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  height: 44px !important;
}

/* Input icon styling */
#i-forms .input-box i {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  z-index: 10 !important;
  font-size: 15px !important;
  margin: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

/* Placeholder color overrides */
#i-forms input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

/* Error lists */
#i-forms ul#error_list {
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  color: #b91c1c !important;
  margin: 0 0 16px 0 !important;
  list-style: none !important;
  font-size: 13px !important;
  text-align: left !important;
}

#i-forms ul#error_list li {
  margin-bottom: 4px !important;
}

#i-forms ul#error_list li:last-child {
  margin-bottom: 0 !important;
}

/* Social logins styling */
#i-forms .external-log {
  float: none !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 11px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  margin: 0 0 12px 0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

#i-forms .external-log.fb {
  background: #1877f2 !important;
  border: 1px solid #1877f2 !important;
  color: #ffffff !important;
}

#i-forms .external-log.fb:hover {
  background: #166fe5 !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}

#i-forms .external-log.gc {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--slate-700) !important;
}

#i-forms .external-log.gc i {
  color: #ea4335 !important;
}

#i-forms .external-log.gc:hover {
  background: var(--slate-100) !important;
  transform: translateY(-1px) !important;
  color: var(--slate-700) !important;
}

/* Or separator */
#i-forms .or {
  float: none !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 20px 0 !important;
  font-size: 13px !important;
  color: #94a3b8 !important;
  height: auto !important;
  line-height: normal !important;
}

#i-forms .or > div.left,
#i-forms .or > div.right {
  position: static !important;
  flex: 1 !important;
  border-top: 1px solid #e2e8f0 !important;
  height: 0 !important;
}

#i-forms .or > span {
  padding: 0 12px !important;
  display: inline-block !important;
  background: #ffffff !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Form Action Button */
#i-forms button[type="submit"] {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  margin: 10px 0 0 0 !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2) !important;
  transition: all 0.2s ease !important;
  height: 44px !important;
  box-sizing: border-box !important;
}

#i-forms button[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.3) !important;
  color: #ffffff !important;
}

/* Recover / Forgot password forms details overrides */
#i-forms.recover button[type="submit"],
#i-forms.forgot button[type="submit"] {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
}

/* Remember me styling */
#i-forms .login-line {
  margin: 4px 0 0 0 !important;
}

#i-forms .input-box-check {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#i-forms .input-box-check input[type="checkbox"] {
  margin: 0 !important;
  cursor: pointer !important;
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--gold-700) !important;
}

#i-forms .input-box-check label {
  font-size: 13px !important;
  color: var(--slate-600) !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* Card footer links formatting */
#i-forms .iform-footer {
  margin-top: 24px !important;
  padding-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  font-size: 13px !important;
  color: var(--slate-500) !important;
}

#i-forms .iform-footer .swap,
#i-forms .iform-footer .lost {
  float: none !important;
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-align: left !important;
  margin: 0 !important;
}

#i-forms .iform-footer .swap + .lost {
  margin-top: 0 !important;
}

#i-forms .iform-footer a {
  color: var(--gold-700) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: color 0.2s ease !important;
}

#i-forms .iform-footer a:hover {
  color: var(--gold-600) !important;
  text-decoration: underline !important;
}

/* Forgot Password Page row overrides */
#i-forms .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
}

#i-forms .row:last-of-type {
  margin-bottom: 0 !important;
}

#i-forms .row label {
  margin: 0 0 6px 0 !important;
}

#i-forms .row .input-box {
  margin: 0 !important;
}

/* Center captcha */
#i-forms div[id^="anr_captcha_field_"] {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 10px 0 !important;
  box-sizing: border-box !important;
}

/* Specific Recover Page Layout */
#i-forms.recover,
#i-forms.forgot {
  max-width: 440px !important;
  margin: 60px auto 100px auto !important;
}

#i-forms.recover .user_forms,
#i-forms.forgot .user_forms {
  margin-bottom: 0 !important;
}

#i-forms.recover h2,
#i-forms.forgot h2 {
  text-align: center !important;
}

/* Uniform body background across all user forms pages */
body#body-user-register,
body#body-user-login,
body#body-user-forgot-password,
body#body-user-recover {
  background-color: #f8fafc !important;
}

/* Hide plugin boilerplate support links from page footer */
.pss-support,
.mb-support-link {
  display: none !important;
}

/* ==========================================================================
   Phase 12: Premium Live Bidding Card Redesign
   ========================================================================== */
.antique-bidding-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: var(--shadow-md) !important;
  font-family: 'Outfit', sans-serif !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  float: left !important;
  clear: both !important;
}

.antique-bidding-card .bid-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px !important;
}

.antique-bidding-card .bid-header h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
  line-height: normal !important;
  float: none !important;
}

.antique-bidding-card .live-indicator {
  font-size: 11px !important;
  color: var(--emerald-600) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.antique-bidding-card .live-indicator.expired {
  color: #ef4444 !important;
}

.antique-bidding-card .live-indicator i {
  font-size: 8px !important;
  animation: livePulse 1.5s infinite ease-in-out !important;
}

@keyframes livePulse {
  0% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.3; transform: scale(0.9); }
}

.antique-bidding-card .bid-stats {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  gap: 12px !important;
}

.antique-bidding-card .stat-col {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.antique-bidding-card .stat-col .label {
  font-size: 11px !important;
  color: var(--slate-500) !important;
  margin-bottom: 4px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.antique-bidding-card .stat-col .value {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
}

.antique-bidding-card .stat-col .value.gold-accent {
  color: var(--gold-700) !important;
}

.antique-bidding-card .bid-expired-notice {
  background-color: #fef2f2 !important;
  border: 1px solid #fee2e2 !important;
  color: #ef4444 !important;
  padding: 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.antique-bidding-card .bid-action-form {
  display: flex !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.antique-bidding-card .bid-action-form.guest {
  flex-direction: column !important;
}

.antique-bidding-card .btn.login-to-bid {
  width: 100% !important;
  text-align: center !important;
  padding: 12px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

.antique-bidding-card .owner-notice {
  background-color: var(--slate-100) !important;
  color: var(--slate-600) !important;
  padding: 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

/* Seller Admin Console Styles */
.antique-bidding-card .seller-console-card {
  background-color: var(--slate-50) !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  display: block !important;
  text-align: left !important;
}

.antique-bidding-card .seller-console-card h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin: 0 0 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.antique-bidding-card .seller-console-card .console-desc {
  font-size: 12px !important;
  color: var(--slate-600) !important;
  margin: 0 0 12px 0 !important;
}

.antique-bidding-card .seller-console-card .console-winner-details {
  background: #ffffff !important;
  border: 1px solid var(--slate-100) !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  margin-bottom: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.antique-bidding-card .seller-console-card .winner-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 12px !important;
  color: var(--slate-700) !important;
}

.antique-bidding-card .seller-console-card .winner-row strong {
  color: var(--slate-500) !important;
}

.antique-bidding-card .seller-console-card .winner-row span {
  font-weight: 600 !important;
  color: var(--slate-900) !important;
}

.antique-bidding-card .seller-console-card .winner-row .gold-accent {
  color: var(--gold-700) !important;
}

.antique-bidding-card .seller-console-card .winner-row .status-won {
  color: var(--emerald-600) !important;
}

.antique-bidding-card .cancel-winner-btn {
  width: 100% !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background-color: #ef4444 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.antique-bidding-card .cancel-winner-btn:hover {
  background-color: #dc2626 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.2) !important;
}

.antique-bidding-card #seller-console-feedback {
  width: 100% !important;
  margin-top: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: none;
}

/* Winner Congratulations Box */
.antique-bidding-card .bid-winner-notice {
  background-color: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  display: block !important;
  text-align: left !important;
}

.antique-bidding-card .bid-winner-notice h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--emerald-800) !important;
  margin: 0 0 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.antique-bidding-card .bid-winner-notice .winner-desc {
  font-size: 12px !important;
  color: var(--emerald-700) !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4 !important;
}

.antique-bidding-card .bid-winner-notice .contact-seller-win-btn {
  display: inline-flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background-color: var(--emerald-600) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  margin-top: 8px !important;
  transition: all 0.2s ease !important;
}

.antique-bidding-card .bid-winner-notice .contact-seller-win-btn:hover {
  background-color: var(--emerald-700) !important;
  color: #ffffff !important;
}

.antique-bidding-card .input-wrap {
  position: relative !important;
  flex: 1 !important;
}

.antique-bidding-card .currency-label {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--slate-500) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

.antique-bidding-card input[type="number"] {
  width: 100% !important;
  padding: 10px 12px 10px 42px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  background-color: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
  height: 40px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

.antique-bidding-card input[type="number"]:focus {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}

.antique-bidding-card #place-bid-btn {
  height: 40px !important;
  padding: 0 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 3px 6px rgba(217, 119, 6, 0.15) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.antique-bidding-card #place-bid-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25) !important;
  color: #ffffff !important;
}

.antique-bidding-card #bid-feedback-msg {
  width: 100% !important;
  margin-top: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: none;
}

.antique-bidding-card #bid-feedback-msg .error-alert {
  color: #ef4444 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.antique-bidding-card #bid-feedback-msg .success-alert {
  color: var(--emerald-600) !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

/* Bid history logs */
.antique-bidding-card .bid-history {
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.antique-bidding-card .bid-history h4 {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--slate-700) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  margin: 0 0 10px 0 !important;
  font-family: 'Outfit', sans-serif !important;
}

.antique-bidding-card #bid-history-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.antique-bidding-card #bid-history-list li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 13px !important;
  color: var(--slate-600) !important;
  padding: 6px 0 !important;
  border-bottom: 1px dashed #f1f5f9 !important;
}

.antique-bidding-card #bid-history-list li:last-child {
  border-bottom: none !important;
}

.antique-bidding-card #bid-history-list li.no-bids-msg {
  font-style: italic !important;
  color: var(--slate-400) !important;
  justify-content: center !important;
  border: none !important;
  padding: 10px 0 !important;
}

.antique-bidding-card .bidder-name {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
}

.antique-bidding-card .bidder-name i {
  color: var(--slate-400) !important;
  font-size: 14px !important;
}

.antique-bidding-card .bid-amt {
  font-weight: 700 !important;
  color: var(--slate-900) !important;
}

/* Antique Bids Seller Config Post Card */
.antique-bids-post-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-top: 24px !important;
  font-family: 'Outfit', sans-serif !important;
  box-sizing: border-box !important;
}

.antique-bids-post-card .header-section h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  margin: 0 0 16px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-bottom: 2px solid var(--slate-100) !important;
  padding-bottom: 10px !important;
}

.antique-bids-post-card .header-section h3 i {
  color: var(--gold-700) !important;
}

.antique-bids-post-card .checkbox-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

/* Slide Switch toggle custom styles */
.antique-bids-post-card .toggle-switch {
  position: relative !important;
  display: inline-block !important;
  width: 48px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
}

.antique-bids-post-card .toggle-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.antique-bids-post-card .slider-toggle {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #cbd5e1 !important;
  transition: .3s !important;
  border-radius: 24px !important;
}

.antique-bids-post-card .slider-toggle:before {
  position: absolute !important;
  content: "" !important;
  height: 18px !important;
  width: 18px !important;
  left: 3px !important;
  bottom: 3px !important;
  background-color: white !important;
  transition: .3s !important;
  border-radius: 50% !important;
}

.antique-bids-post-card .toggle-switch input:checked + .slider-toggle {
  background-color: var(--gold-700) !important;
}

.antique-bids-post-card .toggle-switch input:checked + .slider-toggle:before {
  transform: translateX(24px) !important;
}

.antique-bids-post-card .toggle-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--slate-900) !important;
}

/* Sliding inputs panel */
.antique-bids-post-card .bids-slide-panel {
  display: flex;
  flex-direction: column !important;
  gap: 16px !important;
  padding-top: 16px !important;
  border-top: 1px dashed #e2e8f0 !important;
}

.antique-bids-post-card .form-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.antique-bids-post-card .form-row label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--slate-700) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 2px !important;
}

.antique-bids-post-card .input-wrap-post {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.antique-bids-post-card .currency-label-post {
  position: absolute !important;
  left: 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--slate-400) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.antique-bids-post-card .input-wrap-post input {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 14px 0 45px !important;
  font-size: 14px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
  color: var(--slate-900) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.antique-bids-post-card .input-wrap-post input:focus {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
  outline: none !important;
}

.antique-bids-post-card .select-wrap select {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  color: var(--slate-900) !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.antique-bids-post-card .select-wrap select:focus {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
  outline: none !important;
}

.antique-bids-post-card .help-text {
  font-size: 11px !important;
  color: var(--slate-700) !important;
  margin-top: 2px !important;
}

/* Conflicting layout float and flex overrides */
.antique-bids-post-card .header-section h3 {
  float: none !important;
  clear: none !important;
  width: 100% !important;
}

.antique-bids-post-card .checkbox-row {
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

#body-item-post .content.add_item, 
#body-item-edit .content.add_item {
  flex-wrap: wrap !important;
}

#body-item-post ul#error_list.new-item, 
#body-item-edit ul#error_list.new-item {
  flex: 0 0 100% !important;
  width: 100% !important;
}

/* Responsive adjustments for antique bidding features on mobile */
@media screen and (max-width: 767px) {
  .antique-bidding-card .bid-stats {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .antique-bidding-card .stat-col {
    width: 100% !important;
    flex: none !important;
  }
  .antique-bidding-card .bid-action-form {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .antique-bidding-card .bid-action-form .input-wrap {
    width: 100% !important;
    flex: none !important;
  }
  .antique-bidding-card .bid-action-form #place-bid-btn {
    width: 100% !important;
    height: 44px !important;
    flex: none !important;
  }
  .antique-bidding-card .bid-amt {
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   GLOBAL UI FIXES (Images, Caret Alignment, Dropdowns)
   ========================================================================== */

/* 2. Global Image Display & Alignment Fix */
#listing #pictures .item-bxslider li a {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  padding-top: 66% !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
}

#listing #pictures .item-bxslider li a img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  transition: transform 0.3s ease !important;
}

#listing #pictures .item-bxslider li a:hover img {
  transform: scale(1.03) !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.simple-prod .item-img-wrap {
  background-color: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.simple-prod .item-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* 3 & 6. Dropdown Caret Alignment & Non-disruptive Expanded Dropdown Lists */
.simple-select {
  position: relative !important;
  overflow: visible !important;
}

.simple-select .text {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-left: 12px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}

.simple-select .text i:not(.help):not(.fa-gear),
.simple-select .text i.fa-angle-down {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  float: none !important;
  font-size: 14px !important;
  color: var(--slate-500) !important;
  pointer-events: none !important;
}

.simple-select .list {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  max-height: 250px !important;
  overflow-y: auto !important;
}

/* Hide legacy/unprofessional 'Preview' button on card thumbnails */
.simple-prod .orange-but,
.white .img-bottom > a.orange-but,
.item-img-wrap .orange-but,
.orange-but.open-image {
  display: none !important;
}

.simple-prod .img-bottom {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  padding: 0 !important;
  z-index: 6 !important;
  background: transparent !important;
}

.simple-prod .img-bottom:before {
  display: none !important;
}

/* -------------------------------------------------------------
   NUNITO FONT OVERRIDE & RESPONSIVE MOBILE CARD DESIGN (MOCKUP MATCH)
   ------------------------------------------------------------- */

/* Global Font Override */
body, html, button, input, select, textarea, h1, h2, h3, h4, h5, h6,
.category-name, .hero-title, .hero-subtitle, .product-title, .simple-prod .title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Mobile & Responsive Ad Card Styling (Matching Mockup Image) */
@media (max-width: 767px) {
  .white .block, #search-items, .latest-listings-section .category-grid, .white {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .simple-prod {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto 24px auto !important;
    float: none !important;
  }

  .simple-prod .simple-wrap {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #eef2f6 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .simple-prod .item-img-wrap {
    width: 100% !important;
    height: 240px !important;
    position: relative !important;
    background: #f1f5f9 !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    overflow: hidden !important;
  }

  .simple-prod .item-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
  }

  .simple-prod .item-details-wrap {
    padding: 20px 20px 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .simple-prod .item-details-wrap .title {
    font-family: 'Nunito', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
    display: block !important;
  }

  .simple-prod .item-details-wrap .description {
    font-family: 'Nunito', sans-serif !important;
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .simple-prod .item-details-wrap .description .img {
    display: none !important;
  }

  .simple-prod .item-details-wrap .bottom {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .simple-prod .item-details-wrap .location,
  .simple-prod .item-details-wrap .category {
    font-family: 'Nunito', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0284c7 !important;
    background: #f0f9ff !important;
    padding: 6px 14px !important;
    border-radius: 12px !important;
    display: inline-block !important;
  }

  .simple-prod .item-details-wrap .price {
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 18px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* =============================================================
   MASTER 100% UNCROPPED IMAGE OVERRIDE FOR ALL PAGES (.white & .simple-prod)
   ================================================------------- */

/* Strictly remove any breaking pseudo elements */
.simple-prod .item-details-wrap .bottom:after,
.simple-prod .simple-wrap:after,
.simple-prod:after {
  display: none !important;
  content: none !important;
}

.white .img-link,
.white .item-img-wrap a.img-link,
.simple-prod .item-img-wrap a.img-link,
.simple-prod a.img-link {
  padding-top: 0 !important;
  padding: 0 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  float: none !important;
  overflow: hidden !important;
}

.white .img-link img,
.white .item-img-wrap a.img-link img,
.simple-prod .item-img-wrap a.img-link img,
.simple-prod a.img-link img {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px !important;
  transform: none !important;
}

.white .item-img-wrap,
.simple-prod .item-img-wrap {
  padding: 10px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  height: 180px !important;
  overflow: hidden !important;
}

/* Category Container Reset (Prevents double background badge) */
.white .item-details-wrap .category,
.simple-prod .item-details-wrap .category {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 4px !important;
}

.white .item-details-wrap .category a span,
.simple-prod .item-details-wrap .category a span {
  font-family: 'Nunito', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #d97706 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  display: inline-block !important;
}

/* 2. Listing Detail Page Main Photo Gallery - Prevent top cropping */
#listing #pictures,
#listing #pictures .bx-wrapper,
#listing #pictures .item-bxslider {
  background: #f8fafc !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

#listing #pictures .item-bxslider li {
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#listing #pictures .item-bxslider li a {
  position: relative !important;
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 520px !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  background: #f8fafc !important;
}

#listing #pictures .item-bxslider li a img {
  position: static !important;
  max-width: 100% !important;
  max-height: 500px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* Mobile responsive listing detail image height adjustment */
@media (max-width: 767px) {
  #listing #pictures .item-bxslider li a {
    height: 380px !important;
  }
  #listing #pictures .item-bxslider li a img {
    max-height: 360px !important;
  }
}

/* -------------------------------------------------------------
   MOBILE VIEW (2-COLUMN & 1-COLUMN COMPATIBLE GRID CARDS)
   ------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Fix container padding & grid alignment */
  .white .block, #search-items, .latest-listings-section .inner, .category-grid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .white.gallery .search-items-wrap .wrap,
  #search-items .search-items-wrap .wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* Grid card wrapper */
  .simple-prod {
    box-sizing: border-box !important;
    padding: 4px !important;
    margin-bottom: 8px !important;
  }

  /* Main Card Box */
  .simple-prod .simple-wrap {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  /* Image Container - Full image, 100% uncropped guarantee */
  .simple-prod .item-img-wrap {
    width: 100% !important;
    height: 165px !important;
    position: relative !important;
    background: #f8fafc !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 8px 6px 8px !important;
    box-sizing: border-box !important;
  }

  .simple-prod .item-img-wrap img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
  }

  /* Labels (Premium / Sold) */
  .simple-prod .labels {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    z-index: 5 !important;
    display: flex !important;
    gap: 4px !important;
  }

  .simple-prod .labels .label {
    font-family: 'Nunito', sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    background: rgba(15, 23, 42, 0.8) !important;
  }

  .simple-prod .labels .premium-label {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  }

  /* Item Details Container */
  .simple-prod .item-details-wrap {
    padding: 12px 10px 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
  }

  /* Category Tag */
  .simple-prod .item-details-wrap .category {
    margin-bottom: 4px !important;
  }

  .simple-prod .item-details-wrap .category a span {
    font-family: 'Nunito', sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    color: #d97706 !important;
    background: rgba(245, 158, 11, 0.12) !important;
    padding: 3px 8px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    display: inline-block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Title */
  .simple-prod .item-details-wrap .title {
    font-family: 'Nunito', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 2px 0 6px 0 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 36px !important;
  }

  /* Description - Hide on compact mobile cards to keep cards uniform */
  .simple-prod .item-details-wrap .description {
    display: none !important;
  }

  /* Location */
  .simple-prod .item-details-wrap .location {
    font-family: 'Nunito', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .simple-prod .item-details-wrap .location:before {
    content: '\f041' !important;
    font-family: 'FontAwesome' !important;
    font-size: 11px !important;
    color: #0284c7 !important;
  }

  /* Card Bottom & Price */
  .simple-prod .item-details-wrap .bottom {
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .simple-prod .item-details-wrap .price {
    font-family: 'Nunito', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #059669 !important;
    letter-spacing: -0.2px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* -------------------------------------------------------------
   DESKTOP VIEW GRID CARDS (CLEAN & ELEGANT)
   ------------------------------------------------------------- */
@media (min-width: 768px) {
  .simple-prod .simple-wrap {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .simple-prod:hover .simple-wrap {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.1) !important;
    border-color: #cbd5e1 !important;
  }

  .simple-prod .item-img-wrap {
    height: 210px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 10px 6px 10px !important;
    box-sizing: border-box !important;
  }

  .simple-prod .item-img-wrap img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
  }

  .simple-prod .item-details-wrap {
    padding: 16px !important;
  }

  .simple-prod .item-details-wrap .title {
    font-family: 'Nunito', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
  }

  .simple-prod .item-details-wrap .price {
    font-family: 'Nunito', sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #059669 !important;
  }
}

/* -------------------------------------------------------------
   IMAGE UPLOAD PREVIEW (POST & EDIT AD - UNCROPPED FULL VIEW)
   ------------------------------------------------------------- */
#photos .ajax_preview_img,
.ajax_preview_img {
  width: 125px !important;
  height: 125px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03) !important;
  box-sizing: border-box !important;
  padding: 4px !important;
}

#photos .ajax_preview_img img,
.ajax_preview_img img,
.qq-upload-list li img,
.photos_div .photo-card img,
.qq-thumbnail-selector {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px !important;
  margin: 0 auto !important;
  display: block !important;
}

#photos .qq-upload-list li {
  width: 125px !important;
  height: 125px !important;
  border-radius: 12px !important;
  overflow: visible !important;
  background: #f1f5f9 !important;
  margin: 0 14px 15px 0 !important;
}

/* -------------------------------------------------------------
   UPLOAD GUIDANCE BANNER & CARD SUBTEXT (ENTERPRISE LOOK)
   ------------------------------------------------------------- */
.upload-guide-banner {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}

.upload-guide-banner .guide-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #334155 !important;
  background: #ffffff !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  font-family: 'Inter', 'Nunito', sans-serif !important;
}

.upload-guide-banner .guide-item i {
  color: #0284c7 !important;
  font-size: 14px !important;
}

.upload-guide-banner .guide-item strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.upload-card-subtext {
  display: block !important;
  font-size: 12px !important;
  color: #0284c7 !important;
  margin-top: 8px !important;
  font-weight: 600 !important;
  background: rgba(2, 132, 199, 0.08) !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 640px) {
  .upload-guide-banner {
    padding: 12px !important;
    gap: 8px !important;
  }
  .upload-guide-banner .guide-item {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
  }
}

/* -------------------------------------------------------------
   FLASH MESSAGES & CONFIRMATION BANNER CLOSE BUTTON FIX
   ------------------------------------------------------------- */
.flash-wrap,
#flash_js {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 15px auto !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 9999 !important;
  clear: both !important;
}

.flashmessage, 
#flashmessage,
.pubMessages,
.flashmessage-ok,
.flashmessage-error,
.flashmessage-warning,
.flashmessage-info {
  position: relative !important;
  z-index: 9999 !important;
  border-radius: 12px !important;
  padding: 14px 60px 14px 20px !important; /* Right padding ensures close X button never overlaps text or controls */
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12) !important;
  font-family: 'Inter', 'Nunito', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  clear: both !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

/* Flash message close X icon */
.flashmessage .ico-close,
.flashmessage .close,
.pubMessages .close,
#flashmessage .close,
#flashmessage a.close,
.flashmessage a.ico-close {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 10000 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.2) !important;
  color: #ffffff !important;
  float: none !important;
  text-indent: 0 !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}

.flashmessage .ico-close:hover,
.flashmessage .close:hover,
.pubMessages .close:hover,
#flashmessage .close:hover {
  background: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
}

.flashmessage .ico-close:before,
.flashmessage .close:before {
  font-family: "FontAwesome" !important;
  content: "\f00d" !important;
  font-size: 14px !important;
  color: #ffffff !important;
  display: block !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}

/* Prevent catalog header search controls from overlapping banner */
#body-search .search-header,
#body-search .control-wrap,
#body-search .sort-by,
#body-search .list-grid-buttons {
  position: relative !important;
  z-index: 10 !important;
}

/* -------------------------------------------------------------
   USER PROFILE MENU DROPDOWN FIX & ELEVATION (SOLVES TEXT OVERLAP)
   ------------------------------------------------------------- */
#header-bar .user-header-block,
.user-header-block {
  position: relative !important;
  z-index: 99999 !important;
}

#header-bar .user_account.user-header,
.user_account.user-header {
  position: absolute !important;
  top: 50px !important;
  right: 0 !important;
  width: 230px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.22), 0 10px 15px -5px rgba(15, 23, 42, 0.12) !important;
  z-index: 999999 !important;
  padding: 10px 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
}

#header-bar .user_account.user-header #sidebar,
.user_account.user-header #sidebar {
  width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#header-bar .user_account.user-header #sidebar ul,
#header-bar .user_account.user-header #sidebar li,
.user_account.user-header #sidebar ul,
.user_account.user-header #sidebar li {
  background: #ffffff !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}

#header-bar .user_account.user-header #sidebar a,
#header-bar .user_account.user-header #sidebar .userItem a,
.user_account.user-header #sidebar a,
.user_account.user-header #sidebar .userItem a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 18px !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#header-bar .user_account.user-header #sidebar a:hover,
#header-bar .user_account.user-header #sidebar .userItem a:hover,
.user_account.user-header #sidebar a:hover,
.user_account.user-header #sidebar .userItem a:hover {
  background: #f8fafc !important;
  color: var(--gold-600) !important;
  padding-left: 22px !important;
}

#header-bar .user_account.user-header #sidebar:before,
.user_account.user-header #sidebar:before {
  display: none !important;
}

/* -------------------------------------------------------------
   GLOBAL MODERN ENTERPRISE FORM SYSTEM (SAFE & SCOPED)
   ------------------------------------------------------------- */
/* Form Containers & Fieldsets */
form fieldset,
.add_item fieldset,
.user-profile-fieldset,
.contact-fieldset,
#contact_form,
#sendfriend,
#comment_form,
.user-login-form,
.user-register-form,
.user-account-box,
.profile-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
}

/* Labels across all forms */
form label,
.add_item label,
.contact_form label,
#sidebar-search label,
.row label,
.field-row label {
  font-family: 'Inter', 'Nunito', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* All Text Inputs, Passwords, Emails, Numbers, Selects & Textareas */
input[type="text"]:not(.term):not(#subject):not(#yourSubject):not(#yourName):not(#yourEmail):not(#s_name):not(#s_email),
input[type="password"],
input[type="email"]:not(#yourEmail):not(#s_email),
input[type="tel"],
input[type="number"],
input[type="url"],
select:not(.no-custom),
textarea {
  font-family: 'Inter', 'Nunito', sans-serif !important;
  font-size: 14px !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding-top: 10px !important;
  padding-right: 16px !important;
  padding-bottom: 10px !important;
  padding-left: 16px;
  height: 46px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  width: 100% !important;
}

textarea {
  height: auto !important;
  min-height: 120px !important;
  line-height: 1.6 !important;
}

input[type="text"]:not(.term):focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}

/* Location Picker Input Text Padding & Icon Alignment (Fixes 🔍earch... overlap) */
#location-picker input.term,
.hero-search-panel #location-picker .term,
#sidebar-search #location-picker .term,
.input-box input.term {
  padding-left: 48px !important;
  font-family: 'Inter', 'Nunito', sans-serif !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  outline: none !important;
}

#location-picker input.term:focus,
.hero-search-panel #location-picker .term:focus,
#sidebar-search #location-picker .term:focus,
.input-box input.term:focus {
  outline: none !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  background-color: #ffffff !important;
}

/* Header Search Box & Magnifying Glass Button (Fixes Header Button Alignment) */
#header-bar .search-top {
  width: 240px !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

#header-bar .search-top form {
  width: 100% !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

#header-bar .search-top input[type="text"]#query {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  height: 40px !important;
  border-radius: 20px !important;
  padding: 0 42px 0 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

#header-bar .search-top input[type="text"]#query:focus {
  background: #ffffff !important;
  color: var(--slate-900) !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25) !important;
}

#header-bar .search-top button,
#header-bar .search-top button[type="submit"] {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: 24px !important;
  width: 24px !important;
  min-height: unset !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #94a3b8 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#header-bar .search-top button i {
  font-size: 14px !important;
  color: inherit !important;
}

#header-bar .search-top button:hover {
  color: #ffffff !important;
  background: transparent !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

/* Standard Action Buttons Modernization */
.add_item button[type="submit"],
.add_item input[type="submit"],
.user-profile-fieldset button,
.contact-fieldset button,
#contact_form button,
#sendfriend button,
#comment_form button,
.user-login-form button,
.user-register-form button,
.btn-submit-form {
  font-family: 'Inter', 'Nunito', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  height: 48px !important;
  padding: 0 28px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.add_item button[type="submit"]:hover,
.add_item input[type="submit"]:hover,
.user-profile-fieldset button:hover,
.contact-fieldset button:hover,
#contact_form button:hover,
#sendfriend button:hover,
#comment_form button:hover,
.user-login-form button:hover,
.user-register-form button:hover,
.btn-submit-form:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4) !important;
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-800) 100%) !important;
}

.btn-secondary {
  height: 46px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  padding: 0 22px !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Hide Filters button & remove horizontal divider lines */
#show-filters,
.control #show-filters,
a#show-filters {
  display: none !important;
}

/* -------------------------------------------------------------
   SITE-WIDE UNIFIED INPUT ICON PADDING & LINE REMOVAL SYSTEM
   ------------------------------------------------------------- */
/* 1. Remove horizontal gray lines across all sub-navs, header-lines, and control sections */
html body #header-line,
html body #body-search #header-line,
html body #sub-nav,
html body #body-search #sub-nav,
html body #sub-nav .inside,
html body #body-search #sub-nav .inside,
html body #sub-nav .control,
html body #body-search #sub-nav .control,
html body .search-header,
html body #search-items,
html body .content.list {
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 2. Position ALL Input Icons (.input-box i, #location-picker:after, etc.) */
html body .input-box,
html body #location-picker,
html body .field-row,
html body span.input-box,
html body div.input-box {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

html body .input-box i,
html body .input-box .fa,
html body #location-picker:before,
html body #location-picker:after,
html body #location-picker i,
html body .field-row i.fa,
html body span.input-box i,
html body div.input-box i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 15px !important;
  color: #64748b !important;
  z-index: 10 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3. Mandatory 48px Left Padding for ALL Inputs with Icons (ABSOLUTE HIGHEST SPECIFICITY OVERRIDE) */
form#contact span.input-box input,
form#contact .input-box input,
form#contact input,
#contact-wrap form#contact input,
#contact-wrap .input-box input,
#contact-wrap #contact-ins .input-box input,
#contact-wrap input,
#contact-ins input,
#contact_form input,
#contact input,
#body-contact form#contact input,
#body-contact .input-box input,
#sendfriend input,
#sendfriend .input-box input,
#comment_form input,
#comment_form .input-box input,
#sidebar-search input,
#sidebar-search .input-box input,
#user-profile input,
#user-profile .input-box input,
#body-user-profile input,
.add_item .input-box input,
#location-picker input,
#location-picker input.term,
.hero-search-panel #location-picker .term,
#sidebar-search #location-picker .term,
input#subject,
input#yourSubject,
input#yourName,
input#yourEmail,
input#s_name,
input#s_email,
html body .input-box input,
html body .input-box select,
html body .input-box textarea,
html body span.input-box input,
html body div.input-box input {
  padding-left: 48px !important;
}

form#contact span.input-box i,
form#contact .input-box i,
#contact-wrap .input-box i,
#contact-ins .input-box i,
#contact_form .input-box i,
#contact .input-box i,
#body-contact .input-box i,
#sendfriend .input-box i,
#comment_form .input-box i,
#sidebar-search .input-box i,
#user-profile .input-box i,
#body-user-profile .input-box i,
.add_item .input-box i,
.input-box i,
.input-box .fa,
#location-picker:before,
#location-picker:after,
#location-picker i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 15px !important;
  color: #64748b !important;
  z-index: 10 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fix focus rings across all location pickers and subject inputs */
html body .input-box input:focus,
html body .input-box select:focus,
html body #location-picker input:focus,
html body #location-picker input.term:focus {
  outline: none !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

/* 
   =====================================================
   COMPLETE ENTERPRISE UI/UX REFINEMENTS & USABILITY FIXES
   =====================================================
*/

/* 1. Modern Single-Card Contact Form Layout */
.modern-contact-container {
  max-width: 760px !important;
  margin: 40px auto 80px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.modern-contact-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 40px 44px !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .modern-contact-card {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
}

.contact-card-header {
  text-align: center !important;
  margin-bottom: 32px !important;
}

.contact-header-icon {
  width: 56px !important;
  height: 56px !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: var(--gold-700) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  margin-bottom: 14px !important;
}

.contact-card-header h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.5px !important;
}

.contact-header-sub {
  font-size: 15px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.contact-form-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.form-group {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.form-group.half-width {
  flex: 1 1 calc(50% - 10px) !important;
  min-width: 260px !important;
}

.form-group.full-width {
  flex: 1 1 100% !important;
  width: 100% !important;
}

.form-group label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.form-group label .req {
  color: #ef4444 !important;
  font-weight: 800 !important;
}

.contact-form-grid .input-box {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

.contact-form-grid .input-box i {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 16px !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.contact-form-grid .input-box input[type="text"],
.contact-form-grid .input-box input[type="email"] {
  height: 48px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 16px 0 48px !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.contact-form-grid .input-box textarea {
  min-height: 140px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 14px 16px !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
  line-height: 1.6 !important;
}

.contact-form-grid .input-box input:focus,
.contact-form-grid .input-box textarea:focus {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.18) !important;
  outline: none !important;
}

.contact-submit-btn {
  width: 100% !important;
  height: 52px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-top: 10px !important;
}

.contact-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45) !important;
  color: #ffffff !important;
}


/* 2. Modern Transaction & Condition Select Dropdowns */
select:not(.no-custom),
.search-side-form select,
#sidebar-search select,
.input-box select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px !important;
  padding-right: 38px !important;
  padding-left: 14px !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #f8fafc !important;
  height: 46px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

select:not(.no-custom):focus,
.search-side-form select:focus,
.input-box select:focus {
  background-color: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
  outline: none !important;
}


/* 3. Prominent Centered "Search More" / Pagination CTA Buttons */
.paginate,
.pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 40px 0 !important;
  width: 100% !important;
}

.paginate a.search-more-btn,
.paginate .paginate-next,
#ajax-next-page,
.paginate a.search-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 32px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
}

.paginate a.search-more-btn:hover,
.paginate .paginate-next:hover,
#ajax-next-page:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45) !important;
  color: #ffffff !important;
}


/* 4. Footer Social Link Circular Pill Buttons & Alignment */
#footer {
  background: #090e1a !important;
  color: #94a3b8 !important;
  padding: 30px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#footer .inside {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

#footer .left {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

#footer .left a {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

#footer .left a:hover {
  color: var(--gold-500) !important;
}

#footer .right.share {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

#footer .right.share span {
  display: inline-block !important;
  margin: 0 !important;
}

#footer .right.share span a {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#footer .right.share span.facebook a:hover { background: #1877f2 !important; border-color: #1877f2 !important; transform: translateY(-3px) !important; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4) !important; }
#footer .right.share span.twitter a:hover { background: #1da1f2 !important; border-color: #1da1f2 !important; transform: translateY(-3px) !important; box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4) !important; }
#footer .right.share span.pinterest a:hover { background: #bd081c !important; border-color: #bd081c !important; transform: translateY(-3px) !important; box-shadow: 0 4px 12px rgba(189, 8, 28, 0.4) !important; }
#footer .right.share span.linkedin a:hover { background: #0a66c2 !important; border-color: #0a66c2 !important; transform: translateY(-3px) !important; box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4) !important; }
#footer .right.share span.whatsapp a:hover { background: #25d366 !important; border-color: #25d366 !important; transform: translateY(-3px) !important; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important; }


/* 5. Refined Category Grid (Publish Ad) */
#flat-cat .category-grid,
.flat-categories {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

#flat-cat .cat-box,
.flat-categories .cat-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#flat-cat .cat-box:hover,
.flat-categories .cat-box:hover {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15) !important;
}

#flat-cat .cat-box.active,
.flat-categories .cat-box.active {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 2px var(--gold-500) !important;
}


/* 6. Solid Search Trigger Icon Button Container */
#header-bar .search-top button {
  position: absolute !important;
  top: 50% !important;
  right: 4px !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3) !important;
  transition: all 0.2s ease !important;
}

#header-bar .search-top button:hover {
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.5) !important;
  color: #ffffff !important;
}


/* 
   =====================================================
   SPECIFIC 6 UI/UX MISMATCH OVERRIDES & POLISH
   =====================================================
*/

/* 1. Hero Search Panel Double Border Removal & Unified Focus Glow */
.hero-search-panel {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 18px !important;
  padding: 10px !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.3s ease !important;
}

.hero-search-panel:focus-within {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25), 0 25px 50px -10px rgba(0, 0, 0, 0.4) !important;
}

.hero-search-panel .search-field {
  border: none !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  height: 50px !important;
  border-radius: 12px !important;
}

.hero-search-panel .search-field:focus-within {
  border: none !important;
  box-shadow: none !important;
  background: #ffffff !important;
}


/* 2. Listing Card Hover Elevation & Hard Border Removal */
.simple-prod,
.product-card,
.item-card,
.search-items .white .simple-prod {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.simple-prod:hover,
.product-card:hover,
.item-card:hover,
.search-items .white .simple-prod:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 35px -6px rgba(15, 23, 42, 0.12) !important;
  border-color: #e2e8f0 !important; /* Keep base border unchanged, NO hard jumpy border! */
}

.simple-prod .simple-wrap,
.product-card .card-wrap,
.item-card .card-wrap {
  border: none !important;
}


/* 3. Sidebar Dropdown Chevron Arrow Alignment */
#sidebar-search select,
.search-side-form select,
.modern-location-trigger,
.input-box select {
  position: relative !important;
  padding-right: 40px !important;
}

.modern-location-trigger i.fa-caret-down,
.modern-location-trigger i.fa-chevron-down {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 14px !important;
}


/* 4. Subscribe Widget Layout & Styling */
#n-block,
.block.unlogged_user,
.block.logged_user {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 22px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
  margin-top: 24px !important;
}

#n-block h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#n-block h3 i {
  color: var(--gold-700) !important;
}

#n-block .text {
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 16px !important;
  line-height: 1.5 !important;
}

#n-block .n-box {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

#n-block .input-box {
  position: relative !important;
  flex: 1 !important;
}

#n-block .input-box i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
}

#n-block #alert_email {
  height: 44px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 14px 0 40px !important;
  font-size: 13.5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#n-block .alert-notify-btn,
#n-block .alert-notify {
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

#n-block .alert-notify-btn:hover,
#n-block .alert-notify:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35) !important;
  color: #ffffff !important;
}


/* 5. Price Field Icon & Currency Input Group */
.price-wrap .enter .input-box {
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  height: 48px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.price-wrap .enter .input-box:focus-within {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

.price-wrap .enter .input-box input[type="text"] {
  border: none !important;
  background: transparent !important;
  height: 100% !important;
  padding: 0 10px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  flex: 1 !important;
}

.price-wrap .enter .input-box i.fa-money {
  color: var(--gold-700) !important;
  font-size: 18px !important;
  margin-right: 8px !important;
  position: static !important;
  transform: none !important;
}


/* 6. Top Header Accent Line & Icon Clip Fix */
#header-bar {
  overflow: visible !important;
}

#header-bar .inside {
  border-bottom: none !important;
}

#header-line,
#sub-nav,
.search-header {
  border-top: none !important;
  box-shadow: none !important;
}

#header-bar .le-btn i {
  vertical-align: middle !important;
  display: inline-flex !important;
  align-items: center !important;
}


/* 
   =====================================================
   ADDITIONAL MOBILE & PRICE FORM FIXES
   =====================================================
*/

/* 1. Mobile View Double Border Consolidation */
@media (max-width: 768px) {
  .simple-prod,
  .product-card,
  .item-card,
  .search-items .white .simple-prod,
  .modern-contact-card,
  #contact-ins {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    overflow: hidden !important;
  }

  .simple-prod .item-img-wrap,
  .simple-prod .simple-wrap,
  .simple-prod .item-details-wrap,
  .product-card .card-wrap,
  .item-card .card-wrap {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
}


/* 2. Consolidated Unified Price Form Styling */
.price-wrap {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
}

.price-wrap .inside {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}

.price-wrap .price-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  margin-bottom: 6px !important;
}

.price-wrap .price-type-row {
  width: 100% !important;
  margin: 0 !important;
}

.price-wrap .simple-price-type {
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  position: relative !important;
}

.price-wrap .simple-price-type .text {
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.price-wrap .price-value-row {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
}

.price-wrap .price-input-group {
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  height: 46px !important;
  padding: 0 8px 0 14px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.price-wrap .price-input-group:focus-within {
  background: #ffffff !important;
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

/* OVERRIDE GENERIC ABSOLUTE POSITIONING ON TAG ICON INSIDE PRICE GROUP */
.price-wrap .price-input-group .price-tag-icon,
.price-wrap .price-input-group .price-tag-icon i,
.price-wrap .price-input-group i.fa-tag {
  position: static !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gold-600) !important;
  font-size: 15px !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  width: auto !important;
  height: auto !important;
  left: auto !important;
  top: auto !important;
}

.price-wrap .price-input-group input[type="text"],
.price-wrap .price-input-group input#price {
  border: none !important;
  background: transparent !important;
  height: 100% !important;
  padding: 0 8px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  flex: 1 !important;
  min-width: 0 !important;
  outline: none !important;
  margin: 0 !important;
}

.price-wrap .price-currency-select {
  flex-shrink: 0 !important;
}

.price-wrap .price-currency-select .simple-currency {
  height: 34px !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 65px !important;
  position: relative !important;
}

.price-wrap .price-currency-select .simple-currency .text {
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: var(--gold-700) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}


/* 3. Search Icon Action Button Centering */
.hero-search-panel button[type="submit"],
.hero-search-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  height: 50px !important;
  padding: 0 24px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
  transition: all 0.2s ease !important;
  gap: 8px !important;
}

.hero-search-panel button[type="submit"]:hover,
.hero-search-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45) !important;
  color: #ffffff !important;
}


/* 4. Mobile Top Header & Search Bar & User Account Menu Consolidated Redesign */
@media (max-width: 767px) {
  #header-bar {
    height: 60px !important;
    background: #0b1329 !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
  }

  #header-bar .inside {
    height: 60px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 100% !important;
  }

  #header-bar .middle-block.logo {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    float: none !important;
    width: auto !important;
  }

  #header-bar .logo a {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
  }

  #header-bar .logo img {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }

  #header-bar .left-block,
  #header-bar .search-top,
  .mobile-top-login {
    display: none !important;
  }

  #header-bar .right-block {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    float: none !important;
    width: auto !important;
  }

  #header-bar .user-header-block {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
  }

  #header-bar .picture.user-logged-btn {
    height: 36px !important;
    padding: 0 8px 0 3px !important;
    border-radius: 18px !important;
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
  }

  #header-bar .picture img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  #header-bar .picture .uname-text {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    max-width: 60px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header-bar .picture i.fa-angle-down {
    color: var(--gold-500) !important;
    font-size: 11px !important;
  }

  #header-bar .le-login-link {
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 18px !important;
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-decoration: none !important;
  }

  #header-bar .le-login-link i {
    color: var(--gold-500) !important;
    font-size: 13px !important;
  }

  /* Mobile Header "Post Your Ad" Button */
  #header-bar .publish {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35) !important;
    margin: 0 !important;
    float: none !important;
    border: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
  }

  #header-bar .publish i {
    font-size: 11px !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  #header-bar .publish span {
    display: inline !important;
    color: #ffffff !important;
  }

  body {
    padding-top: 60px !important;
  }
}

/* 5. Hero Search Box & Button UI Redesign (Mobile) */
@media (max-width: 767px) {
  .modern-hero {
    padding: 90px 14px 40px 14px !important;
  }

  .hero-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .hero-subtitle {
    font-size: 14px !important;
    margin-bottom: 24px !important;
  }
}

/* 5. Hero Search Box & Button UI Redesign (Mobile) - Ultimate High Specificity */
@media (max-width: 767px) {
  html body .modern-hero {
    padding: 85px 14px 35px 14px !important;
  }

  html body .hero-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  html body .hero-subtitle {
    font-size: 14px !important;
    margin-bottom: 22px !important;
  }

  html body .hero-search-panel {
    background: #ffffff !important;
    padding: 16px !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-sizing: border-box !important;
  }

  html body .hero-search-panel form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
  }

  html body .hero-search-panel .search-field {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  html body .hero-search-panel .search-field:focus-within {
    border-color: var(--gold-500) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
    background: #ffffff !important;
  }

  html body .hero-search-panel .search-field i {
    left: 16px !important;
    font-size: 18px !important;
    color: var(--gold-600) !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    margin: 0 !important;
    float: none !important;
  }

  html body .hero-search-panel .search-field input[type="text"],
  html body .hero-search-panel .query-field input {
    height: 52px !important;
    min-height: 52px !important;
    width: 100% !important;
    padding: 0 16px 0 48px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--slate-900) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  html body .hero-search-panel .location-field .modern-location-trigger {
    height: 52px !important;
    min-height: 52px !important;
    width: 100% !important;
    padding: 0 16px 0 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    color: var(--slate-900) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  html body .hero-search-panel .location-field .modern-location-trigger i.fa-caret-down {
    color: var(--slate-700) !important;
    font-size: 14px !important;
    position: static !important;
    transform: none !important;
  }

  /* Professional Standard Touch Search Button on Mobile */
  html body .hero-search-panel button[type="submit"],
  html body .hero-search-panel .hero-search-btn,
  html body button.hero-search-btn {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    line-height: 52px !important;
    padding: 0 20px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 6px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    float: none !important;
    position: static !important;
    transform: none !important;
  }

  html body .hero-search-panel button[type="submit"] i,
  html body .hero-search-panel .hero-search-btn i,
  html body button.hero-search-btn i {
    font-size: 17px !important;
    color: #ffffff !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    line-height: 1 !important;
  }

  html body .hero-search-panel button[type="submit"] span,
  html body .hero-search-panel .hero-search-btn span,
  html body button.hero-search-btn span {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    float: none !important;
    display: inline !important;
    position: static !important;
    line-height: 1 !important;
  }

  html body .hero-search-panel button[type="submit"]:active,
  html body .hero-search-panel .hero-search-btn:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3) !important;
  }
}

/* 6. Account Menu Bar Redesign (Mobile & Desktop) */
#header-bar .user_account.user-header,
.user_account.user-header {
  position: absolute !important;
  top: 54px !important;
  right: 0 !important;
  width: 250px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22) !important;
  z-index: 999999 !important;
  padding: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
}

#header-bar .user_account.user-header #sidebar,
.user_account.user-header #sidebar {
  width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#header-bar .user_account.user-header #sidebar .um,
.user_account.user-header #sidebar .um {
  display: block !important;
}

#header-bar .user_account.user-header #sidebar #show-user-menu,
.user_account.user-header #sidebar #show-user-menu {
  display: none !important;
}

#sidebar .um.s0 {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e293b 100%) !important;
  padding: 16px 18px !important;
  margin: 0 !important;
  border-bottom: 2px solid var(--gold-500) !important;
  color: #ffffff !important;
  border-radius: 0 !important;
}

#sidebar .um.s0 ul.user_menu {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sidebar .um.s0 ul.user_menu li.uname strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 2px !important;
}

#sidebar .um.s0 ul.user_menu li.uname span {
  font-size: 12px !important;
  color: #cbd5e1 !important;
  display: block !important;
}

#sidebar .um.s1,
#sidebar .um.s2,
#sidebar .um.s3 {
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 4px 0 !important;
}

#sidebar .um.s3.logout {
  border-bottom: none !important;
  background: #fff5f5 !important;
}

#sidebar ul.user_menu {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sidebar ul.user_menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sidebar ul.user_menu li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 18px !important;
  color: var(--slate-800) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#sidebar ul.user_menu li a i {
  color: var(--gold-600) !important;
  font-size: 15px !important;
  margin-right: 10px !important;
  width: 18px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}

#sidebar ul.user_menu li a:hover {
  background: #f8fafc !important;
  color: var(--gold-600) !important;
  padding-left: 22px !important;
}

#sidebar ul.user_menu li a:hover i {
  transform: scale(1.15) !important;
}

#sidebar ul.user_menu li.opt_logout a {
  color: #dc2626 !important;
}

#sidebar ul.user_menu li.opt_logout a i {
  color: #dc2626 !important;
}

#sidebar ul.user_menu li.opt_logout a:hover {
  background: #fee2e2 !important;
}

#sidebar ul.user_menu li .count {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  font-style: normal !important;
  margin-left: auto !important;
}

@media screen and (max-width: 767px) {
  .content.user_account #sidebar {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 14px !important;
    box-shadow: var(--shadow-sm) !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  .content.user_account #sidebar #show-user-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    background: linear-gradient(135deg, var(--slate-900) 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
  }

  .content.user_account #sidebar .um {
    display: block !important;
  }
}

/* ==========================================================================
   7. Professional Search Section & Custom Dropdowns Redesign
   ========================================================================== */

/* Search Sidebar Card Container */
#sidebar-search {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
}

#sidebar-search .wrap {
  padding: 22px 20px !important;
  background: #ffffff !important;
}

/* Sidebar Title Header */
#sidebar-search h3.head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 14px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: transparent !important;
  height: auto !important;
}

#sidebar-search h3.head span {
  font-family: 'Outfit', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  float: none !important;
}

#sidebar-search h3.head a.show-advanced {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--gold-600) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
}

/* Form Row & Labels */
#sidebar-search .search-wrap .row {
  margin-bottom: 16px !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

#sidebar-search .search-wrap h4 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  float: none !important;
}

/* Keyword Search Input Box */
#sidebar-search .input-box {
  position: relative !important;
  width: 100% !important;
  height: 46px !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
}

#sidebar-search .input-box > i.fa-pencil,
#sidebar-search .input-box > i.fa-search,
#sidebar-search .input-box > i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 15px !important;
  pointer-events: none !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

#sidebar-search .input-box input[type="text"],
#sidebar-search #query {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 14px 0 42px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  float: none !important;
  margin: 0 !important;
}

#sidebar-search .input-box input[type="text"]:focus,
#sidebar-search #query:focus {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
}

/* Location Trigger Box */
#sidebar-search .modern-location-trigger {
  width: 100% !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

#sidebar-search .modern-location-trigger:hover {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
}

#sidebar-search .modern-location-trigger .selected-location-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
}

#sidebar-search .modern-location-trigger i.fa-caret-down {
  color: #64748b !important;
  font-size: 14px !important;
  position: static !important;
  transform: none !important;
}

/* Custom Dropdown Trigger & List (.simple-select) */
.simple-select,
#sidebar-search .simple-select {
  position: relative !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
}

.simple-select .text,
#sidebar-search .search-side-form .input-box .simple-select .text,
#sidebar-search .input-box .simple-select .text,
#sidebar-search .simple-select .text {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 38px 0 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  float: none !important;
  clear: both !important;
}

.simple-select:hover .text,
#sidebar-search .simple-select:hover .text {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
}

.simple-select .text span,
.simple-select .text > span,
#sidebar-search .simple-select .text span,
#sidebar-search .simple-select .text > span {
  float: none !important;
  width: auto !important;
  flex: 1 !important;
  display: inline-block !important;
  font-size: 14px !important;
  color: #0f172a !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove default before pseudo elements on dropdown span */
#sidebar-search .simple-select .text span:before,
#sidebar-search .simple-select.simple-transaction .text span:before,
#sidebar-search .simple-select.simple-condition .text span:before,
#sidebar-search .simple-select.simple-period .text span:before,
.simple-select .text span:before,
.simple-select.simple-transaction .text span:before,
.simple-select.simple-condition .text span:before,
.simple-select.simple-period .text span:before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Dropdown Caret Down Icon - Positioned Right */
#sidebar-search .search-side-form .input-box .simple-select .text i,
#sidebar-search .input-box .simple-select .text i,
#sidebar-search .simple-select .text i,
.simple-select .text i,
.simple-select .text i.fa-angle-down {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  z-index: 10 !important;
  float: none !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.simple-select:hover .text i {
  color: var(--gold-600) !important;
}

/* Dropdown Options Popup Card */
.simple-select .list,
#sidebar-search .simple-select .list {
  position: absolute !important;
  top: 50px !important;
  left: 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
  z-index: 99999 !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.simple-select .option,
#sidebar-search .simple-select .option {
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
}

.simple-select .option:hover,
#sidebar-search .simple-select .option:not(.info):hover {
  background: #f1f5f9 !important;
  color: var(--gold-600) !important;
}

.simple-select .option.selected,
#sidebar-search .simple-select .option.selected {
  background: #fffbeb !important;
  color: var(--gold-700) !important;
  font-weight: 700 !important;
}

.simple-select .option.info,
#sidebar-search .simple-select .option.info {
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  padding: 10px 16px 6px 16px !important;
  cursor: default !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 4px !important;
}

.simple-select .option.info:after {
  display: none !important;
}

/* Price Range Inputs */
#sidebar-search .price-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  float: none !important;
}

#sidebar-search .price-row input[type="text"],
#sidebar-search #priceMin,
#sidebar-search #priceMax {
  flex: 1 !important;
  width: 50% !important;
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  float: none !important;
}

#sidebar-search .price-row input:focus {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
}

#sidebar-search .price-del {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 44px !important;
  background: #f1f5f9 !important;
  border-radius: 10px !important;
  color: #64748b !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Checkbox Style */
#sidebar-search .input-box-check {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 0 !important;
  margin: 0 !important;
}

#sidebar-search .input-box-check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--gold-600) !important;
  cursor: pointer !important;
  margin: 0 !important;
  float: none !important;
}

#sidebar-search .with-pic-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* Submit and Reset Buttons */
#sidebar-search .button-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 20px !important;
  float: none !important;
}

#sidebar-search #search-button {
  width: 100% !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  float: none !important;
}

#sidebar-search #search-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45) !important;
}

#sidebar-search .clear-search {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

#sidebar-search .clear-search:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* ==========================================================================
   8. Enterprise Level Post / Edit Ad Price & Form Section Redesign
   ========================================================================== */

/* Price Card Wrapper */
.add_item .price-wrap {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 20px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  margin-bottom: 20px !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.add_item .price-wrap .inside {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Price Labels */
.add_item .price-wrap .price-label,
.add_item .status-wrap label,
.add_item fieldset h2 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
}

/* Reset Legacy Price Simple Select 32px Orange Box */
.add_item .price-wrap .simple-select,
.add_item .price-wrap .simple-price-type {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  z-index: 10 !important;
}

.add_item .price-wrap .simple-select .text,
.add_item .price-wrap .simple-price-type .text {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 38px 0 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  line-height: 46px !important;
  text-align: left !important;
  position: relative !important;
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.2s ease !important;
}

.add_item .price-wrap .simple-select:hover .text,
.add_item .price-wrap .simple-price-type:hover .text {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
}

.add_item .price-wrap .simple-select .text span,
.add_item .price-wrap .simple-price-type .text span {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.add_item .price-wrap .simple-select .text i.help,
.add_item .price-wrap .simple-price-type .text i.help {
  color: var(--gold-600) !important;
  font-size: 15px !important;
  margin-right: 6px !important;
  float: none !important;
  position: static !important;
}

/* Caret Icon on Price Type Select */
.add_item .price-wrap .simple-select .text i.fa-angle-down,
.add_item .price-wrap .simple-price-type .text i.fa-angle-down {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  float: none !important;
  display: block !important;
}

/* Price Input Group (Amount + Tag Icon + Currency Select) */
.add_item .price-wrap .price-input-group {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  float: none !important;
  position: relative !important;
}

.add_item .price-wrap .price-input-group:focus-within {
  border-color: var(--gold-500) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
}

.add_item .price-wrap .price-tag-icon {
  width: 44px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  border-right: 1px solid #cbd5e1 !important;
  color: var(--gold-600) !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.add_item .price-wrap .price-input-group input#price,
.add_item .price-wrap input[name="price"] {
  flex: 1 !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
}

.add_item .price-wrap .price-currency-select,
.add_item .price-wrap .simple-currency {
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  border-left: 1px solid #cbd5e1 !important;
  padding: 0 12px !important;
  flex-shrink: 0 !important;
  float: none !important;
  position: relative !important;
}

.add_item .price-wrap .price-currency-select select,
.add_item .price-wrap .simple-currency select {
  height: 40px !important;
  background: transparent !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  outline: none !important;
  cursor: pointer !important;
  padding: 0 6px !important;
  margin: 0 !important;
}

/* Status Wrap (Transaction & Condition on Post Ad page) */
.add_item .status-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-top: 16px !important;
  float: none !important;
  width: 100% !important;
}

.add_item .status-wrap .transaction,
.add_item .status-wrap .condition {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* ==========================================================================
   9. Maximum Specificity Overrides (Guarantee Enterprise Precision)
   ========================================================================== */

/* Completely Destroy Legacy 32px Orange Pseudo Element */
html body .add_item .price-wrap .simple-price-type:after,
html body .add_item .price-wrap .simple-select:after,
html body .price-wrap .simple-price-type:after,
html body .price-wrap .simple-select:after,
.add_item .price-wrap .simple-price-type:after,
.add_item .price-wrap .simple-select:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html body #sidebar-search .search-side-form .input-box .simple-select .text i,
html body #sidebar-search .search-side-form .simple-select .text i,
html body #sidebar-search .input-box .simple-select .text i,
html body #sidebar-search .simple-select .text i,
html body .simple-select .text i,
html body .simple-select .text i.fa-angle-down {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  z-index: 10 !important;
  float: none !important;
  display: block !important;
}

/* Force Caret Arrows to be Displayed & Aligned Right in Price Wrap */
html body #body-item-post .price-wrap .simple-select .text i.fa-angle-down,
html body #body-item-edit .price-wrap .simple-select .text i.fa-angle-down,
html body .add_item .price-wrap .simple-select .text i.fa-angle-down,
html body .price-wrap .simple-select .text i.fa-angle-down {
  display: block !important;
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  -webkit-transform: translateY(-50%) !important;
  color: var(--gold-600) !important;
  font-size: 14px !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #body-item-post .price-wrap .price-currency-select .simple-currency .text,
html body #body-item-edit .price-wrap .price-currency-select .simple-currency .text,
html body .add_item .price-wrap .price-currency-select .simple-currency .text {
  padding-right: 28px !important;
}

html body #body-item-post .price-wrap .simple-price-type .text,
html body #body-item-edit .price-wrap .simple-price-type .text,
html body .add_item .price-wrap .simple-price-type .text {
  padding-right: 32px !important;
}

html body .add_item .price-wrap .simple-price-type,
html body .add_item .price-wrap .simple-select,
html body .price-wrap .simple-price-type,
html body .price-wrap .simple-select {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  z-index: 10 !important;
}

html body .add_item .price-wrap .simple-price-type .text,
html body .add_item .price-wrap .simple-select .text,
html body .price-wrap .simple-price-type .text,
html body .price-wrap .simple-select .text {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0 38px 0 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  float: none !important;
  line-height: normal !important;
  text-align: left !important;
}

html body .simple-currency,
html body .add_item .price-wrap .simple-currency,
html body .price-wrap .simple-currency,
html body .price-input-group .simple-currency {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 0 !important;
  background: #f1f5f9 !important;
  border-left: 1px solid #cbd5e1 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
}

html body .simple-currency .text,
html body .add_item .price-wrap .simple-currency .text,
html body .price-wrap .simple-currency .text,
html body .price-input-group .simple-currency .text {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  line-height: 48px !important;
}

html body .add_item .price-wrap .price-input-group,
html body .price-wrap .price-input-group {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  position: relative !important;
  float: none !important;
}

html body .add_item .price-wrap .price-input-group .price-tag-icon,
html body .price-wrap .price-input-group .price-tag-icon {
  width: 44px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  border-right: 1px solid #cbd5e1 !important;
  color: var(--gold-600) !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: static !important;
}

/* ==========================================================================
   10. Search Sidebar Clean Professional Redesign (No Uppercase, No Double Border)
   ========================================================================== */

/* 10.1 Kill all uppercase text transformations in sidebar */
#sidebar-search,
#sidebar-search *,
.search-side-form,
.search-side-form *,
.search-side-form h3,
.search-side-form h4,
.search-side-form label,
.search-side-form button,
.search-side-form a {
  text-transform: none !important;
}

#sidebar-search .search-side-form h3.head {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  border-bottom: 2px solid #f1f5f9 !important;
  padding-bottom: 12px !important;
  margin-bottom: 20px !important;
}

#sidebar-search .search-side-form h3.head span {
  text-transform: capitalize !important;
}

#sidebar-search .search-side-form h3.head .show-advanced {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--gold-600) !important;
  text-decoration: none !important;
  text-transform: capitalize !important;
}

#sidebar-search .search-side-form fieldset h4 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  letter-spacing: 0.2px !important;
  text-transform: capitalize !important;
  margin-bottom: 8px !important;
}

/* 10.2 ELIMINATE DOUBLE BORDERS */

/* Neutralize outer container borders */
#sidebar-search .search-side-form .select-box,
#sidebar-search .search-side-form .input-box,
#sidebar-search .search-side-form .box,
#sidebar-search .search-side-form fieldset .row,
html body #sidebar-search .search-side-form .select-box,
html body #sidebar-search .search-side-form .input-box {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
}

/* Single clean border for Keyword Input Box */
html body #sidebar-search .search-side-form .input-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  height: 44px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}
html body #sidebar-search .search-side-form .input-box:focus-within {
  border-color: var(--gold-600) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
  background: #ffffff !important;
}
html body #sidebar-search .search-side-form .input-box i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  pointer-events: none !important;
}
html body #sidebar-search .search-side-form .input-box input[type="text"] {
  width: 100% !important;
  height: 42px !important;
  border: none !important;
  background: transparent !important;
  padding-left: 38px !important;
  padding-right: 14px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Single clean border for Location Trigger */
html body #sidebar-search .search-side-form .modern-location-trigger {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}
html body #sidebar-search .search-side-form .modern-location-trigger:hover {
  border-color: var(--gold-600) !important;
  background: #ffffff !important;
}

/* Single clean border for Dropdowns (Transaction, Condition, Period) */
html body #sidebar-search .search-side-form .simple-select,
html body #sidebar-search .search-side-form .simple-transaction,
html body #sidebar-search .search-side-form .simple-condition,
html body #sidebar-search .search-side-form .simple-period {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative !important;
}

html body #sidebar-search .search-side-form .simple-select .text {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  line-height: 44px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  padding: 0 36px 0 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
  text-transform: capitalize !important;
}

html body #sidebar-search .search-side-form .simple-select .text:hover {
  border-color: var(--gold-600) !important;
  background: #ffffff !important;
}

html body #sidebar-search .search-side-form .simple-select .text i {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 13px !important;
  pointer-events: none !important;
}

/* Price Range Fields */
html body #sidebar-search .search-side-form .price-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

html body #sidebar-search .search-side-form .price-row input[type="text"] {
  flex: 1 !important;
  height: 44px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  padding: 0 12px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}
html body #sidebar-search .search-side-form .price-row input[type="text"]:focus {
  border-color: var(--gold-600) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

html body #sidebar-search .search-side-form .price-del {
  width: 36px !important;
  height: 36px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
}

/* Checkbox Styling */
html body #sidebar-search .search-side-form .input-box-check {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 6px !important;
  margin-bottom: 20px !important;
  border: none !important;
  background: transparent !important;
}
html body #sidebar-search .search-side-form .input-box-check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--gold-600) !important;
  cursor: pointer !important;
  margin: 0 !important;
}
html body #sidebar-search .search-side-form .input-box-check label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  cursor: pointer !important;
  text-transform: none !important;
  margin: 0 !important;
}

/* 10.3 Enterprise Buttons (Search & Reset) */
html body #sidebar-search .search-side-form .button-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 15px !important;
  border: none !important;
  background: transparent !important;
}

html body #sidebar-search .search-side-form #search-button,
html body #sidebar-search .search-side-form button[type="submit"] {
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body #sidebar-search .search-side-form #search-button:hover,
html body #sidebar-search .search-side-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35) !important;
}

html body #sidebar-search .search-side-form a.clear-search,
html body #sidebar-search .search-side-form .btn-secondary {
  width: 100% !important;
  height: 42px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}
html body #sidebar-search .search-side-form a.clear-search:hover,
html body #sidebar-search .search-side-form .btn-secondary:hover {
  background: #e2e8f0 !important;
  color: #1e293b !important;
  border-color: #94a3b8 !important;
}

/* ==========================================================================
   11. Compact Enterprise Contact Form Redesign (Web & Mobile Optimized)
   ========================================================================== */

/* Main Contact Page Container & Card */
.modern-contact-container {
  width: 100% !important;
  max-width: 680px !important;
  margin: 32px auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.modern-contact-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 32px 28px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
}

.contact-card-header {
  text-align: center !important;
  margin-bottom: 24px !important;
}

.contact-card-header .contact-header-icon {
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(180, 83, 9, 0.15) 100%) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gold-600) !important;
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

.contact-card-header h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
}

.contact-card-header .contact-header-sub {
  font-size: 14px !important;
  color: #64748b !important;
  margin: 0 !important;
}

/* Contact Form Grid Layout */
.contact-form-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  width: 100% !important;
}

.contact-form-grid .form-group {
  margin: 0 !important;
  box-sizing: border-box !important;
}

.contact-form-grid .form-group.half-width {
  flex: 1 1 calc(50% - 8px) !important;
  min-width: 240px !important;
}

.contact-form-grid .form-group.full-width {
  flex: 1 1 100% !important;
  width: 100% !important;
}

.contact-form-grid label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
  text-transform: none !important;
}

/* Input Boxes */
html body #body-contact .contact-form-grid .input-box,
html body #contact .input-box,
html body .modern-contact-card .input-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

html body #body-contact .contact-form-grid .input-box:not(.textarea-box),
html body #contact .input-box:not(.textarea-box) {
  height: 44px !important;
  min-height: 44px !important;
}

html body #body-contact .contact-form-grid .input-box:focus-within,
html body #contact .input-box:focus-within {
  border-color: var(--gold-600) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

html body #body-contact .contact-form-grid .input-box i,
html body #contact .input-box i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
  pointer-events: none !important;
}

html body #body-contact .contact-form-grid .input-box input[type="text"],
html body #contact .input-box input[type="text"] {
  width: 100% !important;
  height: 42px !important;
  border: none !important;
  background: transparent !important;
  padding-left: 42px !important;
  padding-right: 14px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Compact Textarea Box */
html body #body-contact .contact-form-grid .input-box.textarea-box,
html body #contact .input-box.textarea-box {
  height: auto !important;
  min-height: 110px !important;
  padding: 10px 14px !important;
  align-items: flex-start !important;
}

html body #body-contact .contact-form-grid textarea#message,
html body #contact textarea#message {
  width: 100% !important;
  height: 100px !important;
  min-height: 90px !important;
  max-height: 160px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical !important;
  line-height: 1.5 !important;
}

/* Submit Button Group */
.contact-form-grid .form-group.submit-group {
  margin-top: 8px !important;
}

.contact-submit-btn,
html body #contact button[type="submit"] {
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
}

.contact-submit-btn:hover,
html body #contact button[type="submit"]:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35) !important;
}

/* Item Detail Page Contact Seller Form Compact Overrides */
#more-info.contact-seller {
  max-width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

#more-info.contact-seller .message-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

#more-info.contact-seller .row {
  margin: 0 !important;
}

#more-info.contact-seller input[type="text"] {
  height: 44px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 14px !important;
}

#more-info.contact-seller textarea {
  height: 100px !important;
  min-height: 90px !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  padding: 12px !important;
  font-size: 14px !important;
}

#more-info.contact-seller button.send {
  height: 46px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
  text-transform: none !important;
}

/* Mobile Responsiveness for Contact Form */
@media (max-width: 767px) {
  .modern-contact-container {
    margin: 16px auto !important;
    padding: 0 12px !important;
  }
  
  .modern-contact-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
  
  .contact-card-header h2 {
    font-size: 20px !important;
  }
  
  .contact-form-grid .form-group.half-width {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  html body #body-contact .contact-form-grid textarea#message,
  html body #contact textarea#message {
    height: 90px !important;
    min-height: 80px !important;
  }
}

/* ==========================================================================
   12. Post / Edit Ad Price Fieldset Master Overrides (Enterprise Precision)
   ========================================================================== */

/* 12.1 Kill All Uppercase Labels on Post / Edit Ad Pages */
html body #body-item-post fieldset h2,
html body #body-item-post fieldset h3,
html body #body-item-post fieldset label,
html body #body-item-edit fieldset h2,
html body #body-item-edit fieldset h3,
html body #body-item-edit fieldset label,
html body .add_item .price-wrap h2,
html body .add_item .price-wrap label,
html body .price-wrap label,
html body .price-wrap h2 {
  text-transform: none !important;
  letter-spacing: normal !important;
}

html body #body-item-post fieldset.box > h2,
html body #body-item-edit fieldset.box > h2,
html body .add_item fieldset > h2 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-transform: capitalize !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

html body .price-wrap .price-label,
html body .add_item .price-wrap label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-transform: capitalize !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* 12.2 Outer Price Card Container */
html body .add_item .price-wrap,
html body .price-wrap {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 20px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
  margin-bottom: 20px !important;
  float: none !important;
  width: 100% !important;
}

html body .add_item .price-wrap .inside,
html body .price-wrap .inside {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* 12.3 Price Type Dropdown */
html body .add_item .price-wrap .price-type-row,
html body .price-wrap .price-type-row {
  width: 100% !important;
  margin: 0 !important;
}

html body .add_item .price-wrap .simple-price-type,
html body .price-wrap .simple-price-type {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

html body .add_item .price-wrap .simple-price-type .text,
html body .price-wrap .simple-price-type .text {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  line-height: 46px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  padding: 0 38px 0 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
  text-transform: capitalize !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
}
html body .add_item .price-wrap .simple-price-type .text:hover {
  border-color: var(--gold-600) !important;
  background: #ffffff !important;
}

/* 12.4 UNIFIED SEAMLESS PRICE AMOUNT INPUT GROUP (NO INNER FLOATING BOXES) */
html body .add_item .price-wrap .price-value-row,
html body .price-wrap .price-value-row {
  width: 100% !important;
  margin: 0 !important;
}

html body .add_item .price-wrap .price-input-group,
html body .price-wrap .price-input-group,
html body .price-input-group {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  float: none !important;
  transition: all 0.2s ease !important;
}

html body .price-input-group:focus-within {
  border-color: var(--gold-600) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* Left Tag Icon Badge */
html body .add_item .price-wrap .price-input-group .price-tag-icon,
html body .price-wrap .price-input-group .price-tag-icon,
html body .price-input-group .price-tag-icon {
  width: 44px !important;
  min-width: 44px !important;
  height: 48px !important;
  background: #f1f5f9 !important;
  border: none !important;
  border-right: 1px solid #cbd5e1 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gold-600) !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  box-shadow: none !important;
}

/* Center Input Field (KILL INNER BORDER & BORDER-RADIUS) */
html body .add_item .price-wrap .price-input-group input#price,
html body .add_item .price-wrap .price-input-group input[name="price"],
html body .price-wrap .price-input-group input#price,
html body .price-wrap .price-input-group input[name="price"],
html body .price-input-group input {
  flex: 1 !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 14px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Right Currency Selector Badge (KILL INNER BORDER & BORDER-RADIUS & INNER BOXES) */
html body .add_item .price-wrap .price-currency-select,
html body .price-wrap .price-currency-select,
html body .price-input-group .price-currency-select {
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  flex-shrink: 0 !important;
}

html body .add_item .price-wrap .simple-currency,
html body .price-wrap .simple-currency,
html body .price-input-group .simple-currency,
html body .simple-currency {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 0 !important;
  background: #f1f5f9 !important;
  border: none !important;
  border-left: 1px solid #cbd5e1 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
}

html body .simple-currency .text,
html body .add_item .price-wrap .simple-currency .text,
html body .price-wrap .simple-currency .text,
html body .price-input-group .simple-currency .text {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  line-height: 48px !important;
  box-shadow: none !important;
}

/* ==========================================================================
   13. TOTAL UNIFICATION OF PRICE AMOUNT INPUT GROUP (SLEEK SINGLE-LINE BAR)
   ========================================================================== */

/* Outer Bar - 100% Clean Single Input Box Container */
html body #body-item-post .price-input-group,
html body #body-item-edit .price-input-group,
html body .add_item .price-wrap .price-input-group,
html body .price-wrap .price-input-group,
html body .price-input-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  float: none !important;
  transition: all 0.2s ease !important;
}

html body #body-item-post .price-input-group:focus-within,
html body #body-item-edit .price-input-group:focus-within,
html body .price-input-group:focus-within {
  border-color: #d97706 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* Left Tag Icon Badge */
html body #body-item-post .price-input-group .price-tag-icon,
html body #body-item-edit .price-input-group .price-tag-icon,
html body .add_item .price-wrap .price-input-group .price-tag-icon,
html body .price-wrap .price-input-group .price-tag-icon,
html body .price-input-group .price-tag-icon {
  width: 44px !important;
  min-width: 44px !important;
  height: 48px !important;
  background: #f1f5f9 !important;
  border: none !important;
  border-right: 1px solid #cbd5e1 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #d97706 !important;
  font-size: 15px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Center Input Field - NO INNER BORDERS, NO FLOATING BOXES */
html body #body-item-post .price-input-group input#price,
html body #body-item-edit .price-input-group input#price,
html body #body-item-post .price-input-group input[name="price"],
html body #body-item-edit .price-input-group input[name="price"],
html body .add_item .price-wrap .price-input-group input,
html body .price-wrap .price-input-group input,
html body .price-input-group input#price,
html body .price-input-group input[type="text"],
html body .price-input-group input {
  flex: 1 !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: none !important;
  border-style: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 14px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  text-align: left !important;
}

/* Right Currency Selector Badge */
html body #body-item-post .price-input-group .price-currency-select,
html body #body-item-edit .price-input-group .price-currency-select,
html body .add_item .price-wrap .price-currency-select,
html body .price-wrap .price-currency-select,
html body .price-input-group .price-currency-select {
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

html body #body-item-post .price-input-group .simple-currency,
html body #body-item-edit .price-input-group .simple-currency,
html body .add_item .price-wrap .simple-currency,
html body .price-wrap .simple-currency,
html body .price-input-group .simple-currency {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  border: none !important;
  border-left: 1px solid #cbd5e1 !important;
  border-radius: 0 !important;
  background: #f1f5f9 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
}

html body #body-item-post .price-input-group .simple-currency .text,
html body #body-item-edit .price-input-group .simple-currency .text,
html body .add_item .price-wrap .simple-currency .text,
html body .price-wrap .simple-currency .text,
html body .price-input-group .simple-currency .text {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  line-height: 48px !important;
  box-shadow: none !important;
}

html body .price-input-group .simple-currency .text:after,
html body .price-input-group .simple-currency:after,
html body .price-input-group .simple-currency .text i:after {
  display: none !important;
  content: none !important;
}

/* ==========================================================================
   14. UNIFIED PRICE SECTION LABELS & FIELDSETS
   ========================================================================== */

html body #body-item-post .price-wrap .price-label,
html body #body-item-edit .price-wrap .price-label,
html body .add_item .price-wrap .price-label,
html body .price-wrap .price-label,
html body label.price-label,
html body label[for="price"],
html body .price-wrap label {
  text-transform: capitalize !important;
  letter-spacing: normal !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

html body #body-item-post fieldset.box > h2,
html body #body-item-edit fieldset.box > h2,
html body .add_item fieldset > h2,
html body fieldset.box > h2 {
  text-transform: capitalize !important;
  letter-spacing: normal !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .price-input-group .simple-currency .text i.fa-angle-down,
html body .price-currency-single-box .simple-currency .text i.fa-angle-down {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 14px !important;
  pointer-events: none !important;
}










