/* Sense-styled My Account layout (scoped) - v2024.12.21.6-browse-neon */

/* Hide Dokan "Become an Influencer" migration section */
.dokan-account-migration-lists,
.dokan-w8-left-content {
  display: none !important;
}

.sb-account {
  --gold: #ffd700;
  --gold-2: #f2c700;
  --emerald: #00a86b;
  --ink: #050505;
  --card: #0b0b0b;
  --line: #1a1a1a;
  --gray: #a1a1aa;
  background: #000;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.sb-account a {
  color: inherit;
  text-decoration: none;
}

.sb-account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #000;
}

@media (max-width: 992px) {
  .sb-account-layout {
    grid-template-columns: 220px 1fr;
  }
  .sb-account-side {
    position: relative;
    height: auto;
  }
  .sb-account-topbar {
    position: sticky;
    top: 0;
  }
}

/* Tablet - Hide sidebar or make it collapsible */
@media (max-width: 768px) {
  .sb-account-layout {
    grid-template-columns: 1fr;
  }
  
  .sb-account-side {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-width: 85vw;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    display: flex;
  }

  .sb-account-side.mobile-open {
    transform: translateX(0);
  }
  
  .sb-account-topbar {
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  
  .sb-profile {
    flex: 1;
    min-width: 0;
  }
  
  .sb-profile-name {
    font-size: 13px;
  }
  
  .sb-profile-sub {
    font-size: 11px;
  }
  
  .sb-top-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 8px;
  }
  
  .sb-pill-sense {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .sb-btn-outline {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .sb-account-content {
    padding: 12px;
  }
  
  .sb-page-title {
    font-size: 18px;
  }
}

/* Mobile - Compact everything */
@media (max-width: 576px) {
  .sb-account-topbar {
    padding: 8px 10px;
  }
  
  .sb-avatar {
    width: 32px;
    height: 32px;
  }
  
  .sb-avatar-initials {
    font-size: 13px;
  }
  
  .sb-profile-name {
    font-size: 12px;
  }
  
  .sb-profile-sub {
    display: none; /* Hide subtitle on small mobile */
  }
  
  .sb-pill-sense {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .sb-pill-dot {
    width: 8px;
    height: 8px;
  }
  
  .sb-btn-outline {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .sb-account-content {
    padding: 10px;
  }
  
  .sb-page-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .sb-card {
    padding: 12px 14px;
  }
}

.sb-account-side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: var(--ink);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.sb-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd700, #f2c700);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.25);
}

/* WordPress Custom Logo Wrapper */
.sb-logo-wrapper {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.sb-logo-wrapper img,
.sb-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.sb-nav {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-nav-item {
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #e5e7eb;
  font-size: 15px;
  border: 1px solid transparent;
  background: #000 !important;
  background-color: #000 !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sb-nav-item:hover,
.sb-nav-item.active {
  background: #0b0b0b !important;
  background-color: #0b0b0b !important;
  border-color: var(--line);
  color: #fff;
}

/* Bidder dashboard dropdowns and selects - black backgrounds */
.sb-account select,
.sb-account .select2-container,
.sb-account .select2-dropdown,
.sb-account .select2-results {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border-color: var(--line) !important;
}

.sb-account select option {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
}

.sb-account .select2-results__option {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
}

.sb-account .select2-results__option--highlighted {
  background: #050505 !important;
  background-color: #050505 !important;
  color: var(--gold) !important;
}

.sb-account-status {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: #9ca3af;
  font-size: 12px;
}

.sb-spacer {
  flex: 1;
}

.sb-account-main {
  display: flex;
  flex-direction: column;
  background: #000;
  min-height: 100vh;
}

.sb-account-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.sb-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Initials-based avatar */
.sb-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sb-avatar-initials::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sb-avatar-initials:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 255, 255, 0.15) inset;
}

.sb-avatar-initials span {
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

/* Gravatar image styling */
.sb-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sb-avatar img:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.4);
}

.sb-profile-name {
  font-weight: 800;
  font-size: 14px;
}

.sb-profile-sub {
  color: #9ca3af;
  font-size: 12px;
}

.sb-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s transform, 0.2s background, 0.2s border-color, 0.2s box-shadow;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.auction-card .sb-btn {
  padding: 8px 14px;
  font-size: 12px;
}

.sb-btn:active {
  transform: translateY(1px);
}

.sb-btn-gold {
  background: var(--gold);
  color: #000;
}

.sb-btn-gold:hover {
  background: var(--gold-2);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.7);
}

.sb-btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.sb-btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.5);
}

.sb-account-content {
  padding: 20px;
  background: #000;
}

.sb-account-content-inner {
  /* Full width - max-width constraint removed */
  width: 100%;
  margin: 0;
}

.sb-page-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.sb-nav-icon {
  min-width: 20px;
  font-size: 16px;
}

.sb-pill-sense {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 168, 107, 0.2), rgba(0, 168, 107, 0.05));
  border: 1px solid rgba(0, 168, 107, 0.5);
  color: #d1fae5;
  font-weight: 700;
  font-size: 13px;
}

.sb-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #39ff14, #00a86b);
  box-shadow: 0 0 12px rgba(0, 168, 107, 0.8);
}

.sb-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 0;
  overflow: visible;
  transition: border-color 0.2s ease;
}

.sb-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.sb-card-body {
  margin-top: 8px;
}

.sb-card--flush {
  padding: 0;
}

.sense-label {
  font-size: 11px;
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(0, 168, 107, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 168, 107, 0.15);
}

.sense-label span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #39ff14, #00a86b);
  box-shadow: 0 0 8px rgba(0, 168, 107, 0.6);
  flex-shrink: 0;
}

.auction-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
  width: 100%;
}

/* Empty state message styling */
.sb-card > p:only-child,
.sb-card > p:last-child:not(:first-child) {
  color: #9ca3af;
  font-size: 13px;
  margin: 8px 0;
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.auction-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 18, 32, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auction-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.auction-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  color: #f8fafc;
  line-height: 1.4;
}

.auction-meta {
  color: #cbd5e1;
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

.heat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.6);
  color: #e5e7eb;
  white-space: nowrap;
}

.heat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
}

.heat-hot .heat-dot {
  background: #f97316;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.9);
}

.heat-fire .heat-dot {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.tag {
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid #27272a;
  background: #09090b;
  color: #e4e4e7;
  font-size: 11px;
}

.sense-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: #e5e7eb;
}

.sense-list li {
  margin-bottom: 4px;
}

.sb-section-title {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 18px;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.sb-section-sub {
  margin: 0 0 16px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.6;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  width: 100%;
}

/* Make grid items stack properly on mobile */
.sb-grid > * {
  min-width: 0; /* Prevent grid items from overflowing */
}

/* Ensure proper spacing between sections */
.sb-grid .sb-card {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .sb-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* Override all grid column spans on tablet */
  .sb-grid > * {
    grid-column: span 2 !important;
  }
  
  /* KPI cards - 2 per row on tablet */
  .sb-grid .sb-kpi {
    grid-column: span 1 !important;
  }
}

@media (max-width: 768px) {
  .sb-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  /* KPI cards - 2 per row */
  .sb-grid .sb-kpi {
    grid-column: span 1 !important;
  }
  
  /* All other cards full width */
  .sb-grid > .sb-card:not(.sb-kpi) {
    grid-column: span 2 !important;
  }
  
  .sb-card {
    padding: 16px 18px;
  }
}

@media (max-width: 576px) {
  .sb-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  /* All cards full width on mobile */
  .sb-grid > * {
    grid-column: span 1 !important;
  }
  
  .sb-card {
    padding: 14px 16px;
  }
  
  .sb-kpi-value {
    font-size: 20px;
  }
  
  .sb-kpi-label {
    font-size: 11px;
  }
  
  .sb-kpi-foot {
    font-size: 10px;
  }
}

/* Horizontal scroll prevention */
@media (max-width: 768px) {
  .sb-account-content {
    padding: 14px;
  }
  
  .sb-account-content-inner {
    overflow-x: hidden;
  }
  
  .sb-grid {
    max-width: 100%;
  }
}

.sb-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-kpi-label {
  color: #9ca3af;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sb-kpi-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.sb-kpi-foot {
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.4;
}

.sb-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.auction-card .sb-row {
  margin-top: 4px;
}

.sb-account input,
.sb-account select,
.sb-account textarea {
  background: #050505;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  color: #fff;
  padding: 8px 10px;
  font-size: 13px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sb-account textarea {
  resize: vertical;
}

.sb-account table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 13px;
}

.sb-account th {
  color: #9ca3af;
  font-weight: 500;
  font-size: 12px;
  padding: 6px 8px;
}

.sb-account td {
  background: #050505;
  padding: 6px 8px;
  border-top: 1px solid #1f2933;
  border-bottom: 1px solid #1f2933;
}

.sb-account tr td:first-child {
  border-left: 1px solid #1f2933;
  border-radius: 10px 0 0 10px;
}

.sb-account tr td:last-child {
  border-right: 1px solid #1f2933;
  border-radius: 0 10px 10px 0;
}

.sb-account .woocommerce table.shop_table {
  border: none;
}

.sb-account .woocommerce table.shop_table th,
.sb-account .woocommerce table.shop_table td {
  border: none;
  background: transparent;
  padding: 8px;
}

.sb-account .woocommerce table.shop_table td,
.sb-account .woocommerce table.shop_table th {
  color: #e5e7eb;
}

.sb-account .woocommerce-Address,
.sb-account .woocommerce-address-fields__field-wrapper {
  color: #e5e7eb;
}

.sb-account .woocommerce form .form-row label {
  color: #e5e7eb;
  font-size: 13px;
}

.sb-account .woocommerce form .form-row .required {
  color: var(--gold);
}

.sb-account .woocommerce-button,
.sb-account .woocommerce a.button,
.sb-account .woocommerce button.button,
.sb-account .button {
  background: var(--gold);
  color: #000;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  border: none;
  text-transform: none;
}

.sb-account .woocommerce-button:hover,
.sb-account .woocommerce a.button:hover,
.sb-account .woocommerce button.button:hover,
.sb-account .button:hover {
  background: var(--gold-2);
  color: #000;
}

.sb-account .woocommerce-message,
.sb-account .woocommerce-info,
.sb-account .woocommerce-error {
  background: #0b0b0b;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #e5e7eb;
}

.sb-account .woocommerce-orders-table__cell-order-actions a {
  margin-right: 8px;
}

.sb-account .products li.product,
.sb-account ul.products li.product {
  background: #050505;
  border: 1px solid #1f2933;
  border-radius: 14px;
  padding: 12px;
}

.sb-account ul.products li.product .woocommerce-loop-product__title,
.sb-account ul.products li.product .woocommerce-loop-category__title {
  color: #fff;
}

.sb-account ul.products li.product .price {
  color: var(--gold);
}

/* ============================================
   ROYAL AUCTION CARD STYLES
   Premium card design with gold gradient borders,
   decorative corners, and glowing animations
   ============================================ */

/* Card wrapper */
.sb-auction-card {
  position: relative;
  min-width: 280px;
  max-width: 360px;
  flex: 0 0 min(340px, 80vw);
}

/* Gradient border frame - dark neon */
.sb-auction-frame {
  position: relative;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(140deg, #0ea5e9, #10b981 45%, #f59e0b 95%);
  box-shadow:
    0 0 0 1px rgba(15,23,42,.9),
    0 20px 50px rgba(0,0,0,.85),
    0 0 40px rgba(14,165,233,.35),
    0 0 60px rgba(16,185,129,.35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  overflow: visible; /* Allow corners to be visible outside */
}

.sb-auction-card:hover .sb-auction-frame {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(16,185,129,.7),
    0 28px 70px rgba(0,0,0,.9),
    0 0 70px rgba(14,165,233,.45),
    0 0 90px rgba(245,158,11,.35);
  filter: saturate(1.07);
}

.sb-auction-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.9);
  pointer-events: none;
  z-index: 0;
}

.sb-auction-frame > * {
  position: relative;
  z-index: 1;
}

/* Header and body backgrounds */
.sb-auction-header,
.sb-auction-body {
  background: radial-gradient(circle at 0 0, rgba(16,185,129,.07), transparent), #0b1220;
}

.sb-auction-header {
  padding: 12px 14px 10px;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 5;
  min-height: 46px;
  border-bottom: 1px solid rgba(34,211,238,.25);
  background: linear-gradient(120deg, rgba(15,23,42,0.9), rgba(8,47,73,0.85));
}

/* Decorative corner elements with arrow/chevron shape - HIDDEN */
.sb-auction-corner {
  display: none; /* Corners removed per client request */
}

/* Status pills and badges */
.sb-auction-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.sb-pill {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  border: 1px solid rgba(148,163,184,.5);
  color: #e5e7eb;
  background: linear-gradient(120deg, rgba(15,23,42,.9), rgba(8,47,73,.85));
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.sb-pill--live {
  border-color: rgba(34,211,238,.85);
  background: linear-gradient(135deg, rgba(34,211,238,.9), rgba(56,189,248,.7));
  color: #0c1727;
}

.sb-pill--ending {
  border-color: rgba(251,146,60,.85);
  background: linear-gradient(135deg, rgba(251,146,60,.95), rgba(234,88,12,.8));
  color: #0f0a05;
}

.sb-pill--highroller {
  border-color: rgba(16,185,129,.85);
  background: linear-gradient(135deg, rgba(16,185,129,.9), rgba(59,130,246,.75));
  color: #03120c;
}

.sb-pill--category {
  border-color: rgba(148,163,184,.6);
}

.sb-pill--winning {
  border-color: rgba(34,197,94,.8);
  background: radial-gradient(circle at 0 0, rgba(34,197,94,.65), transparent);
  color: #d1fae5;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sb-auction-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #fef9c3;
}

.sb-crown {
  font-size: 14px;
}

.sb-badge-text {
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Image styling */
.sb-auction-image-wrap {
  position: relative;
  border-radius: 0;
  overflow: hidden; /* Keep overflow hidden for images only */
  z-index: 1; /* Below header and corners */
}

.sb-auction-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.sb-auction-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent 55%);
}

.sb-auction-tagline {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #f9fafb;
  background: rgba(15,23,42,.9);
  border: 1px solid rgba(148,163,184,.7);
}

/* Hide winning badge that appears on image */
.sb-auction-image-wrap .winning,
.sb-auction-image-wrap .onsale,
.woocommerce-loop-product__link .winning {
  display: none !important;
}

/* Body content */
.sb-auction-body {
  padding: 16px 18px 18px !important; /* Increased padding to prevent text cutoff */
  border-radius: 0 0 18px 18px !important;
  color: #ffffff !important;
  background: radial-gradient(circle at 20% 20%, rgba(16,185,129,.1), transparent 45%), #0b1220 !important;
  overflow: visible !important; /* Prevent text from being cut off */
}

/* Ultra-aggressive text visibility rules */
li.product .sb-auction-body,
li.product .sb-auction-body * {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

li.product .sb-auction-body h2,
li.product .sb-auction-body p,
li.product .sb-auction-body span,
li.product .sb-auction-body strong,
li.product .sb-auction-body div,
li.product .sb-auction-body a {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sb-auction-title,
li.product .sb-auction-title,
li.product .sb-auction-body .sb-auction-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
  display: block !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sb-auction-meta,
li.product .sb-auction-meta {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  color: #cbd5e1 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sb-auction-meta strong,
li.product .sb-auction-meta strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Stats display */
.sb-auction-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.sb-stat {
  min-width: 0;
}

.sb-stat-label,
li.product .sb-stat-label {
  display: block !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #a5f3fc !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sb-stat-value,
li.product .sb-stat-value {
  font-weight: 800 !important;
  font-size: 18px !important;
  color: #f8fafc !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4) !important;
}

.sb-stat-value--urgent {
  color: #fb7185 !important;
}

/* Pulse glow animation for buttons */
@keyframes sbPulseGlow {
  0% {
    box-shadow: 0 0 14px rgba(250,204,21,.55), 0 0 0 0 rgba(34,197,94,.35);
  }
  50% {
    box-shadow: 0 0 26px rgba(34,197,94,.85), 0 0 0 10px rgba(34,197,94,.0);
  }
  100% {
    box-shadow: 0 0 14px rgba(250,204,21,.55), 0 0 0 0 rgba(34,197,94,.0);
  }
}

/* Button footer */
.sb-auction-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sb-btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .18s all ease;
  text-decoration: none;
  min-width: 120px;
}

/* Primary glowing button with pulse animation */
.sb-btn-bid {
  flex: 1;
  background:
    linear-gradient(135deg, #22d3ee, #10b981 55%, #fbbf24 110%);
  color: #052e16;
  border-color: rgba(16,185,129,.9);
  animation: sbPulseGlow 2.6s infinite ease-out;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
  box-shadow: 0 12px 30px rgba(34,211,238,.25), 0 0 20px rgba(16,185,129,.35);
}

.sb-btn-bid:hover {
  filter: brightness(1.07) saturate(1.1);
  transform: translateY(-1px);
}

.sb-btn-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: .9;
}

.sb-btn-ghost {
  background: rgba(15,23,42,.9);
  border-color: rgba(148,163,184,.4);
  color: #e2e8f0;
}

.sb-btn-ghost:hover {
  border-color: #22d3ee;
  color: #e0f2fe;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sb-auction-image {
    height: 190px;
  }
  
  .sb-auction-card {
    max-width: 100%;
    min-width: 240px;
    flex: 1 1 auto;
  }
  
  .sb-auction-title,
  li.product .sb-auction-title,
  li.product .sb-auction-body .sb-auction-title {
    font-size: 18px !important;
  }
  
  .sb-auction-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .sb-stat-value,
  li.product .sb-stat-value {
    font-size: 16px !important;
  }
  
  .sb-stat-label,
  li.product .sb-stat-label {
    font-size: 11px !important;
  }
  
  .auction-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
  }
  
  .auction-card {
    margin: 0;
    padding: 18px 20px;
    gap: 10px;
  }
}

/* Stats row responsive */
.sb-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sb-stat-item {
  min-width: 180px;
  flex: 1 1 auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.sb-stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .sb-stats-row {
    gap: 10px;
  }
  
  .sb-stat-item {
    min-width: 120px;
    font-size: 12px !important;
  }
}

@media (max-width: 576px) {
  .sb-stats-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .sb-stat-item {
    min-width: 100%;
    width: 100%;
  }
}

/* Mobile specific card adjustments */
@media (max-width: 576px) {
  .sb-auction-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .sb-auction-frame {
    border-radius: 14px;
  }
  
  .sb-auction-header {
    padding: 10px 12px;
    border-radius: 14px 14px 0 0;
  }
  
  .sb-auction-body {
    padding: 12px 14px 14px !important;
    border-radius: 0 0 14px 14px !important;
  }
  
  .sb-auction-title,
  li.product .sb-auction-title,
  li.product .sb-auction-body .sb-auction-title {
    font-size: 16px !important;
  }
  
  .sb-auction-meta,
  li.product .sb-auction-meta {
    font-size: 12px !important;
  }
  
  .sb-auction-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .sb-stat-value,
  li.product .sb-stat-value {
    font-size: 14px !important;
  }
  
  .sb-stat-label,
  li.product .sb-stat-label {
    font-size: 10px !important;
  }
  
  .sb-auction-image {
    height: 160px;
  }
  
  .sb-pill {
    padding: 3px 7px;
    font-size: 10px;
  }
  
  .sb-btn-bid {
    padding: 10px 12px;
    font-size: 12px;
    min-width: 100px;
  }
  
  .sb-btn-sub {
    font-size: 10px;
  }
  
  .auction-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .auction-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px 18px;
    gap: 10px;
  }
  
  .auction-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .auction-card img,
  .auction-card .wp-post-image {
    height: 180px !important;
  }
  
  ul.products li.product img {
    height: 180px !important;
  }
}

/* Integration with WooCommerce product loops - GLOBAL (applies site-wide) */
ul.products li.product.sb-auction-card,
.sb-account ul.products li.product.sb-auction-card {
  background: transparent;
  border: none;
  padding: 0;
}

ul.products li.product .sb-auction-frame,
.sb-account ul.products li.product .sb-auction-frame {
  background: linear-gradient(135deg, rgba(253,224,71,1), rgba(251,191,36,1), rgba(147,197,253,1));
}

/* WooCommerce button integration - GLOBAL */
.sb-auction-footer .button,
.sb-auction-footer .added_to_cart,
.sb-auction-footer .auction_form button,
.sb-auction-footer .auction_form .button,
.sb-auction-footer a.button {
  appearance: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s all ease;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}

/* Style primary auction buttons with glow - GLOBAL */
.sb-auction-footer .button.auction-button,
.sb-auction-footer .auction_form button,
.sb-auction-footer .auction_form .button,
.sb-auction-footer a.button.alt {
  flex: 1;
  background:
    radial-gradient(circle at 0 0, rgba(250,204,21,.55), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(34,197,94,.65), transparent 55%),
    linear-gradient(135deg,#facc15,#22c55e);
  color: #022c22 !important;
  border-color: rgba(190,242,100,.9);
  animation: sbPulseGlow 2.4s infinite ease-out;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

.sb-auction-footer .button.auction-button:hover,
.sb-auction-footer .auction_form button:hover,
.sb-auction-footer a.button.alt:hover {
  filter: brightness(1.05) saturate(1.05);
  transform: translateY(-1px);
}

/* Button sub-labels - GLOBAL */
.sb-auction-footer .button .button-sublabel,
.sb-auction-footer .button::after {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
  display: block;
}

/* Secondary/ghost buttons - GLOBAL */
.sb-auction-footer .button:not(.auction-button):not(.alt),
.sb-auction-footer .added_to_cart {
  background: #020617;
  border-color: #374151;
  color: #e5e7eb;
}

.sb-auction-footer .button:not(.auction-button):not(.alt):hover,
.sb-auction-footer .added_to_cart:hover {
  border-color: #facc15;
  color: #fef9c3;
}

/* Product thumbnail in auction card - GLOBAL */
.sb-auction-image-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

/* Hide default product link wrapper when in auction card - GLOBAL */
.sb-auction-body > a.woocommerce-loop-product__link {
  text-decoration: none;
  color: inherit;
}

/* Product title styling in auction cards - GLOBAL with ultra high specificity */
li.product .sb-auction-body .woocommerce-loop-product__title,
.sb-auction-body .woocommerce-loop-product__title {
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  display: block !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure ALL text elements are bright white */
li.product .sb-auction-body *,
li.product .sb-auction-body h2,
li.product .sb-auction-body h3,
li.product .sb-auction-body p,
li.product .sb-auction-body span:not(.sb-btn):not(.button):not(.sb-stat-label),
li.product .sb-auction-body a,
li.product .sb-auction-body strong,
li.product .sb-auction-body div {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

li.product .sb-auction-body .sb-auction-title,
li.product .sb-auction-body h2.sb-auction-title,
li.product .sb-auction-body .woocommerce-loop-product__title {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Price/amount colors - make them gold for visibility */
li.product .sb-auction-body .woocommerce-Price-amount,
li.product .sb-auction-body .amount {
  color: #fbbf24 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 800 !important;
}

/* Hide default price display in favor of stats */
.sb-auction-body .price {
  display: none !important;
}

/* ---- Global product cards (trending/listing) force dark neon look ---- */
ul.products li.product,
ul.products li.product.sb-auction-card,
.sb-auction-card,
.auction-card {
  position: relative;
  background: linear-gradient(180deg, #0f1829 0%, #0a121f 60%, #0a121f 100%) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 18px !important;
  padding: 9px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.5) !important;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .woocommerce-Price-amount,
ul.products li.product p,
ul.products li.product span {
  color: #f8fafc !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55);
}

ul.products li.product .price,
ul.products li.product .woocommerce-Price-amount {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

ul.products li.product img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  display: block;
}

ul.products li.product .button,
ul.products li.product a.button {
  background: linear-gradient(135deg, #22d3ee, #10b981 55%, #fbbf24 110%) !important;
  color: #052e16 !important;
  border: 1px solid rgba(16,185,129,.9) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 30px rgba(34,211,238,.25), 0 0 20px rgba(16,185,129,.35);
}

ul.products li.product .button:hover,
ul.products li.product a.button:hover {
  filter: brightness(1.07) saturate(1.1);
}

/* --- Auction carousel/browse overrides (Elementor/Swiper) --- */
.auction-card,
.auction-card-content,
.auction-card h1,
.auction-card h2,
.auction-card h3,
.auction-card h4,
.auction-card h5,
.auction-card h6,
.auction-card p,
.auction-card span {
  color: #f8fafc !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55);
}

.auction-card .price,
.auction-card .price-area,
.auction-card .price-and-code-area {
  color: #fbbf24 !important;
}

.auction-card {
  background: radial-gradient(circle at 20% 20%, rgba(34,211,238,.08), transparent 45%), #0b1220 !important;
  border: 1px solid rgba(148,163,184,.25) !important;
}

.auction-card .auction-card-content {
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.65));
  padding: 12px 14px 16px !important;
}

.auction-card .auction-card-wrap,
.auction-card .auction-card-content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force container look to match reference (image 1) */
.auction-card {
  position: relative;
  min-width: 320px;
  max-width: 360px;
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: visible; /* Changed to visible to prevent text cutoff */
  box-shadow:
    0 0 0 1px rgba(15,23,42,.9),
    0 20px 50px rgba(0,0,0,.85),
    0 0 40px rgba(14,165,233,.30),
    0 0 60px rgba(16,185,129,.30);
  background: radial-gradient(circle at 20% 20%, rgba(34,211,238,.08), transparent 45%), #0b1220 !important;
  border: 1px solid rgba(148,163,184,.25) !important;
}

.auction-card .auction-card-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

.auction-card img,
.auction-card .wp-post-image {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  display: block;
}

.auction-card .auction-card-content {
  padding: 16px 18px 18px !important; /* Increased padding to prevent text cutoff */
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.70));
  overflow: visible !important; /* Prevent text from being cut off */
}

.auction-card h2,
.auction-card h3,
.auction-card h4 {
  font-size: 20px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55);
}

.auction-card p,
.auction-card span {
  color: #e2e8f0 !important;
}

.auction-card .price,
.auction-card .price-area,
.auction-card .price-and-code-area {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

.auction-card .button,
.auction-card a.button {
  background: linear-gradient(135deg, #22d3ee, #10b981 55%, #fbbf24 110%) !important;
  color: #052e16 !important;
  border: 1px solid rgba(16,185,129,.9) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 30px rgba(34,211,238,.25), 0 0 20px rgba(16,185,129,.35);
}

.auction-card .button:hover,
.auction-card a.button:hover {
  filter: brightness(1.07) saturate(1.1);
}

/* ============================================
   RESPONSIVE: TABLES & FORMS
   Make tables and forms mobile-friendly
   ============================================ */

@media (max-width: 768px) {
  .sb-account table {
    font-size: 12px;
  }
  
  .sb-account th,
  .sb-account td {
    padding: 5px 6px;
  }
  
  .sb-account .woocommerce form .form-row {
    margin-bottom: 12px;
  }
  
  .sb-account .woocommerce form .form-row label {
    font-size: 12px;
  }
  
  .sb-btn,
  .sb-account .woocommerce-button,
  .sb-account .woocommerce a.button,
  .sb-account .woocommerce button.button,
  .sb-account .button {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  /* Stack table rows vertically on very small screens if needed */
  .sb-account table,
  .sb-account tbody,
  .sb-account tr,
  .sb-account td {
    display: block;
    width: 100%;
  }
  
  .sb-account thead {
    display: none; /* Hide table headers on mobile */
  }
  
  .sb-account tr {
    margin-bottom: 12px;
    border: 1px solid #1f2933;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .sb-account td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none !important;
    border-radius: 0 !important;
  }
  
  .sb-account td:before {
    content: attr(data-label);
    position: absolute;
    left: 8px;
    width: 45%;
    padding-right: 10px;
    text-align: left;
    font-weight: 700;
    color: #9ca3af;
  }
  
  .sb-section-title {
    font-size: 16px;
  }
  
  .sb-section-sub {
    font-size: 12px;
  }
}

/* ============================================
   RESPONSIVE: ANIMATIONS & TRANSITIONS
   Smooth transitions for responsive changes
   ============================================ */

.sb-card,
.sb-auction-card,
.sb-btn,
.sb-grid {
  transition: all 0.3s ease;
}

/* ============================================
   RESPONSIVE: UTILITY CLASSES
   Additional responsive helpers
   ============================================ */

@media (max-width: 768px) {
  .sb-row {
    gap: 8px;
  }
  
  /* Better touch targets for mobile */
  .sb-btn,
  .sb-auction-footer .button,
  a.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Prevent text overflow */
  .sb-auction-title,
  .sb-section-title,
  .sb-kpi-foot {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
}

@media (max-width: 576px) {
  /* Make buttons full width on mobile for better touch targets */
  .sb-auction-footer {
    flex-direction: column;
    gap: 8px;
  }
  
  .sb-auction-footer .button,
  .sb-auction-footer .sb-btn {
    width: 100%;
    min-width: 100%;
  }
  
  /* Ensure all product listing grids stack on mobile */
  ul.products,
  .products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  ul.products li.product,
  .products li.product {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* ============================================
   RESPONSIVE: LANDSCAPE MOBILE & SMALL TABLETS
   Special handling for landscape orientation
   ============================================ */

@media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
  .sb-account-side {
    display: none;
  }
  
  .sb-account-layout {
    grid-template-columns: 1fr;
  }
  
  .sb-account-topbar {
    padding: 8px 12px;
  }
  
  .sb-account-content {
    padding: 12px;
  }
  
  .sb-grid {
    gap: 10px;
  }
  
  .sb-card {
    padding: 12px 14px;
  }
}

/* ============================================
   RESPONSIVE: VERY SMALL DEVICES
   Extra small phones (< 375px)
   ============================================ */

@media (max-width: 374px) {
  .sb-account-topbar {
    padding: 6px 8px;
  }
  
  .sb-avatar {
    width: 28px;
    height: 28px;
  }
  
  .sb-avatar-initials {
    font-size: 11px;
  }
  
  .sb-profile-name {
    font-size: 11px;
  }
  
  .sb-pill-sense {
    padding: 3px 6px;
    font-size: 9px;
  }
  
  .sb-btn-outline {
    padding: 5px 8px;
    font-size: 10px;
  }
  
  .sb-account-content {
    padding: 8px;
  }
  
  .sb-page-title {
    font-size: 14px;
  }
  
  .sb-grid {
    gap: 10px;
  }
  
  .sb-card {
    padding: 10px 12px;
  }
  
  .sb-section-title {
    font-size: 14px;
  }
  
  .sb-section-sub {
    font-size: 11px;
  }
  
  .sb-kpi-value {
    font-size: 18px;
  }
  
  .sb-kpi-label {
    font-size: 10px;
  }
  
  .sb-auction-title,
  li.product .sb-auction-title {
    font-size: 14px !important;
  }
  
  .sb-stat-value,
  li.product .sb-stat-value {
    font-size: 12px !important;
  }
}

/* ============================================
   RESPONSIVE: PREVENT HORIZONTAL SCROLL
   Critical overflow fixes
   ============================================ */

@media (max-width: 768px) {
  body,
  html {
    overflow-x: hidden;
  }
  
  .sb-account,
  .sb-account-layout,
  .sb-account-main,
  .sb-account-content,
  .sb-account-content-inner {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Ensure images don't cause overflow */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Prevent long words from breaking layout */
  * {
    word-wrap: break-word;
  }
}

/* ============================================
   AI RECOMMENDED SECTION
   ============================================ */

.sb-ai-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sb-ai-header {
  margin-bottom: 24px;
}

.sb-ai-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.sb-ai-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.sb-sense-feed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 168, 107, 0.15);
  border: 1px solid rgba(0, 168, 107, 0.3);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sb-sense-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.sb-ai-subtitle {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

.sb-ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .sb-ai-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sb-ai-cards {
    grid-template-columns: 1fr;
  }
}

.sb-ai-card {
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.sb-ai-card:hover {
  transform: translateY(-2px);
  border-color: #2a2a2a;
}

.sb-ai-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.sb-ai-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.sb-ai-card-content {
  padding: 16px;
}

.sb-ai-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-ai-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sb-ai-category {
  color: var(--gold);
}

.sb-ai-sep {
  opacity: 0.5;
}

.sb-ai-bid-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.sb-ai-current-bid {
  font-size: 13px;
  color: #d4d4d8;
  margin-bottom: 6px;
}

.sb-ai-current-bid strong {
  color: #fff;
  font-weight: 600;
}

.sb-sense-win {
  font-size: 13px;
  color: var(--emerald);
  font-weight: 500;
}

.sb-ai-heat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #fbbf24;
  margin-bottom: 12px;
}

.sb-heat-icon {
  font-size: 16px;
}

.sb-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.sb-auction-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.sb-ai-actions {
  display: flex;
  gap: 10px;
}

.sb-smart-bid {
  flex: 1;
  background: linear-gradient(135deg, #f97316, #ec4899);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sb-smart-bid:hover {
  opacity: 0.9;
  color: #fff;
}

.sb-share-btn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sb-share-btn:hover {
  background: var(--gold);
  color: #000;
}

.sb-ai-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
}

/* ============================================
   EXPLORE PAGE
   ============================================ */

.sb-explore-filters {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.sb-explore-filter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sb-explore-search {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.sb-search-input {
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 40px 10px 14px;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.sb-search-input:focus {
  outline: none;
  border-color: var(--gold);
}

.sb-search-input::placeholder {
  color: #71717a;
}

.sb-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.sb-search-btn:hover {
  color: var(--gold);
}

.sb-explore-sort {
  min-width: 200px;
}

.sb-sort-select {
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sb-sort-select:focus {
  outline: none;
  border-color: var(--gold);
}

.sb-sort-select option {
  background: #000;
  color: #fff;
}

.sb-explore-results-count {
  color: var(--gray);
  font-size: 14px;
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sb-explore-filter-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .sb-explore-search,
  .sb-explore-sort {
    width: 100%;
    min-width: auto;
  }
  
  .sb-explore-results-count {
    margin-left: 0;
    text-align: center;
  }
}

.sb-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 1400px) {
  .sb-explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .sb-explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .sb-explore-grid {
    grid-template-columns: 1fr;
  }
}

.sb-explore-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.sb-explore-card:hover {
  transform: translateY(-2px);
  border-color: #2a2a2a;
}

.sb-explore-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.sb-explore-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sb-explore-card:hover .sb-explore-card-img img {
  transform: scale(1.05);
}

.sb-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sb-explore-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.sb-badge-live,
.sb-badge-upcoming {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sb-badge-live {
  background: #ef4444;
  color: #fff;
  animation: pulse 2s ease-in-out infinite;
}

.sb-badge-upcoming {
  background: #3b82f6;
  color: #fff;
}

.sb-explore-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.sb-watchlist-btn {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.sb-watchlist-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: var(--gold);
  color: var(--gold);
}

.sb-watchlist-btn.active {
  color: #ef4444;
}

.sb-explore-timer {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.sb-explore-timer .auction-time-countdown {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.sb-timer-future {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.sb-explore-card-content {
  padding: 16px;
}

.sb-explore-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-explore-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.sb-explore-card-title a:hover {
  color: var(--gold);
}

.sb-explore-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sb-explore-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sb-price-label {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sb-price-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.sb-explore-bids {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray);
}

.sb-explore-bids svg {
  color: var(--gold);
}

.sb-explore-btn {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.sb-explore-btn:hover {
  background: var(--gold-2);
  color: #000;
  transform: translateY(-1px);
}

.sb-explore-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.sb-empty-icon {
  margin-bottom: 20px;
  color: var(--gray);
  opacity: 0.5;
}

.sb-empty-icon svg {
  width: 64px;
  height: 64px;
}

.sb-explore-empty h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
}

.sb-explore-empty p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.sb-explore-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.sb-pagination {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.sb-pagination li {
  list-style: none;
}

.sb-pagination a,
.sb-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.sb-pagination a:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.sb-pagination .current {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

@media (max-width: 576px) {
  .sb-pagination a,
  .sb-pagination span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0 8px;
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES FOR BIDDER DASHBOARD
   ============================================ */

/* Mobile Menu Toggle Button */
.sb-account-mobile-toggle {
	display: none;
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 1000;
	background: #050505;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px 12px;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}

.sb-account-mobile-toggle:hover {
	background: #0a0a0a;
	border-color: var(--gold);
}

/* Overlay for mobile menu */
.sb-account-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 998;
	backdrop-filter: blur(4px);
	pointer-events: none;
}

.sb-account-overlay.active {
	display: block;
	pointer-events: auto;
}

/* Enhanced Tablet Responsive */
@media (max-width: 992px) {
	.sb-account-layout {
		grid-template-columns: 1fr !important;
		position: relative;
	}

	.sb-account-side {
		position: fixed;
		top: 0;
		left: 0;
		width: 260px;
		height: 100vh;
		z-index: 999;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
		display: block !important;
	}

	.sb-account-side.mobile-open {
		transform: translateX(0);
	}

	.sb-account-mobile-toggle {
		display: block;
	}

	.sb-account-content {
		width: 100%;
		margin-left: 0;
		padding-left: 60px;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.sb-account-main {
		width: 100%;
		overflow-x: hidden;
	}

	.sb-account-topbar {
		padding: 12px 16px 12px 60px;
		overflow-x: hidden;
		word-wrap: break-word;
	}
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
	.sb-account-side {
		width: 100%;
		left: 0;
		transform: translateX(-100%);
		max-width: 320px;
	}

	.sb-account-content {
		padding: 12px !important;
		padding-left: 60px !important;
	}

	.sb-account-topbar {
		padding: 10px 12px 10px 60px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.sb-profile {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.sb-profile-name {
		font-size: 14px !important;
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		max-width: 100%;
	}

	.sb-profile-sub {
		font-size: 12px !important;
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		max-width: 100%;
	}

	.sb-profile-meta {
		width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.sb-top-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 0;
	}

	.sb-pill-sense {
		padding: 6px 12px !important;
		font-size: 11px !important;
	}

	.sb-btn-outline {
		padding: 8px 14px !important;
		font-size: 12px !important;
		width: auto;
	}

	.sb-page-title {
		font-size: 18px !important;
		word-wrap: break-word;
		overflow-wrap: break-word;
		max-width: 100%;
	}

	/* KPI Cards - single column */
	.sb-kpi-grid,
	.sb-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.sb-card {
		grid-column: span 1 !important;
		padding: 14px !important;
	}

	.sb-kpi-value {
		font-size: 24px !important;
	}

	.sb-kpi-label {
		font-size: 12px !important;
	}

	/* Royal cards responsive */
	.sb-royal-card {
		padding: 14px !important;
	}

	.sb-royal-title {
		font-size: 16px !important;
	}

	/* Forms responsive */
	.sb-form-group {
		flex-direction: column;
		gap: 8px;
	}

	.sb-form-group input,
	.sb-form-group select,
	.sb-form-group textarea {
		width: 100% !important;
	}

	/* Tables responsive */
	.sb-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.sb-table thead,
	.sb-table tbody,
	.sb-table tr {
		display: block;
	}

	.sb-table th,
	.sb-table td {
		display: block;
		text-align: left;
		padding: 8px;
		border-bottom: 1px solid var(--line);
	}

	.sb-table th:before,
	.sb-table td:before {
		content: attr(data-title) ": ";
		font-weight: 600;
		color: var(--gold);
	}

	/* Navigation menu responsive */
	.sb-account-nav {
		padding: 8px !important;
	}

	.sb-menu-item {
		padding: 10px 8px !important;
		font-size: 13px !important;
	}

	.sb-menu-icon {
		width: 18px !important;
		height: 18px !important;
		font-size: 14px !important;
		flex-shrink: 0;
	}

	/* Prevent text overflow in all cards and content */
	.sb-card *,
	.sb-royal-card *,
	.sb-account-content * {
		word-wrap: break-word;
		overflow-wrap: break-word;
		max-width: 100%;
	}

	.sb-card h2,
	.sb-card h3,
	.sb-royal-title {
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		line-height: 1.3;
	}

	.sb-brand {
		word-wrap: break-word;
		overflow-wrap: break-word;
		min-width: 0;
	}

	.sb-brand span {
		word-wrap: break-word;
		overflow-wrap: break-word;
		white-space: normal;
	}

	.sb-nav-item {
		white-space: normal !important;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.sb-account-mobile-toggle {
		top: 12px;
		left: 12px;
		padding: 8px 10px;
		font-size: 18px;
	}

	.sb-account-content {
		padding: 10px !important;
		padding-left: 50px !important;
	}

	.sb-account-topbar {
		padding: 8px 10px 8px 50px;
	}

	.sb-kpi-value {
		font-size: 20px !important;
	}

	.sb-card {
		padding: 12px !important;
	}

	.sb-page-title {
		font-size: 16px !important;
	}

	.sb-btn-outline,
	.sb-btn-lux {
		font-size: 11px !important;
		padding: 8px 12px !important;
	}
}
