:root {
  --surface: #ffffff;
  --muted: #5f6f82;
  --line: #dce5f0;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #1f2937;
  background: #f5f5f5;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  color: #334155;
  transition: all 0.2s ease;
  background: #fff;
}

.icon-button:hover {
  border-color: #d9eeff;
  background: #eef8ff;
  color: #09529a;
}

.section-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(17, 34, 54, 0.08);
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #334155;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 0.75rem;
  padding: 0.25rem 0;
  color: #64748b;
  transition: all 0.2s ease;
}

.tab-item-active {
  background: #eef8ff;
  color: #09529a;
}

.floating-help {
  position: fixed;
  right: 1rem;
  bottom: 6rem;
  z-index: 95;
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: #ff7a1f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.floating-help:hover {
  filter: brightness(1.02);
}

.ai-assistant-panel {
  position: fixed;
  right: 1rem;
  bottom: 9.75rem;
  z-index: 95;
  width: min(92vw, 360px);
  max-height: calc(100vh - 11rem);
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.ai-assistant-panel.hidden {
  display: none;
}

/* Dedicated AI chat page (non-floating) */
.ai-chat-page .floating-help {
  display: none !important;
}

.ai-chat-page .ai-assistant-panel {
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
  max-height: none;
  height: min(78vh, 780px);
}

.ai-chat-page #aiAssistantClose {
  display: none !important;
}

.ai-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(120deg, #ff7a1f, #ff5117);
  color: #fff;
  padding: 0.7rem 0.9rem;
}

.ai-assistant-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.ai-assistant-close {
  border: 0;
  border-radius: 9999px;
  width: 1.9rem;
  height: 1.9rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1rem;
}

.ai-assistant-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.8rem;
  background: #f8fafc;
}

.ai-assistant-msg {
  margin-bottom: 0.55rem;
  max-width: 88%;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.ai-assistant-msg-user {
  margin-left: auto;
  background: #ffedd5;
  color: #9a3412;
}

.ai-assistant-msg-bot {
  margin-right: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.ai-assistant-form {
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid #e2e8f0;
  padding: 0.65rem;
  background: #fff;
}

.ai-assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid #e2e8f0;
  padding: 0.55rem 0.65rem 0.1rem;
  background: #fff;
}

.ai-assistant-chip {
  padding: 0.3rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.ai-assistant-cards {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.ai-assistant-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  color: #0f172a;
}

.ai-assistant-card-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.ai-assistant-card-body {
  padding: 0.25rem 0.5rem 0.25rem 0;
}

.ai-assistant-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.12rem;
}

.ai-assistant-card-subtitle {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}

.ai-assistant-card-meta {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ea580c;
}

/* Vendor mobile drawer: prevent active items from stretching to giant blocks. */
[data-vendor-nav-mobile] {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

[data-vendor-nav-mobile] .module-main,
[data-vendor-nav-mobile] .module-subtab,
[data-vendor-nav-mobile]>a {
  align-self: start;
  width: 100%;
  min-height: 40px;
  height: auto;
  flex: 0 0 auto;
}

body.vendor-menu-open #appBottomDock {
  display: none !important;
}

[data-vendor-nav] .module-main,
[data-vendor-nav-mobile] .module-main {
  min-height: 40px;
}

[data-vendor-nav] .module-main.is-active-module,
[data-vendor-nav-mobile] .module-main.is-active-module {
  min-height: 40px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.ai-assistant-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-size: 0.84rem;
}

.ai-assistant-send {
  border: 0;
  border-radius: 10px;
  background: #ff7a1f;
  color: #fff;
  font-weight: 700;
  padding: 0 0.8rem;
}

@media (min-width: 1024px) {
  .floating-help {
    bottom: 1rem;
  }

  .ai-assistant-panel {
    bottom: 4.8rem;
  }
}

.product-strip,
.wizard-review-thumbs,
.img-preview-strip {
  scrollbar-width: none;
}

.product-strip::-webkit-scrollbar,
.wizard-review-thumbs::-webkit-scrollbar,
.img-preview-strip::-webkit-scrollbar {
  display: none;
}

.dashboard-shell {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-topbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #d8d8d8;
  background: #f3f3f3;
  padding: 8px 10px;
}

.dashboard-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  color: #1f2937;
}

.dashboard-badge {
  position: absolute;
  right: -3px;
  top: -2px;
  min-width: 15px;
  border-radius: 9999px;
  background: #ff4f18;
  padding: 0 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 15px;
}

.top-right-group {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 2px;
}

.balance-tag {
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.dashboard-search {
  display: grid;
  grid-template-columns: 1fr 52px;
  overflow: hidden;
  border: 2px solid #d7d7d7;
  border-radius: 9999px;
  background: #fff;
}

.dashboard-search input {
  border: 0;
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  outline: none;
  background: transparent;
}

.dashboard-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #d8d8d8;
  background: #ff5a1f;
  color: #fff;
}

.hero-slider {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.hero-slide {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  min-height: 220px;
  padding: clamp(18px, 2vw, 36px);
}

@media (min-width: 1024px) { 
  .home-desktop-sidebar { 
    position: sticky; 
    top: 96px; 
    align-self: start; 
    max-height: calc(100vh - 7rem); 
    overflow-y: auto; 
  } 
} 
 
.desktop-sidebar-layout.is-sidebar-collapsed { 
  gap: 0 !important; 
} 
 
@media (min-width: 1024px) { 
  .desktop-sidebar-layout.is-sidebar-collapsed { 
    grid-template-columns: minmax(0, 1fr) !important; 
  } 
 
  .desktop-sidebar-layout.is-sidebar-collapsed [data-desktop-sidebar] { 
    display: none !important; 
  } 
} 

.home-desktop-main {
  min-width: 0;
}

.hero-content {
  flex: 1 1 0;
  min-width: 0;
}

.hero-emoji {
  flex: 0 0 clamp(120px, 8vw, 180px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: clamp(80px, 5vw, 180px);
  line-height: 1;
}

@media (max-width: 640px) {
  .hero-shell .hero-slide {
    min-height: 190px;
    padding: 18px 16px;
    gap: 10px;
    display: block;
  }

  .hero-shell .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-shell .hero-content h2 {
    font-size: 2rem !important;
    line-height: 1.05;
    word-break: break-word;
  }

  .hero-shell .hero-content p {
    font-size: 1.05rem !important;
    line-height: 1.25;
  }

  .hero-shell .hero-emoji {
    display: none;
  }
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  border: 1px solid #c7c7c7;
  background: #fff;
}

.hero-dot.is-active {
  background: #ff5a1f;
  border-color: #ff5a1f;
}

/* Homepage hero should fully occupy its container on desktop without empty bottom space. */
.hero-shell .hero-slider {
  border-radius: inherit;
}

.hero-shell .hero-track {
  align-items: stretch;
}

.hero-shell .hero-slide {
  min-height: clamp(260px, 32vw, 430px);
  padding: clamp(16px, 2.6vw, 40px);
}

.hero-shell .hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin-top: 0;
  z-index: 3;
}

.hero-shell .hero-slide.hero-slide-banner {
  display: block;
  min-height: 0;
  padding: 0;
}

.hero-shell .hero-slide.hero-slide-banner .hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #feefd8;
}

@media (min-width: 640px) {
  .hero-shell .hero-slide.hero-slide-banner {
    min-height: clamp(260px, 32vw, 430px);
  }

  .hero-shell .hero-slide.hero-slide-banner .hero-banner-image {
    height: 100%;
    object-fit: cover;
  }
}

.hot-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hot-deals-card {
  min-width: 0;
}

.hot-deals-card img {
  height: 88px;
}

.hot-deals-card .line-clamp-2 {
  min-height: 26px;
  font-size: 10px;
}

@media (min-width: 640px) {
  .hot-deals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .hot-deals-card img {
    height: 128px;
  }

  .hot-deals-card .line-clamp-2 {
    min-height: 30px;
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .hot-deals-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 3px solid #ff5a1f;
  border-radius: 9999px;
  color: #ff5a1f;
}

.category-label {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  color: #1f2937;
}

.app-footer {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid #dedede;
  background: #f3f3f3;
  padding: 8px;
}

.app-footer-item {
  padding: 7px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
}

/* App-like page change feel */
body {
  transition: background-color 0.18s ease;
}

main {
  transition: opacity 0.16s ease, transform 0.16s ease;
  will-change: opacity, transform;
}

body.app-nav-pending main {
  opacity: 0.92;
  transform: translateY(2px);
}

/* Header Redesign Custom Styles */
[data-account-trigger]:hover+[data-account-dropdown],
[data-account-dropdown]:hover {
  display: block;
}

.search-focus-effect:focus-within {
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 77, 13, 0.1);
}

@media (prefers-reduced-motion: reduce) {

  main,
  body {
    transition: none !important;
  }
}

/* ===== Auction Sale Section ===== */
.auction-sale {
  background: #f3f4f6;
  border-radius: 18px;
  padding: 18px;
  margin: 26px 0;
  overflow: hidden;
}

.trending-strip {
  background: #f6f0ff;
  border: 1px solid #ede6ff;
  border-radius: 16px;
  padding: 14px;
  margin-top: 14px;
  overflow: hidden;
}

.trending-strip__header h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.trending-strip__slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.trending-strip__slider::-webkit-scrollbar {
  height: 6px;
}

.trending-strip__slider::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 99px;
}

.trending-strip__slider::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 99px;
}

.trending-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.trending-strip__slider .trending-card {
  flex: 0 0 150px;
  width: 150px;
  scroll-snap-align: start;
}

.trending-card__media {
  width: 100%;
  height: 96px;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trending-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.trending-card__title {
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.2;
}

.trending-card__price {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 900;
  color: #ff3d00;
}

.trending-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
}

.trending-card__rating {
  color: #f97316;
}

.trending-card__dot {
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .trending-card__media {
    height: 104px;
  }

  .trending-strip__slider .trending-card {
    flex-basis: 170px;
    width: 170px;
  }
}

/* ===== Home Shelves (After Best Selling) ===== */
.home-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 12px 0 24px;
}

.home-promo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 160px;
  padding: 24px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.home-promo__copy {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.home-promo__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
  text-transform: uppercase;
}

.home-promo__title {
  margin: 4px 0 16px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 20px;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-promo__art {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 140px;
  height: 140px;
  opacity: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
}

.home-promo--audio {
  background: linear-gradient(135deg, #ff3d00 0%, #ff8a00 100%);
}

.home-promo--audio .home-promo__art {
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%),
    url("../img/headset.png");
}

.home-promo--kids {
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
}

.home-promo--kids .home-promo__art {
  background-image: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%),
    url("../img/baby.png");
}

@media (min-width: 640px) {
  .home-promos {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .home-promo {
    min-height: 200px;
    padding: 32px;
  }

  .home-promo__title {
    font-size: 26px;
  }

  .home-promo__art {
    width: 200px;
    height: 200px;
    right: 0;
    bottom: 0;
  }
}

.home-shelf {
  margin: 12px 0;
}

.home-shelf__head h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.home-shelf__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-shelf__track::-webkit-scrollbar {
  height: 6px;
}

.home-shelf__track::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 99px;
}

.home-shelf__track::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 99px;
}

.shelf-card {
  flex: 0 0 150px;
  width: 150px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.shelf-card__media {
  width: 100%;
  height: 96px;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shelf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.shelf-card__title {
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.2;
}

.shelf-card__price {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 900;
  color: #ff3d00;
}

.shelf-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
}

.shelf-card__rating {
  color: #f97316;
}

.shelf-card__dot {
  color: #cbd5e1;
}

.home-shelf__empty {
  flex: 0 0 auto;
  align-self: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .shelf-card {
    flex-basis: 170px;
    width: 170px;
  }

  .shelf-card__media {
    height: 104px;
  }
}

.home-vendors {
  margin: 12px 0 18px;
}

.home-vendors__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-vendors__head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.home-vendors__link {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff4d0d;
  text-decoration: none;
}

.home-vendors__list {
  display: grid;
  gap: 10px;
}

.vendor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 10px 12px;
}

.vendor-row__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.vendor-row__logo {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  flex: 0 0 auto;
}

.vendor-row__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendor-row__dot {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid #fff;
}

.vendor-row__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vendor-row__name {
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vendor-row__sub {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

@media (max-width: 480px) {
  .vendor-row__sub span:nth-child(n+4) {
    display: none;
  }
}

.vendor-row__sep {
  color: #cbd5e1;
  margin: 0 6px;
}

.vendor-row__btn {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  background: #ff4d0d;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vendor-row__btn:hover {
  opacity: 0.92;
}

.auction-sale__inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.auction-sale__left {
  min-width: 0;
}

.auction-sale__heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ff3d00;
}

.auction-sale__heading p {
  margin: 4px 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.auction-banner {
  position: relative;
  background: linear-gradient(90deg, #ff4d0d 0%, #ff2d00 100%);
  border-radius: 16px;
  padding: 16px 16px 18px;
  color: #fff;
  overflow: hidden;
}

.auction-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: rgba(150, 0, 0, 0.32);
}

.auction-timer {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: stretch;
}

.auction-unit {
  width: clamp(56px, 18vw, 74px);
  height: clamp(60px, 16vw, 70px);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.auction-unit__num {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.auction-unit__label {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.auction-sale__right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.auction-product-card {
  background-color: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  align-items: stretch !important;
  min-width: 0;
}

.auction-product-card__media {
  width: 100%;
  height: 110px;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auction-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.auction-product-card__body {
  min-width: 0;
}

.auction-product-card__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}

.auction-product-card__price {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
  color: #ff3d00;
}

.auction-product-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
}

.auction-product-card__rating {
  color: #f97316;
}

.auction-product-card__sep {
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .auction-sale__inner {
    grid-template-columns: 1fr;
  }

  .auction-sale__right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .auction-sale {
    padding: 14px;
    border-radius: 16px;
  }

  .auction-timer {
    justify-content: space-between;
    gap: 8px;
  }

  .auction-sale__right {
    grid-template-columns: 1fr;
  }
}

/* ===== Inventory Overview ===== */
.inv-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.inv-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.inv-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.inv-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.inv-search-icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.inv-search {
  width: 160px;
  padding: 8px 12px 8px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  color: #334155;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.inv-search:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

.inv-export-group {
  display: flex;
  gap: 4px;
}

.inv-export-btn {
  padding: 7px 14px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #334155;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.inv-export-btn:hover {
  background: #1e293b;
}

.inv-export-btn:active {
  transform: scale(0.97);
}

.inv-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.18);
}

.inv-add-btn:hover {
  background: #15803d;
}

.inv-add-btn:active {
  transform: scale(0.97);
}

/* Table */
.inv-table-wrap {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(17, 34, 54, 0.06);
  border: 1px solid #f1f5f9;
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.inv-th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ea580c;
  text-align: left;
  border-bottom: 2px solid #f1f5f9;
  background: #fff;
}

.inv-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s;
}

.inv-row:last-child {
  border-bottom: none;
}

.inv-row:hover {
  background: #fafbfc;
}

.inv-td {
  padding: 12px 18px;
  color: #334155;
  vertical-align: middle;
}

.inv-product-name {
  font-weight: 700;
  color: #1e293b;
  max-width: 200px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inv-category {
  color: #64748b;
  font-weight: 500;
}

.inv-price {
  font-weight: 800;
  color: #1e293b;
}

/* Circular Thumbnails */
.inv-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
  border: 2px solid #f1f5f9;
}

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

/* Status Badges */
.inv-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.inv-status-active {
  background: #dcfce7;
  color: #16a34a;
}

.inv-status-draft {
  background: #fef3c7;
  color: #d97706;
}

/* Mobile card */
.inv-mobile-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17, 34, 54, 0.04);
  transition: box-shadow 0.15s;
}

.inv-mobile-card:active {
  box-shadow: 0 1px 4px rgba(17, 34, 54, 0.06);
}

/* Responsive */
@media (max-width: 640px) {
  .inv-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .inv-controls {
    width: 100%;
    flex-wrap: wrap;
  }

  .inv-search {
    width: 100%;
    flex: 1;
  }

  .inv-search-wrap {
    flex: 1;
    min-width: 0;
  }

  .inv-export-group {
    display: none;
  }

  .inv-add-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Dashboard Wallet + Action Buttons ===== */
.dash-wallet-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.dash-wallet-card {
  flex: 1;
  min-width: 0;
}

.dash-wallet-label {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.dash-wallet-body {
  border-radius: 16px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.dash-wallet-body::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.dash-wallet-inner {
  position: relative;
  z-index: 1;
}

.dash-wallet-avail {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
}

.dash-wallet-amount {
  margin: 6px 0 4px;
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.dash-wallet-sub {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.dash-action-btns {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.dash-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: #ea580c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
  white-space: nowrap;
}

.dash-btn-primary:hover {
  background: #dc4a05;
}

.dash-btn-primary:active {
  transform: scale(0.97);
}

.dash-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border: 2px solid #ea580c;
  border-radius: 12px;
  background: #fff;
  color: #ea580c;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.dash-btn-outline:hover {
  background: #fff7ed;
}

.dash-btn-outline:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .dash-wallet-row {
    flex-direction: column;
  }

  .dash-action-btns {
    flex-direction: row;
  }

  .dash-btn-primary,
  .dash-btn-outline {
    flex: 1;
    padding: 10px 16px;
  }

  .dash-wallet-amount {
    font-size: 1.5rem;
  }
}
