/* =========================================================
   OFFER DETAIL PAGE
   ========================================================= */

/* Back link */
.offer-back {
  margin-bottom: 24px;
}

.offer-back a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
  padding: 6px 0;
}

.offer-back a:hover {
  color: var(--accent-gold);
  gap: 10px;
}

/* Main two-column layout */
.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

/* LEFT: Gallery */
.offer-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 72px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-main:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(var(--accent-gold-rgb), 0.1);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.4s var(--ease-spring-out);
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-main .gallery-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(var(--bg-primary-rgb), 0.8);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring-gentle);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-main:hover .gallery-zoom-hint {
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-main-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-gold-rgb), 0.03));
}

.gallery-main-placeholder .placeholder-icon {
  font-size: 5rem;
  opacity: 0.12;
  line-height: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  width: 72px;
  height: 56px;
  min-width: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease-spring);
  background: var(--bg-elevated);
}

.gallery-thumb:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.25);
  transform: translateY(-2px);
}

/* RIGHT: Info sidebar */
.offer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Header block */
.offer-sidebar-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.offer-sidebar-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 1px;
}

.offer-sidebar-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.offer-sidebar-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.offer-sidebar-price {
  margin-top: 14px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  letter-spacing: -0.3px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.offer-sidebar-price::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 22px;
  background: var(--accent-gold);
  border-radius: 2px;
  margin-right: 2px;
  vertical-align: middle;
}

/* Seller block */
.offer-seller-block {
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.2s ease;
}

.offer-seller-block:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.2);
}

.offer-seller-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.offer-seller-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-seller-row:hover .offer-seller-avatar {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.12);
}

.offer-seller-info {
  flex: 1;
  min-width: 0;
}

.offer-seller-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.offer-seller-name:hover {
  color: var(--accent-gold-light);
}

.offer-seller-rep {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.offer-seller-rep .star {
  color: var(--accent-gold);
}

/* Action block */
.offer-action-block {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.offer-action-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(var(--accent-gold-rgb), 0.15) 50%, transparent 90%);
}

.offer-source-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.3s var(--ease-spring-bounce), box-shadow 0.3s var(--ease-spring-bounce);
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.2px;
  will-change: transform;
}

.offer-source-link:active {
  transform: scale(0.9);
  transition-duration: 0.08s;
}

.offer-source-link.primary {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border: 1px solid var(--accent-gold);
}

.offer-source-link.primary:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-gold-rgb), 0.3);
}

.offer-source-link.secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.offer-source-link.secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  box-shadow: 0 2px 8px rgba(var(--accent-gold-rgb), 0.1);
}

.offer-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.offer-action-buttons .btn {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.offer-action-buttons .btn-primary {
  flex: 1.5;
}

/* Out of stock */
.offer-oos-notice {
  padding: 14px;
  border: 1px solid rgba(var(--accent-red-rgb), 0.15);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--accent-red-rgb), 0.04), rgba(var(--accent-red-rgb), 0.02));
  text-align: center;
}

.offer-oos-notice span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-red);
}

/* Metadata block */
.offer-meta-block {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.offer-meta-block span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Admin controls */
.offer-admin-block {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.offer-admin-block .btn {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Feature with Credits button */
.btn-credit-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
  color: var(--accent-amber);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.22s var(--ease-spring);
  will-change: transform;
}

.btn-credit-feature:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1));
  border-color: rgba(234, 179, 8, 0.5);
  transform: translateY(-1px);
}

.btn-credit-feature:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Featured badge (active listing) */
.featured-badge-active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.08));
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: var(--accent-amber);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* Interest Queue */
.interest-queue {
  margin-top: 8px;
  margin-bottom: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.12);
  background: linear-gradient(135deg, var(--bg-card), rgba(var(--accent-gold-rgb), 0.02));
  position: relative;
  overflow: hidden;
}

.interest-queue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-gold), rgba(var(--accent-gold-rgb), 0.3));
  border-radius: 2px;
}

.interest-queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.interest-queue-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.interest-queue-list {
  display: grid;
  gap: 12px;
}

.interest-queue-item {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.interest-queue-item:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.interest-queue-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.interest-queue-item-meta {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-top: 4px;
}

.interest-queue-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Related Listings */
.related-section {
  margin-top: 8px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.related-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  border-radius: 1px;
}

.related-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* =========================================================
   IMAGE LIGHTBOX / ZOOM
   ========================================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  flex-shrink: 0;
  z-index: 2;
}

.lb-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.lb-btn.lb-close {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  margin-left: 8px;
}

.lb-zoom-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 44px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lb-counter {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
}

.lightbox-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-viewport.dragging {
  cursor: grabbing;
}

.lightbox-img-wrap {
  position: absolute;
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-spring);
  transform-origin: center center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(var(--bg-primary-rgb), 0.6);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  z-index: 3;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.lb-nav.lb-prev {
  left: 16px;
}

.lb-nav.lb-next {
  right: 16px;
}

.lb-nav.hidden {
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   MESSAGE SELLER MODAL
   ========================================================= */

/* Card favorite button */
.card-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(var(--bg-primary-rgb), 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.35s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.06);
  will-change: transform;
}

.card-fav-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease-spring);
}

.card-fav-btn:hover {
  background: rgba(var(--accent-red-rgb), 0.3);
  color: var(--accent-red);
  transform: scale(1.25);
  border-color: rgba(var(--accent-red-rgb), 0.35);
  box-shadow: 0 6px 20px rgba(var(--accent-red-rgb), 0.25);
}

.card-fav-btn:hover svg {
  transform: scale(1.15);
}

.card-fav-btn:active {
  transform: scale(0.8);
  transition-duration: 0.1s;
}

.card-fav-btn.favorited {
  opacity: 1;
  color: var(--accent-red);
  background: rgba(var(--accent-red-rgb), 0.15);
  border-color: rgba(var(--accent-red-rgb), 0.2);
}

.offer-card:hover .card-fav-btn {
  opacity: 1;
}

.msg-seller-context {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-gold-rgb), 0.02));
  transition: border-color 0.2s ease;
}

.msg-seller-context:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.2);
}

.msg-seller-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.msg-seller-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.msg-seller-seller {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* =========================================================
   RESPONSIVE — OFFER DETAIL
   ========================================================= */
@media (max-width: 1024px) {
  .offer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .offer-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .gallery-main,
  .gallery-main-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
  }

  .gallery-thumb {
    width: 56px;
    height: 42px;
    min-width: 56px;
  }

  .offer-sidebar-title {
    font-size: 1.25rem;
  }

  .offer-sidebar-price {
    font-size: 1.3rem;
  }

  .offer-seller-avatar {
    width: 44px;
    height: 44px;
  }

  .interest-queue-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lb-nav {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .lb-nav.lb-prev {
    left: 8px;
  }

  .lb-nav.lb-next {
    right: 8px;
  }

  .lightbox-toolbar {
    gap: 4px;
    padding: 8px 10px;
  }

  .lb-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-main,
  .gallery-main-placeholder {
    aspect-ratio: 3 / 2;
  }

  .gallery-thumb {
    width: 48px;
    height: 36px;
    min-width: 48px;
  }

  .offer-action-buttons .btn {
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .lb-counter {
    display: none;
  }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  padding: 100px 28px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(var(--bg-primary-rgb), 0.7), rgba(var(--bg-primary-rgb), 0.93)),
    url("https://i.postimg.cc/hjdyDy4S/hero-section-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(var(--accent-gold-rgb), 0.06), transparent),
    radial-gradient(ellipse 500px 350px at 80% 40%, rgba(var(--accent-gold-rgb), 0.04), transparent);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1.4px;
  color: var(--text-primary);
  line-height: 1.08;
  position: relative;
}

.hero-section h1 span {
  color: var(--accent-gold);
  position: relative;
}

.hero-section p {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* =========================================================
   CATEGORY SECTIONS
   ========================================================= */
.category-section {
  padding: 48px 0;
}

.category-section:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.category-section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-gold-rgb), 0.3), transparent);
  border-radius: 1px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.category-header h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.category-icon.sculptures {
  background: rgba(var(--accent-gold-rgb), 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.18);
}

.category-icon.art {
  background: rgba(var(--category-art-rgb), 0.12);
  color: var(--category-art);
  border: 1px solid rgba(var(--category-art-rgb), 0.18);
}

.category-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-elevated);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

/* =========================================================
   SEARCH BAR
   ========================================================= */
.search-bar {
  max-width: 580px;
  margin: 0 auto 40px;
  position: relative;
}

.search-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.search-panel {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.search-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(var(--accent-gold-rgb), 0.12) 50%, transparent 90%);
}

.search-bar--compact {
  max-width: none;
  margin: 0;
}

.search-bar input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-bar input:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.search-bar input:focus,
.search-bar input:focus-visible {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.search-bar svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.search-bar input:focus + svg,
.search-bar input:focus-visible + svg {
  color: var(--accent-gold);
}

.search-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.search-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.search-summary-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.filters-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.3s var(--ease-spring);
  will-change: transform;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  color: var(--text-primary);
  outline: none;
  background: rgba(var(--accent-gold-rgb), 0.04);
  transform: translateY(-3px);
}

.filter-chip:active {
  transform: scale(0.9);
  transition-duration: 0.08s;
}

.filter-chip.active {
  background: rgba(var(--accent-gold-rgb), 0.12);
  color: var(--accent-gold-light);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px rgba(var(--accent-gold-rgb), 0.15);
}

.filter-chip svg {
  vertical-align: -2px;
  margin-right: 2px;
}

.category-icon {
  display: inline-flex;
  vertical-align: -3px;
  margin-right: 3px;
}

.btn-icon {
  display: inline-flex;
  vertical-align: -2px;
  margin-right: 4px;
}

.offer-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
}

/* =========================================================
   OFFER CARDS
   ========================================================= */
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s var(--ease-spring-gentle), transform 0.55s var(--ease-spring-bounce);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
  will-change: transform;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--accent-gold) 50%, transparent 95%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(var(--accent-gold-rgb), 0.08);
  transition: box-shadow 0.3s ease;
  z-index: 1;
}

.offer-card:hover,
.offer-card:focus-within {
  border-color: rgba(var(--accent-gold-rgb), 0.25);
  transform: translateY(-12px) scale(1.045);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-gold-rgb), 0.08);
  z-index: 3;
}

.offer-card:active {
  transform: scale(0.94) translateY(-6px);
  transition-duration: 0.08s;
}

.offer-card:hover::before {
  opacity: 1;
}

.offer-card:hover::after {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
}

/* Bouncy staggered entrance for grid items */
@keyframes itemPopIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.86);
  }
  55% {
    opacity: 1;
    transform: translateY(-8px) scale(1.05);
  }
  78% {
    transform: translateY(3px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.offer-card.animate-fade-in {
  animation: itemPopIn 0.6s var(--ease-spring-bounce) backwards;
}

.offer-card.animate-fade-in:nth-child(1) { animation-delay: 0.03s; }
.offer-card.animate-fade-in:nth-child(2) { animation-delay: 0.08s; }
.offer-card.animate-fade-in:nth-child(3) { animation-delay: 0.13s; }
.offer-card.animate-fade-in:nth-child(4) { animation-delay: 0.18s; }
.offer-card.animate-fade-in:nth-child(5) { animation-delay: 0.23s; }
.offer-card.animate-fade-in:nth-child(6) { animation-delay: 0.28s; }
.offer-card.animate-fade-in:nth-child(7) { animation-delay: 0.33s; }
.offer-card.animate-fade-in:nth-child(8) { animation-delay: 0.38s; }
.offer-card.animate-fade-in:nth-child(9) { animation-delay: 0.43s; }
.offer-card.animate-fade-in:nth-child(10) { animation-delay: 0.48s; }
.offer-card.animate-fade-in:nth-child(11) { animation-delay: 0.53s; }
.offer-card.animate-fade-in:nth-child(12) { animation-delay: 0.58s; }

.offer-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
}

.offer-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--bg-elevated);
  display: block;
  transition: transform 0.55s var(--ease-spring-bounce), filter 0.3s ease;
}

.offer-card:hover .offer-image {
  transform: scale(1.1);
  filter: brightness(1.08) saturate(1.05);
}

.offer-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-gold-rgb), 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.2rem;
  font-weight: 700;
  user-select: none;
}

.offer-image-placeholder.art-placeholder {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--category-art-rgb), 0.06));
  color: var(--category-art);
}

.offer-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-category {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  background: rgba(var(--accent-gold-rgb), 0.08);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.18);
  padding: 4px 12px;
  border-radius: 5px;
  margin-bottom: 12px;
  font-weight: 700;
}

.offer-category.category-sculptures {
  color: var(--accent-gold);
  background: rgba(var(--accent-gold-rgb), 0.08);
  border-color: rgba(var(--accent-gold-rgb), 0.18);
}

.offer-category.category-art {
  color: var(--category-art);
  background: rgba(var(--category-art-rgb), 0.08);
  border-color: rgba(var(--category-art-rgb), 0.18);
}

.offer-category.category-wears {
  color: var(--category-wears);
  background: rgba(var(--category-wears-rgb), 0.08);
  border-color: rgba(var(--category-wears-rgb), 0.18);
}

.offer-category.category-rares {
  color: var(--category-rares);
  background: rgba(var(--category-rares-rgb), 0.08);
  border-color: rgba(var(--category-rares-rgb), 0.18);
}

.offer-category-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.offer-category-row .offer-category {
  margin-bottom: 0;
}

.offer-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: 2.8em;
  color: var(--text-primary);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.offer-title:hover,
.offer-title:focus-visible {
  color: var(--accent-gold-light);
  outline: none;
}

.offer-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  gap: 12px;
  margin-top: auto;
}

.offer-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  letter-spacing: -0.3px;
}

.currency-price {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.currency-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.offer-price .currency-icon,
.auction-card-price-value .currency-icon,
.offer-sidebar-price .currency-icon,
.card-price .currency-icon {
  width: 16px;
  height: 16px;
}

.offer-seller {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.offer-seller img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.offer-seller span {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  min-height: 32px;
}

.offer-tag {
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.offer-tag:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination button {
  padding: 9px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.3s var(--ease-spring);
  will-change: transform;
}

.pagination button:hover:not(:disabled) {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  color: var(--text-primary);
  background: rgba(var(--accent-gold-rgb), 0.04);
  transform: translateY(-3px);
}

.pagination button:active:not(:disabled) {
  transform: scale(0.88);
  transition-duration: 0.08s;
}

.pagination button:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.pagination button.active {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.3);
  transform: translateY(-2px);
}

.pagination button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* =========================================================
   PROCESS SECTION
   ========================================================= */
.process-section {
  padding: 80px 28px;
  background: var(--bg-secondary);
  min-height: auto;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 30% 20%, rgba(var(--accent-gold-rgb), 0.04), transparent),
    radial-gradient(ellipse 400px 300px at 70% 80%, rgba(var(--accent-gold-rgb), 0.03), transparent);
  pointer-events: none;
}

.process-title {
  text-align: center;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  margin-bottom: 64px;
  color: var(--accent-gold);
  position: relative;
}

.process-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}

.process-step {
  width: 260px;
  min-height: 230px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease, box-shadow 0.35s var(--ease-spring-gentle), transform 0.4s var(--ease-spring);
  position: relative;
  will-change: transform;
}

.process-step:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

.process-step:active {
  transform: scale(0.95) translateY(-3px);
  transition-duration: 0.08s;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-gold), rgba(var(--accent-gold-rgb), 0.9));
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.25);
}

.process-step h3 {
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.process-step p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 14px;
}

.process-arrow {
  font-size: 40px;
  color: rgba(var(--accent-gold-rgb), 0.4);
  flex-shrink: 0;
  align-self: center;
}

.private-note {
  margin-top: 56px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .process-title {
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 70px 18px 36px;
    min-height: auto;
    padding-bottom: 50px;
  }

  .category-section {
    padding: 36px 0;
  }

  .search-actions {
    grid-template-columns: 1fr;
  }

  .search-panel {
    padding: 14px;
  }

  .process-section {
    padding: 50px 18px;
  }

  .process-title {
    margin-bottom: 36px;
  }

  .process-step {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 900px) {
  .process-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .search-summary {
    align-items: flex-start;
  }

  .process-step {
    padding: 22px;
    min-height: unset;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .process-step h3 {
    font-size: 16px;
  }

  .pagination button {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card:hover,
  .offer-card:focus-within {
    transform: none !important;
  }

  .offer-card:active {
    transform: none !important;
  }

  .offer-card:hover .offer-image {
    transform: none !important;
  }

  .card-fav-btn:hover {
    transform: none !important;
  }

  .card-fav-btn:active {
    transform: none !important;
  }

  .filter-chip:hover,
  .filter-chip:active {
    transform: none !important;
  }

  .gallery-thumb:hover,
  .gallery-thumb.active {
    transform: none !important;
  }

  .process-step:hover,
  .process-step:active {
    transform: none !important;
  }

  .process-step:hover {
    transform: none;
  }
}

/* =========================================================
   SEARCH PAGE
   ========================================================= */
.search-page-header {
  margin-bottom: 28px;
}

.search-page-header h1 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.search-page-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.search-page-bar {
  margin-bottom: 24px;
}

.search-page-form {
  display: flex;
  gap: 10px;
}

.search-page-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-page-input-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-page-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 0.92rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.search-page-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.12);
}

.search-page-input::placeholder {
  color: var(--text-muted);
}

.search-page-filters {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.search-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-filter-group .form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.search-filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.search-empty.hidden {
  display: none;
}

.search-empty-icon {
  margin-bottom: 20px;
}

.search-empty-icon svg {
  width: 56px;
  height: 56px;
  color: var(--text-muted);
  opacity: 0.3;
}

.search-empty h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.search-empty p {
  font-size: 0.88rem;
}

/* Card extras for search */
.card-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.card-category {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.card-category.category-sculptures {
  color: var(--accent-gold);
  background: rgba(var(--accent-gold-rgb), 0.1);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
}

.card-category.category-art {
  color: var(--category-art);
  background: rgba(var(--category-art-rgb), 0.1);
  border: 1px solid rgba(var(--category-art-rgb), 0.2);
}

.card-category.category-wears {
  color: var(--category-wears);
  background: rgba(var(--category-wears-rgb), 0.1);
  border: 1px solid rgba(var(--category-wears-rgb), 0.2);
}

.card-category.category-rares {
  color: var(--category-rares);
  background: rgba(var(--category-rares-rgb), 0.1);
  border: 1px solid rgba(var(--category-rares-rgb), 0.2);
}

.card-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title:hover {
  color: var(--accent-gold-light);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.card-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-spring-bounce), filter 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-gold-rgb), 0.06));
  font-size: 2.5rem;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .search-page-form {
    flex-direction: column;
  }

  .search-page-filters {
    flex-direction: column;
    gap: 14px;
  }
}

/* =========================================================
   EDIT LISTING PAGE
   ========================================================= */
.edit-back {
  margin-bottom: 24px;
}

.edit-back a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.edit-back a:hover {
  color: var(--accent-gold);
}

.edit-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.edit-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.edit-card {
  padding: 28px;
}

.edit-card .form-group {
  margin-bottom: 22px;
}

.edit-card .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.edit-card .form-input,
.edit-card .form-select,
.edit-card .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-hint {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.edit-price-row {
  display: flex;
  gap: 10px;
}

.edit-price-row .form-input {
  flex: 1;
}

.edit-price-row .form-select {
  width: 120px;
  flex-shrink: 0;
}

.edit-tags-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.edit-tags-preview .offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.edit-tags-preview .offer-tag button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1;
}

.edit-tags-preview .offer-tag button:hover {
  color: var(--accent-red);
}

.edit-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.edit-current-images {
  margin-bottom: 12px;
}

.edit-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.edit-image-item {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.edit-image-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.edit-image-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--bg-primary-rgb), 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.edit-image-remove:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.edit-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.edit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .edit-card {
    padding: 20px;
  }

  .edit-price-row {
    flex-direction: column;
  }

  .edit-price-row .form-select {
    width: 100%;
  }

  .edit-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   VIEW COUNT
   ========================================================= */
.offer-view-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.card-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =========================================================
   AUCTION - SHARED (cards, badges, forms)
   ========================================================= */
.auction-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.18), rgba(var(--accent-amber-rgb), 0.08));
  border: 1px solid rgba(var(--accent-amber-rgb), 0.3);
  color: var(--accent-amber);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* =========================================================
   AUCTION - DETAIL PAGE (offer.html)
   ========================================================= */
.auction-info-block {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-amber-rgb), 0.04));
  border: 1px solid rgba(var(--accent-amber-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.auction-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.auction-current-bid {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.auction-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}

.auction-bid-amount {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auction-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bid-form-block {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.bid-input-row {
  display: flex;
  gap: 10px;
}

.bid-input-row .form-input {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
}

.bid-input-row .btn {
  min-width: 120px;
}

.bid-history-block {
  margin-top: 20px;
}

.bid-history-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bid-history-list {
  max-height: 240px;
  overflow-y: auto;
}

.bid-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.bid-history-item:last-child {
  border-bottom: none;
}

.bid-history-item:first-child {
  padding-top: 0;
}

.bid-history-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bid-history-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--accent-amber-rgb), 0.2);
}

.bid-history-amount {
  font-weight: 700;
  color: var(--accent-amber);
}

.bid-history-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =========================================================
   AUCTION - BROWSE PAGE
   ========================================================= */

/* Hero */
.auction-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 32px 40px;
  margin: 32px 0 0;
  overflow: hidden;
  text-align: center;
}

.auction-hero-glow {
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-amber-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.auction-hero-content {
  position: relative;
  z-index: 1;
}

.auction-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.12), rgba(var(--accent-amber-rgb), 0.04));
  border: 1px solid rgba(var(--accent-amber-rgb), 0.2);
  color: var(--accent-amber);
  margin-bottom: 20px;
}

.auction-hero-icon svg {
  width: 32px;
  height: 32px;
}

.auction-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auction-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.auction-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4px;
}

.auction-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

.auction-stat:hover {
  background: rgba(255, 255, 255, 0.02);
}

.auction-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-amber);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 3px;
}

.auction-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auction-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-color);
}

/* Toolbar */
.auction-toolbar {
  margin-top: 28px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.auction-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

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

.auction-search-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.auction-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.auction-search-input:focus {
  outline: none;
  border-color: rgba(var(--accent-amber-rgb), 0.4);
  box-shadow: 0 0 0 3px rgba(var(--accent-amber-rgb), 0.08);
}

.auction-search-input::placeholder {
  color: var(--text-muted);
}

.auction-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.auction-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.auction-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.auction-chip:hover {
  border-color: rgba(var(--accent-amber-rgb), 0.2);
  color: var(--text-primary);
  background: var(--bg-primary);
}

.auction-chip.active {
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.12), rgba(var(--accent-amber-rgb), 0.06));
  border-color: rgba(var(--accent-amber-rgb), 0.3);
  color: var(--accent-amber);
  font-weight: 600;
}

.auction-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auction-sort-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.auction-sort-select {
  padding: 8px 30px 8px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.82rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c5c62' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: var(--transition-fast);
}

.auction-sort-select:focus {
  outline: none;
  border-color: rgba(var(--accent-amber-rgb), 0.3);
}

/* Results bar */
.auction-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 20px;
}

.auction-results-count {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Grid */
.auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

/* Card */
.auction-listing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s var(--ease-spring-gentle), transform 0.55s var(--ease-spring-bounce);
  position: relative;
  will-change: transform;
}

.auction-listing-card:active {
  transform: scale(0.94) translateY(-6px);
  transition-duration: 0.1s;
}

.auction-listing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--accent-amber) 50%, transparent 95%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.auction-listing-card:hover {
  border-color: rgba(var(--accent-amber-rgb), 0.25);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-amber-rgb), 0.08);
  transform: translateY(-12px) scale(1.045);
  z-index: 3;
}

.auction-listing-card:hover::before {
  opacity: 1;
}

.auction-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.auction-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-spring-bounce), filter 0.3s ease;
}

.auction-listing-card:hover .auction-card-media img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.auction-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-amber-rgb), 0.04));
  color: var(--text-muted);
  opacity: 0.5;
}

.auction-card-timer {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auction-card-timer.timer-normal {
  background: rgba(var(--bg-primary-rgb), 0.75);
  border: 1px solid rgba(var(--accent-amber-rgb), 0.25);
  color: var(--accent-amber);
}

.auction-card-timer.timer-soon {
  background: rgba(var(--timer-soon-rgb), 0.15);
  border: 1px solid rgba(var(--timer-soon-rgb), 0.35);
  color: var(--accent-amber-light);
  animation: timerPulse 2s ease-in-out infinite;
}

.auction-card-timer.timer-warning {
  background: rgba(var(--timer-warning-rgb), 0.15);
  border: 1px solid rgba(var(--timer-warning-rgb), 0.35);
  color: var(--timer-warning);
  animation: timerPulse 1.5s ease-in-out infinite;
}

.auction-card-timer.timer-critical {
  background: rgba(var(--timer-critical-rgb), 0.2);
  border: 1px solid rgba(var(--timer-critical-rgb), 0.4);
  color: var(--timer-critical);
  animation: timerPulse 1s ease-in-out infinite;
}

.auction-card-timer.timer-ended {
  background: rgba(var(--timer-ended-rgb), 0.2);
  border: 1px solid rgba(var(--timer-ended-rgb), 0.3);
  color: var(--timer-ended);
}

@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.auction-card-category {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 2;
}

.auction-card-category.category-sculptures {
  background: rgba(var(--accent-gold-rgb), 0.2);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
  color: var(--accent-gold);
}

.auction-card-category.category-art {
  background: rgba(var(--category-art-rgb), 0.2);
  border: 1px solid rgba(var(--category-art-rgb), 0.3);
  color: var(--category-art);
}

.auction-card-category.category-wears {
  background: rgba(var(--category-wears-rgb), 0.2);
  border: 1px solid rgba(var(--category-wears-rgb), 0.3);
  color: var(--category-wears);
}

.auction-card-category.category-rares {
  background: rgba(var(--category-rares-rgb), 0.2);
  border: 1px solid rgba(var(--category-rares-rgb), 0.3);
  color: var(--category-rares);
}

.auction-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
}

.auction-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.auction-card-artist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.auction-card-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.auction-card-pricing {
  margin-top: auto;
}

.auction-card-list-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.auction-card-price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.auction-card-price-value {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.auction-card-bid-section {
  padding: 12px;
  border-radius: var(--radius-md);
  margin-top: 4px;
}

.auction-card-bid-section.has-bids {
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.08), rgba(var(--accent-amber-rgb), 0.03));
  border: 1px solid rgba(var(--accent-amber-rgb), 0.12);
}

.auction-card-bid-section.no-bids {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.auction-card-bid-main {
  margin-bottom: 6px;
}

.auction-card-bid-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.auction-card-bid-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-amber);
  font-variant-numeric: tabular-nums;
}

.auction-card-bid-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.auction-card-bid-count,
.auction-card-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.auction-card-action {
  padding: 0 16px 16px;
}

.auction-card-bid-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.1), rgba(var(--accent-amber-rgb), 0.04));
  border: 1px solid rgba(var(--accent-amber-rgb), 0.2);
  border-radius: var(--radius-md);
  color: var(--accent-amber);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.auction-listing-card:hover .auction-card-bid-btn {
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.15), rgba(var(--accent-amber-rgb), 0.08));
  border-color: rgba(var(--accent-amber-rgb), 0.35);
}

/* Empty state */
.auction-empty {
  text-align: center;
  padding: 80px 20px;
}

.auction-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  margin-bottom: 24px;
}

.auction-empty-icon svg {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}

.auction-empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.auction-empty-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.auction-empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   AUCTION - FORM (edit page)
   ========================================================= */
.auction-form-section {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(var(--accent-amber-rgb), 0.03));
  border: 1px solid rgba(var(--accent-amber-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
}

.auction-form-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auction-duration-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.auction-duration-chip {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.auction-duration-chip:hover {
  border-color: rgba(var(--accent-amber-rgb), 0.2);
  color: var(--text-primary);
}

.auction-duration-chip.active {
  background: linear-gradient(135deg, rgba(var(--accent-amber-rgb), 0.12), rgba(var(--accent-amber-rgb), 0.06));
  border-color: rgba(var(--accent-amber-rgb), 0.3);
  color: var(--accent-amber);
  font-weight: 600;
}

/* =========================================================
   AUCTION - RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .auction-hero {
    padding: 36px 20px 32px;
    margin: 20px 0 0;
  }

  .auction-hero-title {
    font-size: 1.6rem;
  }

  .auction-hero-subtitle {
    font-size: 0.9rem;
  }

  .auction-hero-stats {
    width: 100%;
  }

  .auction-stat {
    padding: 10px 12px;
    flex: 1;
  }

  .auction-stat-value {
    font-size: 1.1rem;
  }

  .auction-stat-divider {
    height: 24px;
  }

  .auction-toolbar {
    padding: 16px;
  }

  .auction-search-form {
    flex-direction: column;
  }

  .auction-filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .auction-chip-group {
    width: 100%;
  }

  .auction-sort-wrap {
    width: 100%;
  }

  .auction-sort-select {
    flex: 1;
  }

  .auction-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .auction-hero-icon {
    width: 52px;
    height: 52px;
  }

  .auction-hero-icon svg {
    width: 26px;
    height: 26px;
  }

  .auction-hero-title {
    font-size: 1.4rem;
  }

  .auction-stat-value {
    font-size: 1rem;
  }

  .auction-stat-label {
    font-size: 0.65rem;
  }

  .auction-chip {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .auction-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .auction-card-bid-amount {
    font-size: 1rem;
  }

  .bid-input-row {
    flex-direction: column;
  }

  .bid-input-row .btn {
    width: 100%;
  }
}

/* =========================================================
   OFFER CARD - RESPONSIVE IMAGE HEIGHTS
   ========================================================= */
@media (max-width: 768px) {
  .offer-image,
  .offer-image-placeholder {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .offer-image,
  .offer-image-placeholder {
    height: 180px;
  }
}