/* Bidyear frontend enhancements */
:root {
  --bidyear-primary: #2563eb;
  --bidyear-accent: #7c3aed;
  --bidyear-dark: #0f172a;
  --bidyear-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --bidyear-on-blue-accent: #fbbf24;
  /* Override template green with Bidyear blue (loads after style.css) */
  --primary-color: #2563eb;
  --primary-color-opc: 37, 99, 235;
}

html[dir="rtl"] .menu-list,
html[dir="rtl"] .topbar-wrap {
  direction: rtl;
}

.bidyear-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 58, 138, 0.75) 100%),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.bidyear-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 40%);
  pointer-events: none;
}

.bidyear-hero .banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0 60px;
}

.bidyear-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.bidyear-hero h1 span {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bidyear-stats {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding: 28px 0;
}

.bidyear-stat-item {
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid #e2e8f0;
}

html[dir="rtl"] .bidyear-stat-item {
  border-right: none;
  border-left: 1px solid #e2e8f0;
}

.bidyear-stat-item:last-child {
  border-right: none;
  border-left: none;
}

.bidyear-stat-item .stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--bidyear-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.bidyear-stat-item .stat-label {
  font-size: .85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 4px;
}

.auction-card.style-1 {
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
}

.auction-card.style-1:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, .15) !important;
}

.category-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  border: 1px solid #e2e8f0 !important;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, .12) !important;
  border-color: var(--bidyear-primary) !important;
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bidyear-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.process-card {
  transition: transform .3s ease, box-shadow .3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .1) !important;
}

.bidyear-trust-bar {
  background: var(--bidyear-dark);
  color: #94a3b8;
  padding: 14px 0;
  font-size: .9rem;
}

.bidyear-trust-bar span {
  color: #fbbf24;
  margin: 0 8px;
}

.bidyear-section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, .1);
  color: var(--bidyear-primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.company-logo a {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.company-logo .bidyear-logo-dark {
  display: block !important;
  max-height: 44px;
  width: auto;
  height: auto;
}

.company-logo .bidyear-logo-light {
  display: none !important;
}

[data-bidyear-theme="dark"] .company-logo .bidyear-logo-dark {
  display: none !important;
}

[data-bidyear-theme="dark"] .company-logo .bidyear-logo-light {
  display: block !important;
  max-height: 44px;
  width: auto;
  height: auto;
}

/* Topbar + header — keep original theme design, fix dropdown/search stacking */
.header-topbar-area {
  overflow: visible;
}

.topbar-area {
  position: relative;
  z-index: 1050;
  overflow: visible;
}

.topbar-area .topbar-wrap,
.topbar-area .topbar-right,
.topbar-area .topbar-left {
  overflow: visible;
}

.topbar-area .language-area .language-list {
  z-index: 1060 !important;
}

header.style-1 {
  position: relative;
  z-index: 1030;
  overflow: visible;
}

.bidyear-account-offcanvas {
  z-index: 1070 !important;
}

.offcanvas-backdrop {
  z-index: 1065 !important;
}

.bidyear-category-bar {
  z-index: 1020;
}

/* Compact header — keep nav on one line */
header.style-1 .nav-right {
  gap: 12px !important;
}

header.style-1 .nav-right .bidyear-global-search .form-inner,
header.style-1 .main-menu .bidyear-global-search .form-inner,
.bidyear-header-search .form-inner {
  min-width: 0 !important;
  width: 100%;
  max-width: 320px;
}

.bidyear-header-search {
  width: min(320px, 34vw);
}

header.style-1 .nav-left {
  gap: 16px !important;
  min-width: 0;
}

.bidyear-account-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--bidyear-primary);
  font-size: 1.35rem;
  padding: 0;
  flex-shrink: 0;
}

.bidyear-account-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--bidyear-primary);
}

.bidyear-mobile-header-actions {
  gap: 10px;
  margin-left: 4px;
}

.bidyear-mobile-header-actions .mobile-menu-btn {
  margin-left: 0 !important;
  flex-shrink: 0;
}

.bidyear-mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 100009;
  border: none;
}

.bidyear-mobile-menu-extras {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
  header.style-1 .nav-left {
    gap: 20px !important;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start !important;
  }

  header.style-1 .main-menu {
    flex: 1 1 auto;
    min-width: 0;
  }

  header.style-1 .main-menu .menu-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    white-space: nowrap;
  }

  header.style-1 .main-menu .menu-list > li {
    display: block !important;
    flex-shrink: 0;
    padding: 0 10px !important;
  }

  header.style-1 .main-menu .menu-list > li:first-child {
    padding-left: 0 !important;
  }

  header.style-1 .main-menu .menu-list > li:last-child {
    padding-right: 0 !important;
  }

  header.style-1 .main-menu .menu-list > li > a {
    padding: 18px 0 !important;
    font-size: 14px !important;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  header.style-1 .nav-right {
    gap: 10px !important;
    flex-shrink: 0;
  }

  header.style-1 .nav-right .form-inner {
    min-width: 220px !important;
    max-width: 320px;
  }

  header.style-1 .nav-right .form-inner input {
    font-size: 14px;
  }

  header.style-1 .nav-right .form-inner .search-btn {
    padding: 12px 20px !important;
  }

  header.style-1 .login-btn {
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  header.style-1 .main-menu .menu-list > li {
    padding: 0 8px !important;
  }

  header.style-1 .nav-right .form-inner {
    min-width: 200px !important;
    max-width: 280px;
  }
}

@media (min-width: 1400px) {
  header.style-1 .nav-left {
    gap: 28px !important;
  }

  header.style-1 .main-menu .menu-list > li {
    padding: 0 14px !important;
  }

  header.style-1 .nav-right .form-inner {
    min-width: 260px !important;
    max-width: 380px;
  }
}

/* Header logo swap for dark mode (footer uses separate white asset) */
.bidyear-logo-light {
  display: none;
}

[data-bidyear-theme="dark"] .bidyear-logo-dark {
  display: none;
}

[data-bidyear-theme="dark"] .bidyear-logo-light {
  display: inline-block;
}

/* Location filter fields — block layout override for theme */
.bidyear-location-fields .bidyear-loc-field {
  display: block;
  width: 100%;
}

.bidyear-location-fields .form-label {
  display: block;
  width: 100%;
  margin-bottom: 4px;
  float: none;
}

.bidyear-location-fields .form-select,
.bidyear-location-fields .form-control {
  display: block;
  width: 100%;
}

.bidyear-address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.bidyear-address-suggestions.show {
  display: block;
}

.bidyear-suggestion-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 10px 12px;
  font-size: .82rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.bidyear-suggestion-item:hover {
  background: #f8fafc;
  color: var(--bidyear-primary);
}

/* Pretty AJAX loader */
.bidyear-loader-card {
  background: #fff;
  padding: 28px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15,23,42,.2);
  text-align: center;
  min-width: 220px;
}

.bidyear-loader-logo {
  display: block;
  margin: 0 auto 16px;
}

.bidyear-loader-rings {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.bidyear-loader-rings div {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: bidyear-spin 0.9s linear infinite;
}

.bidyear-loader-rings div:last-child {
  inset: 6px;
  border-top-color: #7c3aed;
  animation-duration: 1.2s;
  animation-direction: reverse;
}

.bidyear-loader-card p {
  color: #64748b;
  font-size: .875rem;
  margin: 0;
  font-weight: 600;
}

@keyframes bidyear-spin {
  to { transform: rotate(360deg); }
}

.bidyear-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.bidyear-filter-overlay.active {
  display: flex;
}

.primary-btn.btn-hover {
  background: var(--bidyear-gradient) !important;
  border: none;
}

.live-pulse {
  animation: bidyear-pulse 2s infinite;
}

@keyframes bidyear-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}

@media (max-width: 767px) {
  .bidyear-stat-item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .bidyear-stat-item:last-child {
    border-bottom: none;
  }
}

/* Horizontal category navigation */
.bidyear-category-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.bidyear-category-toolbar,
.bidyear-subcategory-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
}

.bidyear-subcategory-toolbar {
  padding-top: 0;
  padding-bottom: 12px;
  border-top: 1px dashed #e2e8f0;
  margin-top: -2px;
}

.bidyear-browse-tier {
  gap: 8px 10px;
}

.bidyear-browse-tier-states {
  padding-bottom: 8px;
}

.bidyear-browse-tier-categories {
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

.bidyear-browse-tier-subcategories {
  border-top: 1px dashed #eef2f7;
}

.bidyear-browse-tier-label {
  flex-shrink: 0;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 4px;
  margin-right: 2px;
}

.bidyear-state-pill:not(.active) {
  background: #fff;
  border: 1px solid #e2e8f0;
}

.bidyear-mobile-browse-section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin: 0 0 .5rem;
}

/* Homepage premium sections */
.bidyear-premium-section,
.bidyear-premium-lots-section {
  padding-top: 0.25rem;
}

.bidyear-boost-callout {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #696cff 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
}

.bidyear-boost-callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.bidyear-featured-empty {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px dashed #cbd5e1;
}

.bidyear-premium-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bidyear-premium-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1) !important;
}

.bidyear-premium-card-img {
  height: 132px;
  overflow: hidden;
}

.bidyear-premium-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bidyear-premium-card-body {
  padding: 0.65rem 0.75rem 0.75rem !important;
}

.bidyear-premium-card-body h6 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.25rem !important;
}

.bidyear-premium-lots-section {
  background: linear-gradient(180deg, rgba(105, 108, 255, 0.04) 0%, transparent 100%);
  padding-bottom: 0.25rem;
}

.bidyear-premium-swiper-wrap {
  position: relative;
  padding: 0 3.25rem 2.75rem;
}

.bidyear-premium-swiper {
  overflow: hidden;
}

.bidyear-premium-swiper .swiper-slide {
  height: auto;
}

.bidyear-premium-prev,
.bidyear-premium-next {
  position: absolute;
  top: calc(50% - 1.35rem);
  z-index: 12;
  margin: 0;
  color: #2563eb;
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  pointer-events: auto;
}

.bidyear-premium-prev {
  left: 0;
  right: auto;
}

.bidyear-premium-next {
  right: 0;
  left: auto;
}

.bidyear-premium-prev::after,
.bidyear-premium-next::after {
  font-size: 0.95rem;
  font-weight: 700;
}

.bidyear-premium-prev.swiper-button-disabled,
.bidyear-premium-next.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.bidyear-premium-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem !important;
  width: 100%;
  z-index: 12;
  pointer-events: auto;
}

.bidyear-premium-pagination .swiper-pagination-bullet {
  opacity: 0.35;
}

.bidyear-premium-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #2563eb;
}

@media (max-width: 575.98px) {
  .bidyear-premium-swiper-wrap {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
  }

  .bidyear-premium-prev,
  .bidyear-premium-next {
    width: 2.15rem;
    height: 2.15rem;
  }
}

[data-bidyear-theme="dark"] .bidyear-featured-empty {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bidyear-theme="dark"] .bidyear-premium-lots-section {
  background: linear-gradient(180deg, rgba(105, 108, 255, 0.08) 0%, transparent 100%);
}

.bidyear-upcoming-banner {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.bidyear-upcoming-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

[data-bidyear-theme="dark"] .bidyear-upcoming-banner {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(15, 23, 42, 0.95) 100%);
}

[data-bidyear-theme="dark"] .bidyear-upcoming-banner-icon {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.bidyear-listing-view-stats {
  font-size: 0.8125rem;
}

.bidyear-watching-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
}

.bidyear-watching-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: bidyear-watching-pulse 1.8s infinite;
}

.bidyear-verify-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.375rem;
}

.bidyear-verify-loader-card {
  max-width: 320px;
  text-align: center;
  padding: 1.5rem 1rem;
}

@keyframes bidyear-watching-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Legacy aliases — keep compact card sizing if old partials are referenced */
.bidyear-featured-section {
  padding-top: 0.5rem;
}

.bidyear-featured-card,
.bidyear-trending-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bidyear-featured-card:hover,
.bidyear-trending-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.bidyear-trending-section {
  background: linear-gradient(180deg, rgba(105, 108, 255, 0.04) 0%, transparent 100%);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

[data-bidyear-theme="dark"] .bidyear-trending-section {
  background: linear-gradient(180deg, rgba(105, 108, 255, 0.08) 0%, transparent 100%);
}

.bidyear-category-dropdown .dropdown-toggle::after {
  margin-left: 0.35rem;
}

.bidyear-category-menu {
  min-width: 260px;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.35rem 0;
}

.bidyear-category-menu-group + .bidyear-category-menu-group {
  border-top: 1px solid #e2e8f0;
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}

.bidyear-category-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: visible;
  padding: 10px 0;
}

.bidyear-cat-separator {
  flex-shrink: 0;
  width: 1px;
  height: 22px;
  background: #cbd5e1;
  margin: 0 2px;
}

.bidyear-cat-pill,
.bidyear-subcat-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  text-decoration: none;
  transition: all .2s ease;
  border: 1px solid transparent;
}

.bidyear-cat-parent {
  font-weight: 700;
}

.bidyear-cat-pill:hover,
.bidyear-subcat-pill:hover,
.bidyear-cat-pill.active,
.bidyear-subcat-pill.active {
  background: var(--bidyear-gradient);
  color: #fff;
  border-color: transparent;
}

.bidyear-subcat-pill {
  font-size: .75rem;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-weight: 500;
}

.bidyear-subcat-pill.active {
  border-color: transparent;
}

/* Mobile nav: sidebar + account offcanvas — one at a time */
@media (max-width: 991px) {
  .bidyear-category-bar {
    display: none !important;
  }

  body.bidyear-mobile-nav-open,
  body.bidyear-account-open {
    overflow: hidden;
  }

  header.style-1 {
    position: relative;
    z-index: 100010;
  }

  header.style-1 .nav-left {
    flex: 1 1 auto;
    min-width: 0;
    gap: 12px !important;
    align-items: center;
  }

  header.style-1 .nav-left .company-logo {
    flex-shrink: 0;
    max-width: calc(100vw - 130px);
  }

  header.style-1 .nav-left .main-menu {
    flex: none !important;
    width: min(300px, 88vw) !important;
    min-width: unset !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    transform: translateX(-100%) !important;
    visibility: hidden;
    pointer-events: none;
    z-index: 100011 !important;
  }

  header.style-1 .nav-left .main-menu.show-menu {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
  }

  header.style-1 .main-menu {
    padding: 20px 18px !important;
    display: flex !important;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
    background: #fff;
  }

  header.style-1 .main-menu.show-menu {
    z-index: 100011;
  }

  header.style-1 .main-menu .menu-list {
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    width: 100%;
  }

  header.style-1 .main-menu .menu-list > li {
    display: block !important;
    width: 100%;
    padding: 0 !important;
  }

  header.style-1 .main-menu .menu-list > li > a {
    padding: 12px 0 !important;
    font-size: 15px !important;
  }

  .bidyear-mobile-menu-categories {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    max-height: min(42vh, 320px);
    overflow-y: auto;
  }

  .bidyear-mobile-menu-categories-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
  }

  .bidyear-mobile-cat-list,
  .bidyear-mobile-subcat-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .bidyear-mobile-cat-list > li + li {
    margin-top: 0.15rem;
  }

  .bidyear-mobile-cat-list > li > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }

  .bidyear-mobile-cat-list > li > a.active,
  .bidyear-mobile-cat-list > li > a:hover {
    color: var(--bidyear-primary);
  }

  .bidyear-mobile-subcat-list {
    padding-left: 1.35rem;
    margin-bottom: 0.35rem;
  }

  .bidyear-mobile-subcat-list a {
    display: block;
    padding: 0.35rem 0;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
  }

  .bidyear-mobile-subcat-list a.active,
  .bidyear-mobile-subcat-list a:hover {
    color: var(--bidyear-primary);
  }

  header.style-1 .mobile-logo-area {
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
  }

  header.style-1 .nav-right {
    gap: 8px !important;
    margin-left: 0 !important;
    flex-shrink: 0;
    min-width: 0;
  }

  header.style-1 .nav-right .bidyear-mobile-header-actions {
    gap: 12px;
  }

  header.style-1 .nav-right .mobile-menu-btn {
    margin-left: 0 !important;
  }

  .bidyear-account-offcanvas {
    z-index: 100015 !important;
  }

  .offcanvas-backdrop {
    z-index: 100014 !important;
  }

  body.bidyear-account-open .main-menu.show-menu {
    transform: translateX(-100%) !important;
  }

  body.bidyear-account-open .sidebar-button.active {
    pointer-events: none;
  }

  body.bidyear-account-open #bidyearMobileNavBackdrop {
    display: none !important;
  }
}

/* Compact footer */
.bidyear-footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  margin-top: 28px;
  padding: 22px 0 10px;
  font-size: .85rem;
}

.bidyear-footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bidyear-footer-brand p {
  font-size: .78rem;
  line-height: 1.45;
  margin: 8px 0;
  max-width: 260px;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer logo: dedicated white SVG on dark footer */
.bidyear-footer-logo {
  display: block;
  height: 36px;
  width: auto;
}

.bidyear-footer-tagline {
  color: #94a3b8 !important;
}

/* About page */
.bidyear-about-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.bidyear-page-badge {
  display: inline-block;
  background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(124, 58, 237, .1));
  color: var(--bidyear-primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.bidyear-about-visual-inner {
  background: var(--bidyear-gradient);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bidyear-cta-banner {
  background: var(--bidyear-gradient);
}

/* Yellow subtext on blue gradient surfaces (style.css sets p { color: var(--paragraph-color) }) */
:is(
  .bidyear-hero,
  .bidyear-about-visual-inner,
  .bidyear-cta-banner,
  .bidyear-dash-hero,
  .bidyear-auth-header,
  .bidyear-auth-aside,
  .bidyear-offcanvas-header
) {
  --paragraph-color: var(--bidyear-on-blue-accent);
}

:is(
  .bidyear-hero,
  .bidyear-about-visual-inner,
  .bidyear-cta-banner,
  .bidyear-dash-hero,
  .bidyear-auth-header,
  .bidyear-auth-header-copy,
  .bidyear-auth-aside,
  .bidyear-auth-aside-inner,
  .bidyear-offcanvas-header
) :is(
  p,
  .lead,
  li,
  small,
  .text-muted,
  .bidyear-auth-lead,
  .bidyear-auth-features li
) {
  color: var(--bidyear-on-blue-accent) !important;
}

:is(
  .bidyear-hero,
  .bidyear-about-visual-inner,
  .bidyear-cta-banner,
  .bidyear-dash-hero,
  .bidyear-auth-header,
  .bidyear-auth-aside,
  .bidyear-offcanvas-header
) :is(h1, h2, h3, h4, h5, h6, .offcanvas-title, .display-3, .display-5) {
  color: #fff !important;
}

.bidyear-hero .bidyear-section-badge {
  background: rgba(251, 191, 36, 0.18);
  color: var(--bidyear-on-blue-accent);
}

[data-bidyear-theme="dark"] .bidyear-about-hero {
  background: linear-gradient(180deg, #0b1220 0%, var(--by-surface) 100%);
}

[data-bidyear-theme="dark"] .bidyear-footer-tagline {
  color: #cbd5e1 !important;
}


.bidyear-footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  margin-right: 8px;
  text-decoration: none;
}

.bidyear-footer-links h6 {
  color: #fff;
  font-size: .78rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bidyear-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bidyear-footer-links li {
  margin-bottom: 6px;
}

.bidyear-footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.bidyear-footer-links a:hover {
  color: #fff;
}

.bidyear-newsletter-form {
  display: flex;
  gap: 0;
}

.bidyear-newsletter-form input {
  flex: 1;
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 8px 12px;
  font-size: .85rem;
}

.bidyear-newsletter-form button {
  border: none;
  background: var(--bidyear-primary);
  color: #fff;
  padding: 0 14px;
  border-radius: 0 8px 8px 0;
}

.bidyear-payment-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bidyear-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  font-size: .75rem;
}

/* Image gallery */
.bidyear-gallery-main {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bidyear-gallery-main-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.bidyear-gallery-main-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  text-decoration: none;
}

.bidyear-gallery-main-link:hover .bidyear-gallery-zoom {
  opacity: 1;
}

.bidyear-gallery-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, .75);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}


.col-lg-7 > .bidyear-gallery .bidyear-gallery-main-img {
  max-height: 480px;
  object-fit: contain;
}

.bidyear-gallery-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, .75);
  color: #fff;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.bidyear-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.bidyear-gallery-thumb {
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  width: 72px;
  height: 54px;
}

.bidyear-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bidyear-gallery-thumb.active {
  border-color: var(--bidyear-primary);
}

/* Legacy theme overrides */
footer:not(.bidyear-footer) .footer-wrapper {
  display: none !important;
}

.bidyear-footer-bottom ul {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bidyear-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

/* Content pages */
.bidyear-page-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.bidyear-breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
  font-size: .875rem;
}

.bidyear-step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.bidyear-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.bidyear-step-num {
  display: inline-block;
  background: rgba(37,99,235,.1);
  color: var(--bidyear-primary);
  font-weight: 700;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.bidyear-check-list {
  list-style: none;
  padding: 0;
}

.bidyear-check-list li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.bidyear-contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.bidyear-contact-card i {
  font-size: 1.25rem;
  color: var(--bidyear-primary);
  margin-top: 2px;
}

.bidyear-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
}

@media (max-width: 991px) {
  .bidyear-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .bidyear-footer-main {
    grid-template-columns: 1fr;
  }
}

/* Auction filter sidebar */
.bidyear-filter-sidebar {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, .08);
  border: 1px solid #e2e8f0;
}

.bidyear-filter-section {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.bidyear-filter-section-last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bidyear-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: linear-gradient(90deg, rgba(37,99,235,.06) 0%, rgba(124,58,237,.04) 100%);
  border-left: 3px solid var(--bidyear-primary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--bidyear-dark);
  cursor: pointer;
  transition: background .2s ease;
}

.bidyear-filter-toggle:hover {
  background: linear-gradient(90deg, rgba(37,99,235,.1) 0%, rgba(124,58,237,.08) 100%);
}

.bidyear-filter-chevron {
  color: var(--bidyear-primary);
  transition: transform .25s ease;
}

.bidyear-filter-section.collapsed .bidyear-filter-body {
  display: none;
}

.bidyear-filter-section.collapsed .bidyear-filter-chevron {
  transform: rotate(180deg);
}

.bidyear-filter-body {
  padding: 12px 4px 0;
}

.bidyear-filter-link {
  color: #475569;
  text-decoration: none;
  transition: color .2s ease;
}

.bidyear-filter-link:hover,
.bidyear-filter-link.active {
  color: var(--bidyear-primary);
  font-weight: 600;
}

.bidyear-filter-link.active {
  background: linear-gradient(90deg, rgba(37,99,235,.08), rgba(124,58,237,.06));
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: -6px;
}

.bidyear-filter-scroll {
  max-height: 200px;
  overflow-y: auto;
}

.bidyear-clear-filters {
  color: var(--bidyear-accent) !important;
  text-decoration: underline !important;
  font-weight: 600;
}

.bidyear-top-filter-bar {
  background: linear-gradient(135deg, rgba(37,99,235,.04) 0%, rgba(124,58,237,.04) 100%);
  border: 1px solid #e2e8f0;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.bidyear-auctions-page .category-tree ul {
  list-style: none;
  padding-left: 15px;
}

.bidyear-auctions-page .category-tree > ul {
  padding-left: 0;
}

@media (min-width: 992px) {
  .bidyear-auctions-page > .container > .row {
    align-items: flex-start;
  }

  .bidyear-auctions-page #auction-sidebar,
  .bidyear-auctions-page #auction-grid-container {
    min-width: 0;
  }
}

.bidyear-filter-sidebar .form-check-input:checked {
  background-color: var(--bidyear-primary);
  border-color: var(--bidyear-primary);
}

.bidyear-filter-sidebar .form-check-label {
  font-size: .85rem;
  color: #475569;
}

.bidyear-location-fields .form-select:focus,
.bidyear-location-fields .form-control:focus {
  border-color: var(--bidyear-primary);
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
}

/* Searchable select (replaces Tom Select) */
.bidyear-search-select {
  position: relative;
  width: 100%;
}

.bidyear-search-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bidyear-search-select-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 32px 6px 10px;
  font-size: .875rem;
  color: #334155;
  cursor: pointer;
  position: relative;
}

.bidyear-search-select-btn::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -2px;
  border: 5px solid transparent;
  border-top-color: var(--bidyear-primary);
}

.bidyear-search-select-btn.is-placeholder {
  color: #94a3b8;
}

.bidyear-search-select-btn.disabled,
.bidyear-search-select-btn:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: .75;
}

.bidyear-search-select-btn:focus {
  border-color: var(--bidyear-primary);
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
  outline: none;
}

.bidyear-search-select-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1060;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .12);
  padding: 8px;
}

.bidyear-search-select-search {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: .875rem;
  margin-bottom: 6px;
}

.bidyear-search-select-search:focus {
  border-color: var(--bidyear-primary);
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .1);
}

.bidyear-search-select-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 180px;
  overflow-y: auto;
}

.bidyear-search-select-list li {
  padding: 8px 10px;
  font-size: .875rem;
  color: #334155;
  border-radius: 6px;
  cursor: pointer;
}

.bidyear-search-select-list li:hover,
.bidyear-search-select-list li.active {
  background: linear-gradient(90deg, rgba(37,99,235,.1), rgba(124,58,237,.08));
  color: var(--bidyear-primary);
  font-weight: 600;
}

.bidyear-search-select-list li.disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Auth pages — centered symmetric shell */
.bidyear-auth-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.bidyear-auth-shell {
  background: #fff;
}

.bidyear-auth-header {
  background: var(--bidyear-gradient);
  position: relative;
}

.bidyear-auth-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}

.bidyear-auth-header-copy {
  position: relative;
  z-index: 1;
}

.bidyear-auth-logo-lg {
  width: min(220px, 70vw);
  height: auto;
}

.bidyear-auth-lead,
.bidyear-auth-features li {
  color: var(--bidyear-on-blue-accent) !important;
}

.bidyear-auth-header h2 {
  color: #fff !important;
}

.bidyear-auth-body {
  background: #fff;
  color: #1e293b;
}

.bidyear-auth-body .form-control {
  background-color: #fff;
  color: #1e293b;
  border-color: #cbd5e1;
}

.bidyear-auth-body input:-webkit-autofill,
.bidyear-auth-body input:-webkit-autofill:hover,
.bidyear-auth-body input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #1e293b !important;
  caret-color: #1e293b;
}

.bidyear-password-toggle .input-group-text {
  background: #fff;
  border-color: #cbd5e1;
  cursor: pointer;
  color: #64748b;
}

.bidyear-password-toggle .input-group-text:hover {
  color: var(--bidyear-primary);
}

.bidyear-auth-card {
  background: #fff;
}

.bidyear-auth-aside {
  background: var(--bidyear-gradient);
  position: relative;
}

.bidyear-auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.15), transparent 55%);
  pointer-events: none;
}

.bidyear-auth-aside-inner {
  position: relative;
  z-index: 1;
}

.bidyear-auth-logo {
  filter: brightness(0) invert(1);
}

.bidyear-gradient-btn {
  background: var(--bidyear-gradient) !important;
  border: none !important;
}

.letter-spacing-otp {
  letter-spacing: .5em;
  font-weight: 700;
}

.bidyear-otp-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
  color: var(--bidyear-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* Account alerts */
.bidyear-account-alerts {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.bidyear-alert-warning {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #92400e;
  border-bottom: 1px solid #fcd34d !important;
}

.bidyear-alert-warning .btn-light {
  background: #fff;
  border-color: #fcd34d;
  color: #92400e;
}

/* Dashboard upgrade */
.bidyear-dash-hero {
  background: var(--bidyear-gradient);
}

.bidyear-dash-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

.bidyear-dash-breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.bidyear-dash-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.6);
}

.bidyear-dash-health-pill {
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  backdrop-filter: blur(4px);
}

.bidyear-dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .bidyear-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.bidyear-dash-nav li a {
  color: #334155;
  transition: background .2s, color .2s;
}

.bidyear-dash-nav li a:hover {
  background: #f1f5f9;
  color: var(--bidyear-primary);
}

.bidyear-dash-nav li.active a {
  background: linear-gradient(90deg, rgba(37,99,235,.1), rgba(124,58,237,.08));
  color: var(--bidyear-primary);
  border-right: 3px solid var(--bidyear-primary);
}

.bidyear-dash-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(15,23,42,.12);
}

.bidyear-role-badge {
  background: linear-gradient(90deg, rgba(37,99,235,.1), rgba(124,58,237,.1));
  color: var(--bidyear-primary);
  font-weight: 600;
}

.bidyear-role-badge--sm {
  font-size: .65rem;
  padding: .25em .55em;
}

.bidyear-role-badge--md {
  font-size: .75rem;
  padding: .35em .65em;
}

.bidyear-offcanvas-header .bidyear-role-badge {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.bidyear-avatar-preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.bidyear-dash-sidebar-avatar {
  object-fit: cover;
  flex-shrink: 0;
}

.bidyear-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
  height: 100%;
}

.bidyear-stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.bidyear-stat-card .stat-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  font-weight: 700;
}

.bidyear-stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bidyear-dark);
}

.bidyear-health-mini-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.06));
  border: 1px solid rgba(37,99,235,.15);
  color: var(--bidyear-dark);
  min-width: 160px;
}

.bidyear-health-mini-card strong {
  font-size: 1.5rem;
  line-height: 1.2;
  background: var(--bidyear-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bidyear-health-mini-card .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  font-weight: 700;
}

.bidyear-table-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  background: #fff;
}

.bidyear-table-card .table thead th {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  border-bottom-width: 1px;
  background: transparent;
}

/* Account health page */
.bidyear-health-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(var(--bidyear-primary) calc(var(--score) * 1%), #e2e8f0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bidyear-health-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 50%;
}

.bidyear-health-ring .score-value {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bidyear-primary);
}

.bidyear-health-item {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.bidyear-health-item.is-complete {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.bidyear-health-item.is-complete .health-icon {
  color: #16a34a;
}

.bidyear-health-item.is-pending .health-icon {
  color: #d97706;
}

.bidyear-health-item .health-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* ── Dashboard sidebar: override theme dark nav (#111A22) ── */
.bidyear-dashboard .dashboard-sidebar-menu ul,
.bidyear-dashboard .bidyear-dash-sidebar ul {
  background: #fff !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: static !important;
}

.bidyear-dashboard .dashboard-sidebar-menu ul li,
.bidyear-dashboard .bidyear-dash-nav li {
  margin-bottom: 0 !important;
}

.bidyear-dashboard .dashboard-sidebar-menu ul li a,
.bidyear-dashboard .bidyear-dash-nav li a {
  background: transparent !important;
  border-radius: 0 !important;
  color: #334155 !important;
  padding: .85rem 1.25rem !important;
  gap: .75rem !important;
}

.bidyear-dashboard .dashboard-sidebar-menu ul li a i,
.bidyear-dashboard .dashboard-sidebar-menu ul li a span,
.bidyear-dashboard .bidyear-dash-nav li a i,
.bidyear-dashboard .bidyear-dash-nav li a span {
  color: inherit !important;
}

.bidyear-dashboard .dashboard-sidebar-menu ul li a h6 {
  color: #334155 !important;
}

.bidyear-dashboard .dashboard-sidebar-menu ul li.active a,
.bidyear-dashboard .bidyear-dash-nav li.active a {
  background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(124, 58, 237, .08)) !important;
  color: var(--bidyear-primary) !important;
  border-right: 3px solid var(--bidyear-primary);
}

.bidyear-dashboard .dashboard-sidebar-menu ul li a:hover,
.bidyear-dashboard .bidyear-dash-nav li a:hover {
  background: #f1f5f9 !important;
  color: var(--bidyear-primary) !important;
}

.bidyear-dashboard .bidyear-dash-user h6,
.bidyear-dashboard .bidyear-dash-user small {
  color: #334155;
}

.bidyear-dashboard .bidyear-dash-content,
.bidyear-dashboard .dashboard-content-wrap {
  background: #fff !important;
  color: #0f172a;
}

.bidyear-dashboard .bidyear-dash-content h1,
.bidyear-dashboard .bidyear-dash-content h2,
.bidyear-dashboard .bidyear-dash-content h3,
.bidyear-dashboard .bidyear-dash-content h4,
.bidyear-dashboard .bidyear-dash-content h5,
.bidyear-dashboard .bidyear-dash-content h6,
.bidyear-dashboard .bidyear-dash-content p,
.bidyear-dashboard .bidyear-dash-content td,
.bidyear-dashboard .bidyear-dash-content th {
  color: inherit;
}

.bidyear-dashboard .text-muted {
  color: #64748b !important;
}

/* Theme toggle */
.bidyear-theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, .25);
  background: rgba(37, 99, 235, .08);
  color: var(--bidyear-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.bidyear-theme-toggle-btn:hover {
  background: var(--bidyear-gradient);
  color: #fff;
  border-color: transparent;
}

/* AI Smart Search header button */
.bidyear-smart-search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(105, 108, 255, .35);
  background: linear-gradient(135deg, rgba(105, 108, 255, .12) 0%, rgba(133, 146, 255, .08) 100%);
  color: #696cff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.bidyear-smart-search-btn:hover,
.bidyear-smart-search-btn.is-active {
  background: linear-gradient(135deg, #696cff 0%, #8592ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(105, 108, 255, .35);
}

.bidyear-mobile-smart-search-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px dashed rgba(105, 108, 255, .45);
  color: #696cff;
  font-weight: 600;
  text-decoration: none;
}

.bidyear-mobile-smart-search-link:hover,
.bidyear-mobile-smart-search-link.active {
  background: rgba(105, 108, 255, .1);
  color: #696cff;
}

.bidyear-smart-search-bar .btn-primary {
  position: relative;
  z-index: 2;
}

.bidyear-search-ai-footer {
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding: 0.65rem 0.85rem;
}

.bidyear-search-ai-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #696cff;
  text-decoration: none;
}

.bidyear-search-ai-link:hover {
  color: #5f61e6;
}

[data-bidyear-theme="dark"] .bidyear-smart-search-btn {
  border-color: rgba(133, 146, 255, .35);
  color: #a5a9ff;
}

[data-bidyear-theme="dark"] .bidyear-search-ai-footer {
  border-top-color: rgba(255, 255, 255, .08);
}

button.login-btn {
  border: none;
  background: inherit;
  font: inherit;
  cursor: pointer;
}

/* Account offcanvas */
.bidyear-offcanvas-header {
  background: var(--bidyear-gradient);
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.bidyear-offcanvas-header .offcanvas-title {
  font-size: 1rem;
  line-height: 1.3;
  word-break: break-word;
}

.bidyear-offcanvas-header .btn-close {
  flex-shrink: 0;
  margin-left: auto;
}

.bidyear-account-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.25rem;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background .2s, color .2s;
}

.bidyear-account-nav-link i {
  font-size: 1.15rem;
  color: var(--bidyear-primary);
  width: 1.5rem;
  text-align: center;
}

.bidyear-account-nav-link:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, .08), rgba(124, 58, 237, .05));
  color: var(--bidyear-primary);
}

.bidyear-progress-bar {
  background: var(--bidyear-gradient) !important;
}

.bidyear-account-offcanvas {
  width: min(320px, 90vw);
  z-index: 1045;
}

/* ── Dark mode (gradient blue palette) ── */
[data-bidyear-theme="dark"] {
  --by-bg: #0b1220;
  --by-surface: #111827;
  --by-surface-2: #1e293b;
  --by-border: #334155;
  --by-text: #e2e8f0;
  --by-text-muted: #94a3b8;
  --by-header-bg: #0f172a;
  --paragraph-color: #cbd5e1;
  --paragraph-color2: #94a3b8;
  --title-color: #f1f5f9;
  --title-color-opc: 241, 245, 249;
  --border-color: #334155;
  --white-color: #111827;
}

[data-bidyear-theme="dark"] body {
  background: var(--by-bg);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .header-area,
[data-bidyear-theme="dark"] header.header-area,
[data-bidyear-theme="dark"] header.style-1,
[data-bidyear-theme="dark"] .topbar-wrap,
[data-bidyear-theme="dark"] .topbar-area,
[data-bidyear-theme="dark"] header.header1 {
  background: var(--by-header-bg) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .menu-list li a,
[data-bidyear-theme="dark"] .nav-right .form-inner input {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .category-bar,
[data-bidyear-theme="dark"] .bidyear-category-bar {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .category-bar a,
[data-bidyear-theme="dark"] .bidyear-category-pill {
  color: var(--by-text) !important;
  background: var(--by-surface-2) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .symmetric-card,
[data-bidyear-theme="dark"] .auction-card,
[data-bidyear-theme="dark"] .card,
[data-bidyear-theme="dark"] .bidyear-table-card,
[data-bidyear-theme="dark"] .bidyear-stat-card,
[data-bidyear-theme="dark"] .bidyear-health-item,
[data-bidyear-theme="dark"] .bidyear-auth-card .col-lg-7,
[data-bidyear-theme="dark"] .bidyear-dash-sidebar,
[data-bidyear-theme="dark"] .bidyear-dash-content,
[data-bidyear-theme="dark"] .dashboard-content-wrap,
[data-bidyear-theme="dark"] .offcanvas-body {
  background: var(--by-surface) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .text-muted {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--by-text);
  --bs-table-border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .table thead th {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .form-control,
[data-bidyear-theme="dark"] .form-select {
  background: var(--by-surface-2);
  border-color: var(--by-border);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .footer-section,
[data-bidyear-theme="dark"] footer {
  background: var(--by-header-bg) !important;
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .footer-section a {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .bidyear-auth-section {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
}

[data-bidyear-theme="dark"] .bidyear-dashboard .dashboard-sidebar-menu ul,
[data-bidyear-theme="dark"] .bidyear-dashboard .bidyear-dash-sidebar ul {
  background: var(--by-surface) !important;
}

[data-bidyear-theme="dark"] .bidyear-dashboard .bidyear-dash-nav li a,
[data-bidyear-theme="dark"] .bidyear-dashboard .dashboard-sidebar-menu ul li a {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-dashboard .bidyear-dash-nav li.active a,
[data-bidyear-theme="dark"] .bidyear-dashboard .dashboard-sidebar-menu ul li.active a {
  background: linear-gradient(90deg, rgba(37, 99, 235, .25), rgba(124, 58, 237, .18)) !important;
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] .bidyear-dashboard .bidyear-dash-user h6 {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-account-nav-link {
  color: var(--by-text);
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .bidyear-account-nav-link:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, .2), rgba(124, 58, 237, .12));
  color: #93c5fd;
}

[data-bidyear-theme="dark"] .bidyear-alert-warning {
  background: linear-gradient(90deg, #78350f, #92400e) !important;
  color: #fef3c7 !important;
}

[data-bidyear-theme="dark"] .login-btn {
  background: var(--bidyear-gradient) !important;
  color: #fff !important;
}

[data-bidyear-theme="dark"] .breadcrumb-section {
  background: var(--by-surface) !important;
}

[data-bidyear-theme="dark"] .bg-light {
  background: var(--by-surface-2) !important;
}

[data-bidyear-theme="dark"] .bidyear-health-item.is-complete {
  background: rgba(22, 163, 74, .12) !important;
  border-color: rgba(22, 163, 74, .35) !important;
}

[data-bidyear-theme="dark"] .bidyear-health-mini-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(124, 58, 237, .12));
  border-color: rgba(37, 99, 235, .35);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .bidyear-stat-card .stat-value {
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .bidyear-dash-hero {
  background: var(--bidyear-gradient);
}

[data-bidyear-theme="dark"] .bidyear-theme-toggle-btn {
  background: rgba(37, 99, 235, .2);
  border-color: rgba(147, 197, 253, .3);
  color: #93c5fd;
}

/* ── Go-to-top button: theme blue ── */
.circle-container {
  border-color: var(--bidyear-primary) !important;
}

.circle-container svg,
.circle-container svg path {
  fill: var(--bidyear-primary) !important;
}

.circle-container:hover {
  background-color: var(--bidyear-primary) !important;
  border-color: var(--bidyear-primary) !important;
}

.circle-container:hover svg,
.circle-container:hover svg path {
  fill: #fff !important;
}

/* ── Nav / search: blue hover & active (override template green) ── */
header.style-1 .main-menu > ul > li:hover > a,
header.style-1 .main-menu > ul > li.active > a,
.topbar-area .main-menu > ul > li:hover > a,
.topbar-area .main-menu > ul > li.active > a {
  color: var(--bidyear-primary) !important;
}

header.style-1 .main-menu > ul > li.active > a::before,
.topbar-area .main-menu > ul > li.active > a::before {
  display: none !important;
}

header.style-1 .nav-right .form-inner .search-btn,
header.style-1 .main-menu .form-inner .search-btn {
  background-color: var(--bidyear-primary) !important;
}

/* ── Dark mode: readable text (white / blue) ── */
[data-bidyear-theme="dark"] {
  --primary-color: #2563eb;
  --primary-color-opc: 37, 99, 235;
  --title-color: #e2e8f0;
}

[data-bidyear-theme="dark"] h1,
[data-bidyear-theme="dark"] h2,
[data-bidyear-theme="dark"] h3,
[data-bidyear-theme="dark"] h4,
[data-bidyear-theme="dark"] h5,
[data-bidyear-theme="dark"] h6,
[data-bidyear-theme="dark"] p,
[data-bidyear-theme="dark"] li,
[data-bidyear-theme="dark"] label,
[data-bidyear-theme="dark"] span:not(.badge):not(.btn) {
  color: inherit;
}

[data-bidyear-theme="dark"] .text-dark,
[data-bidyear-theme="dark"] a.text-dark,
[data-bidyear-theme="dark"] h5 a.text-dark,
[data-bidyear-theme="dark"] .auction-card-content .text-dark,
[data-bidyear-theme="dark"] .auction-meta .text-dark,
[data-bidyear-theme="dark"] .inner-banner-title {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .text-primary,
[data-bidyear-theme="dark"] a.text-primary {
  color: #60a5fa !important;
}

[data-bidyear-theme="dark"] .breadcrumb-item.active,
[data-bidyear-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .breadcrumb-item a {
  color: #60a5fa !important;
}

[data-bidyear-theme="dark"] .inner-banner,
[data-bidyear-theme="dark"] .bidyear-page-hero,
[data-bidyear-theme="dark"] .breadcrumb-section {
  background: var(--by-surface) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .inner-banner-title,
[data-bidyear-theme="dark"] .bidyear-page-hero h1,
[data-bidyear-theme="dark"] .bidyear-page-hero .display-5 {
  color: #fff !important;
}

[data-bidyear-theme="dark"] .auction-card-content h5 a:hover,
[data-bidyear-theme="dark"] .auction-card .card-content h4 a:hover,
[data-bidyear-theme="dark"] a:hover {
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] .bg-white,
[data-bidyear-theme="dark"] .border-light {
  background-color: var(--by-surface) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .countdown-timer {
  background: var(--by-surface-2) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .countdown-timer .text-muted {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .bidyear-logo-img {
  filter: none;
}

[data-bidyear-theme="dark"] .bidyear-footer-brand p,
[data-bidyear-theme="dark"] .bidyear-footer-tagline {
  color: #94a3b8 !important;
}

[data-bidyear-theme="dark"] .bidyear-footer-links a:hover {
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] .bidyear-cat-pill,
[data-bidyear-theme="dark"] .bidyear-subcat-pill {
  background: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-cat-pill.active,
[data-bidyear-theme="dark"] .bidyear-subcat-pill.active {
  background: var(--bidyear-gradient) !important;
  color: #fff !important;
}

[data-bidyear-theme="dark"] .menu-list li.active a,
[data-bidyear-theme="dark"] header.style-1 .main-menu > ul > li.active > a {
  color: #60a5fa !important;
}

[data-bidyear-theme="dark"] .btn-outline-primary {
  color: #60a5fa !important;
  border-color: #60a5fa !important;
}

[data-bidyear-theme="dark"] .btn-outline-primary:hover {
  background: var(--bidyear-primary) !important;
  color: #fff !important;
}

[data-bidyear-theme="dark"] .lead.text-muted {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .form-check-label,
[data-bidyear-theme="dark"] .form-label {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-auth-card .col-lg-7 h3,
[data-bidyear-theme="dark"] .bidyear-auth-card .col-lg-7 label {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-step-card,
[data-bidyear-theme="dark"] .bidyear-contact-card {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-page-hero {
  background: linear-gradient(180deg, #0b1220 0%, var(--by-surface) 100%) !important;
}

[data-bidyear-theme="dark"] .primary-btn:hover,
[data-bidyear-theme="dark"] .view-button2:hover,
[data-bidyear-theme="dark"] .sidebar-area a:hover {
  color: #93c5fd !important;
}

/* Interactive star rating input */
.bidyear-star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.bidyear-star-input input {
  display: none;
}

.bidyear-star-input label {
  cursor: pointer;
  font-size: 1.35rem;
  color: #cbd5e1;
  transition: color .15s ease;
  margin: 0;
}

.bidyear-star-input-lg label {
  font-size: 2rem;
}

.bidyear-star-input input:checked ~ label,
.bidyear-star-input label:hover,
.bidyear-star-input label:hover ~ label {
  color: #f59e0b;
}

.bidyear-rating-stars .bi-star-fill {
  font-size: .95rem;
}

.bidyear-stars-lg .bi-star-fill {
  font-size: 1.15rem;
}

.bidyear-stars-sm .bi-star-fill {
  font-size: .8rem;
}

.bidyear-review-card {
  border-radius: 12px;
}

.bidyear-seller-hero {
  border-radius: 16px;
}

/* ── Pricing & plan cards ── */
.bidyear-pricing-section {
  background: var(--by-surface-alt, #f8fafc);
}

.bidyear-section-badge {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, .1);
  color: var(--bidyear-primary, #2563eb);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bidyear-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bidyear-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
}

.bidyear-plan-card.is-featured {
  border-color: var(--bidyear-primary, #2563eb);
  box-shadow: 0 20px 45px rgba(37, 99, 235, .15);
}

.bidyear-plan-card.is-current {
  border-color: rgba(22, 163, 74, .45);
}

.bidyear-plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--bidyear-primary, #2563eb);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bidyear-plan-badge-current {
  background: #16a34a;
}

.bidyear-plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.bidyear-plan-desc {
  min-height: 2.75rem;
  font-size: .92rem;
}

.bidyear-plan-price-wrap {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(15, 23, 42, .08);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.bidyear-plan-amount {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bidyear-primary, #2563eb);
}

.bidyear-plan-period {
  color: #64748b;
  font-size: .95rem;
}

.bidyear-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  margin-bottom: .75rem;
  font-size: .93rem;
  color: #334155;
}

.bidyear-plan-features li i {
  margin-top: .15rem;
  flex-shrink: 0;
}

.bidyear-pricing-note {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 1.5rem;
}

.bidyear-plan-status-card,
.bidyear-plan-quick-actions,
.bidyear-plan-empty,
.bidyear-plan-callout {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 1.5rem;
}

.bidyear-plan-callout {
  background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(124, 58, 237, .04));
}

.bidyear-plan-callout-icon,
.bidyear-plan-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .12);
  color: var(--bidyear-primary, #2563eb);
  font-size: 1.5rem;
}

.bidyear-plan-price-inline {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bidyear-primary, #2563eb);
}

.bidyear-plan-stat {
  background: #f8fafc;
  border-radius: 12px;
  padding: .85rem 1rem;
}

.bidyear-plan-stat strong {
  font-size: .98rem;
}

[data-bidyear-theme="dark"] .bidyear-plan-card,
[data-bidyear-theme="dark"] .bidyear-pricing-note,
[data-bidyear-theme="dark"] .bidyear-plan-status-card,
[data-bidyear-theme="dark"] .bidyear-plan-quick-actions,
[data-bidyear-theme="dark"] .bidyear-plan-empty,
[data-bidyear-theme="dark"] .bidyear-plan-callout {
  background: var(--by-surface, #1e293b);
  border-color: rgba(148, 163, 184, .15);
}

[data-bidyear-theme="dark"] .bidyear-plan-stat {
  background: rgba(15, 23, 42, .45);
}

[data-bidyear-theme="dark"] .bidyear-plan-features li {
  color: var(--by-text-muted, #cbd5e1);
}

[data-bidyear-theme="dark"] .bidyear-pricing-section {
  background: var(--by-bg, #0f172a);
}

/* ── Dark mode: mobile nav + global frontend surfaces ── */
[data-bidyear-theme="dark"] .topbar-area a,
[data-bidyear-theme="dark"] .topbar-right ul li a,
[data-bidyear-theme="dark"] .language-area .language-btn,
[data-bidyear-theme="dark"] .language-area .language-list a {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .language-area .language-list {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] header.style-1 .main-menu,
[data-bidyear-theme="dark"] header.style-1 .nav-left .main-menu {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35) !important;
}

[data-bidyear-theme="dark"] .mobile-logo-area,
[data-bidyear-theme="dark"] .bidyear-mobile-menu-categories,
[data-bidyear-theme="dark"] .bidyear-mobile-menu-extras {
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-mobile-menu-categories-title,
[data-bidyear-theme="dark"] .bidyear-mobile-subcat-list a {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .bidyear-mobile-cat-list > li > a,
[data-bidyear-theme="dark"] header.style-1 .main-menu .menu-list > li > a,
[data-bidyear-theme="dark"] header.style-1 .mobile-logo-area .menu-close-btn i {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] header.style-1 .mobile-logo-area .menu-close-btn {
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-account-toggle-btn,
[data-bidyear-theme="dark"] .bidyear-theme-toggle-btn {
  background: var(--by-surface-2) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-account-toggle-btn:hover,
[data-bidyear-theme="dark"] .bidyear-theme-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] header.style-1 .nav-right .mobile-menu-btn span,
[data-bidyear-theme="dark"] header.style-1 .nav-right .mobile-menu-btn span::before,
[data-bidyear-theme="dark"] header.style-1 .nav-right .mobile-menu-btn span::after {
  background: var(--by-text) !important;
}

[data-bidyear-theme="dark"] main {
  background: var(--by-bg);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .bidyear-auth-body,
[data-bidyear-theme="dark"] .bidyear-auth-shell {
  background: var(--by-surface) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-auth-body .form-control,
[data-bidyear-theme="dark"] .bidyear-auth-body .form-select {
  background: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-auth-body input:-webkit-autofill,
[data-bidyear-theme="dark"] .bidyear-auth-body input:-webkit-autofill:hover,
[data-bidyear-theme="dark"] .bidyear-auth-body input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--by-surface-2) inset !important;
  -webkit-text-fill-color: var(--by-text) !important;
  caret-color: var(--by-text);
}

[data-bidyear-theme="dark"] .bidyear-password-toggle .input-group-text {
  background: var(--by-surface-2) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .section-padding,
[data-bidyear-theme="dark"] .auction-section,
[data-bidyear-theme="dark"] .faq-section,
[data-bidyear-theme="dark"] .contact-section,
[data-bidyear-theme="dark"] .bidyear-content-section {
  background: var(--by-bg);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .list-group-item {
  background: var(--by-surface);
  color: var(--by-text);
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .dropdown-menu {
  background: var(--by-surface);
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .dropdown-item {
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .dropdown-item:hover,
[data-bidyear-theme="dark"] .dropdown-item:focus,
[data-bidyear-theme="dark"] .dropdown-item.active {
  background: var(--by-surface-2);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .bidyear-global-search .form-inner input {
  background: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-global-search .form-inner input::placeholder {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .modal-content {
  background: var(--by-surface);
  color: var(--by-text);
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .modal-header,
[data-bidyear-theme="dark"] .modal-footer {
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

[data-bidyear-theme="dark"] .bidyear-account-alerts .alert-warning,
[data-bidyear-theme="dark"] .bidyear-alert-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fde68a !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

[data-bidyear-theme="dark"] .bidyear-account-alerts .btn-light {
  background: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .pagination .page-link {
  background: var(--by-surface);
  color: var(--by-text);
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .pagination .page-item.active .page-link {
  background: var(--bidyear-primary);
  border-color: var(--bidyear-primary);
  color: #fff;
}

[data-bidyear-theme="dark"] .accordion-item {
  background: var(--by-surface);
  border-color: var(--by-border);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .accordion-button {
  background: var(--by-surface-2);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .accordion-button:not(.collapsed) {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
}

[data-bidyear-theme="dark"] .nav-tabs .nav-link {
  color: var(--by-text-muted);
}

[data-bidyear-theme="dark"] .nav-tabs .nav-link.active {
  background: var(--by-surface);
  color: var(--by-text);
  border-color: var(--by-border);
}

[data-bidyear-theme="dark"] .border,
[data-bidyear-theme="dark"] .border-top,
[data-bidyear-theme="dark"] .border-bottom {
  border-color: var(--by-border) !important;
}

/* ── Dark mode: auctions, filters, lot cards, content pages ── */
[data-bidyear-theme="dark"] .bidyear-filter-sidebar,
[data-bidyear-theme="dark"] .bidyear-top-filter-bar,
[data-bidyear-theme="dark"] .sidebar-widget,
[data-bidyear-theme="dark"] .dense-card,
[data-bidyear-theme="dark"] .process-card,
[data-bidyear-theme="dark"] .lot-card,
[data-bidyear-theme="dark"] .lot-content,
[data-bidyear-theme="dark"] .auction-details-content,
[data-bidyear-theme="dark"] .pro-ui-wrapper .bg-white {
  background: var(--by-surface) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-filter-section {
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .bidyear-filter-toggle {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-filter-link,
[data-bidyear-theme="dark"] .bidyear-filter-sidebar .form-check-label,
[data-bidyear-theme="dark"] .bidyear-filter-sidebar label,
[data-bidyear-theme="dark"] .sidebar-title {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-filter-link:hover,
[data-bidyear-theme="dark"] .bidyear-filter-link.active {
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] .bidyear-filter-link.active {
  background: rgba(37, 99, 235, 0.15) !important;
}

[data-bidyear-theme="dark"] .lot-card,
[data-bidyear-theme="dark"] .lot-image-box {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .lot-image-box {
  background: var(--by-surface-2) !important;
}

[data-bidyear-theme="dark"] .lot-title,
[data-bidyear-theme="dark"] .lot-title:hover,
[data-bidyear-theme="dark"] .pro-ui-wrapper,
[data-bidyear-theme="dark"] .pro-ui-wrapper .text-dark {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .lot-title:hover {
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] .auction-card .auction-card-content,
[data-bidyear-theme="dark"] .auction-card .auction-card-content h6 a,
[data-bidyear-theme="dark"] .auction-card .auction-card-content .price-and-code-area .price strong,
[data-bidyear-theme="dark"] .auction-card .auction-card-content .price-and-code-area .code span {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .auction-card .auction-card-content h6 a:hover {
  color: #93c5fd !important;
}

[data-bidyear-theme="dark"] .auction-card .auction-card-content .price-and-code-area .price span {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .bg-light,
[data-bidyear-theme="dark"] .form-control.bg-light,
[data-bidyear-theme="dark"] .input-group-text.bg-light,
[data-bidyear-theme="dark"] .lot-content .bg-light,
[data-bidyear-theme="dark"] .badge.bg-light {
  background: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .badge.bg-light.text-muted,
[data-bidyear-theme="dark"] .badge.bg-light.text-dark {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .table-light,
[data-bidyear-theme="dark"] .table > thead.table-light,
[data-bidyear-theme="dark"] .table thead.table-light th,
[data-bidyear-theme="dark"] .table thead.table-light tr th {
  --bs-table-bg: var(--by-surface-2);
  --bs-table-color: var(--by-text);
  background-color: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .table-hover > tbody > tr:hover {
  --bs-table-hover-bg: rgba(37, 99, 235, 0.08);
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .card.border-dashed.bg-light,
[data-bidyear-theme="dark"] .card.bg-light {
  background: var(--by-surface-2) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .card.border-dashed .icon-wrap.bg-white {
  background: var(--by-surface) !important;
}

[data-bidyear-theme="dark"] .terms-and-conditions-page,
[data-bidyear-theme="dark"] .terms-and-conditions-page .terms-and-conditions,
[data-bidyear-theme="dark"] .terms-and-conditions-page .update-date {
  color: var(--by-text);
}

[data-bidyear-theme="dark"] .terms-and-conditions-page .update-date p,
[data-bidyear-theme="dark"] .terms-and-conditions-page .terms-and-conditions p,
[data-bidyear-theme="dark"] .terms-and-conditions-page .terms-and-conditions ul li {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .terms-and-conditions-page .update-date h6,
[data-bidyear-theme="dark"] .terms-and-conditions-page .terms-and-conditions h2,
[data-bidyear-theme="dark"] .terms-and-conditions-page .terms-and-conditions h3,
[data-bidyear-theme="dark"] .terms-and-conditions-page .terms-and-conditions ul li strong {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .breadcrumb-section[style],
[data-bidyear-theme="dark"] .inner-banner {
  background: var(--by-surface) !important;
  background-image: none !important;
}

[data-bidyear-theme="dark"] .banner-content h1,
[data-bidyear-theme="dark"] .inner-banner-title {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .settings-wrap,
[data-bidyear-theme="dark"] .settings-wrap .edit-info-area,
[data-bidyear-theme="dark"] .settings-wrap h4,
[data-bidyear-theme="dark"] .settings-wrap h6,
[data-bidyear-theme="dark"] .dashboard-content-wrap h4,
[data-bidyear-theme="dark"] .dashboard-content-wrap h5,
[data-bidyear-theme="dark"] .dashboard-content-wrap h6,
[data-bidyear-theme="dark"] .bidyear-dash-content h4,
[data-bidyear-theme="dark"] .bidyear-dash-content h5,
[data-bidyear-theme="dark"] .bidyear-dash-content h6 {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .settings-wrap .border-bottom {
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .input-group-text {
  background: var(--by-surface-2) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .card-header.bg-white {
  background: var(--by-surface-2) !important;
  color: var(--by-text) !important;
  border-color: var(--by-border) !important;
}

[data-bidyear-theme="dark"] .auction-grid-area,
[data-bidyear-theme="dark"] .auction-grid-area .container,
[data-bidyear-theme="dark"] .terms-and-conditions-page {
  background: var(--by-bg);
}

[data-bidyear-theme="dark"] .bidyear-health-ring::before {
  background: var(--by-surface) !important;
}

[data-bidyear-theme="dark"] .bidyear-health-item.is-complete {
  background: rgba(22, 163, 74, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

[data-bidyear-theme="dark"] .text-success {
  color: #4ade80 !important;
}

[data-bidyear-theme="dark"] .text-warning {
  color: #fbbf24 !important;
}

[data-bidyear-theme="dark"] .badge.bg-warning.text-dark {
  color: #1e293b !important;
}

[data-bidyear-theme="dark"] .nav-tabs .nav-link.text-dark,
[data-bidyear-theme="dark"] .nav-tabs .nav-link.text-muted {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .nav-tabs .nav-link.active.text-dark {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .contact-section .bidyear-contact-card,
[data-bidyear-theme="dark"] .bidyear-step-card,
[data-bidyear-theme="dark"] .faq-section .accordion-body {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .edit-info-area > h6 {
  border-color: var(--by-border) !important;
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-step-card h5,
[data-bidyear-theme="dark"] .bidyear-contact-card h5 {
  color: var(--by-text) !important;
}

/* Legal / static content pages */
.bidyear-legal-page {
  background: transparent;
}

.bidyear-legal-updated {
  font-size: 0.9rem;
  color: #64748b;
}

.bidyear-legal-intro {
  font-size: 1.05rem;
  line-height: 1.75;
}

.bidyear-legal-section h2 {
  color: #0f172a;
}

.bidyear-legal-section p {
  line-height: 1.75;
}

.bidyear-legal-list {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.bidyear-legal-list li {
  margin-bottom: 0.75rem;
  color: #475569;
  line-height: 1.65;
}

.bidyear-legal-list li strong {
  color: #1e293b;
}

.bidyear-legal-related {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
  border: 1px solid #e2e8f0;
}

[data-bidyear-theme="dark"] .bidyear-legal-section h2,
[data-bidyear-theme="dark"] .bidyear-legal-list li strong {
  color: var(--by-text) !important;
}

[data-bidyear-theme="dark"] .bidyear-legal-section p,
[data-bidyear-theme="dark"] .bidyear-legal-list li,
[data-bidyear-theme="dark"] .bidyear-legal-intro,
[data-bidyear-theme="dark"] .bidyear-legal-updated {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .bidyear-legal-related {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
}

/* Help Center — forum-style knowledge base */
.bidyear-help-search .input-group-text,
.bidyear-help-search .form-control {
  border-color: #e2e8f0;
}

.bidyear-help-search .form-control:focus {
  box-shadow: none;
  border-color: #cbd5e1;
}

.bidyear-help-category {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bidyear-help-category-card:hover .bidyear-help-category {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(37, 99, 235, 0.12) !important;
}

.bidyear-help-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
  color: #2563eb;
  font-size: 1.35rem;
}

.bidyear-help-topic-row,
.bidyear-help-topic-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bidyear-help-topic-row:hover,
.bidyear-help-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.08) !important;
}

.bidyear-help-topic-avatar,
.bidyear-help-topic-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bidyear-help-steps {
  padding-left: 1.25rem;
  line-height: 1.7;
  color: #475569;
}

.bidyear-help-steps li {
  margin-bottom: 0.5rem;
}

.bidyear-help-paragraph {
  color: #475569;
  line-height: 1.75;
}

.bidyear-help-tip {
  background: rgba(37, 99, 235, 0.06) !important;
  color: #334155;
}

.bidyear-help-cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
  border: 1px solid #e2e8f0;
}

.bidyear-help-sidebar .list-group-item.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: #e2e8f0;
  color: #2563eb;
  font-weight: 600;
}

.bidyear-help-quick-links li {
  margin-bottom: 0.35rem;
}

.bidyear-help-quick-links a {
  color: #475569;
  text-decoration: none;
}

.bidyear-help-quick-links a:hover {
  color: #2563eb;
}

[data-bidyear-theme="dark"] .bidyear-help-category-icon,
[data-bidyear-theme="dark"] .bidyear-help-topic-avatar,
[data-bidyear-theme="dark"] .bidyear-help-topic-icon {
  background: var(--by-surface);
  color: var(--by-primary, #60a5fa);
}

[data-bidyear-theme="dark"] .bidyear-help-paragraph,
[data-bidyear-theme="dark"] .bidyear-help-steps {
  color: var(--by-text-muted) !important;
}

[data-bidyear-theme="dark"] .bidyear-help-cta,
[data-bidyear-theme="dark"] .bidyear-help-tip {
  background: var(--by-surface) !important;
  border-color: var(--by-border) !important;
  color: var(--by-text-muted) !important;
}

/* Report modals — keep native Bootstrap selects (avoid nice-select layout clash) */
.bidyear-report-modal .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.bidyear-report-modal select.form-select {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bidyear-report-modal .nice-select {
  display: none !important;
}

.bidyear-report-modal textarea.form-control {
  width: 100%;
  resize: vertical;
}
