.te {
  --te-bg: #fff;
  --te-ink: #121212;
  --te-muted: #6b6b6b;
  --te-line: rgba(18, 18, 18, 0.08);
  --te-soft: #f4f2ee;
  --te-accent: #c45c26;
  --te-live: #0c8a4b;
  --te-soon: #d97706;
  --te-soon-rgb: 217, 119, 6;
  --te-accent-rgb: 196, 92, 38;
  --te-live-rgb: 12, 138, 75;
  --te-ink-rgb: 18, 18, 18;
  --te-radius: 1.25rem;
  --te-shadow: 0 1px 2px rgba(18, 18, 18, 0.04), 0 12px 32px rgba(18, 18, 18, 0.06);
  --te-gap: 1.25rem;
  --te-cols: 4;
  color: var(--te-ink);
  font-feature-settings: "ss01" on, "cv11" on;
}

.te,
.te *,
.te *::before,
.te *::after {
  box-sizing: border-box;
}

.te.te-auctions,
.te.te-auction-cats,
.te.te-auction-filters {
  display: flex !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2.5rem !important;
  padding: 0 !important;
  background: transparent !important;
}

.te-auctions--cols-2,
.te-auction-cats--cols-2 { --te-cols: 2; }
.te-auctions--cols-3,
.te-auction-cats--cols-3 { --te-cols: 3; }
.te-auctions--cols-4,
.te-auction-cats--cols-4 { --te-cols: 4; }
.te-auctions--cols-5,
.te-auction-cats--cols-5 { --te-cols: 5; }
.te-auctions--cols-6,
.te-auction-cats--cols-6 { --te-cols: 6; }

.te-auctions--empty,
.te-auction-cats--empty {
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  border: 1px dashed var(--te-line);
  border-radius: var(--te-radius);
  background: var(--te-soft);
  color: var(--te-muted);
}

.te .te-auctions__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.te .te-auctions__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--te-ink) !important;
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em;
  line-height: 1.15 !important;
  text-transform: none !important;
}

.te .te-auctions__list,
.te .te-auction-cats__list {
  display: grid;
  gap: var(--te-gap);
  grid-template-columns: repeat(var(--te-cols), minmax(0, 1fr));
}

.te .te-auctions__carousel {
  min-width: 0;
}

.te .te-auctions__track {
  display: flex;
  gap: var(--te-gap);
  overflow-x: auto;
  padding: 0.35rem 0.2rem 1.1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.te .te-auctions__track::-webkit-scrollbar {
  display: none;
}

.te.te-auctions--strip .te-auction-card,
.te.te-auctions--slider .te-auction-card {
  flex: 0 0 calc((100% - (var(--te-gap) * (var(--te-cols) - 1))) / var(--te-cols));
  width: calc((100% - (var(--te-gap) * (var(--te-cols) - 1))) / var(--te-cols)) !important;
  max-width: none !important;
  scroll-snap-align: start;
}

.te .te-auctions__navs {
  display: flex;
  gap: 0.45rem;
}

.te .te-auctions__nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.6rem !important;
  height: 2.6rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--te-line) !important;
  border-radius: 999px !important;
  background: var(--te-bg) !important;
  color: var(--te-ink) !important;
  box-shadow: 0 1px 2px rgba(var(--te-ink-rgb), 0.04);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.te .te-auctions__nav:hover {
  background: var(--te-ink) !important;
  border-color: var(--te-ink) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.te .te-auction-card {
  display: flex !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--te-line) !important;
  border-radius: var(--te-radius) !important;
  background: var(--te-bg) !important;
  box-shadow: var(--te-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.te .te-auction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(var(--te-ink-rgb), 0.1);
}

.te .te-auction-card .onsale,
.te .te-auction-card .star-rating,
.te .te-auction-card .button,
.te .te-auction-card .add_to_cart_button,
.te .te-auction-card .added_to_cart,
.te .te-auction-card .price,
.te .te-auction-card .woocommerce-loop-product__title {
  display: none !important;
}

.te .te-auction-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--te-soft);
}

.te .te-auction-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.te .te-auction-card:hover .te-auction-card__media img {
  transform: scale(1.04);
}

.te .te-auction-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.66));
  pointer-events: none;
}

.te .te-auction-card__status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--te-ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.te .te-auction-card__status i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--te-live);
  box-shadow: 0 0 0 0 rgba(var(--te-live-rgb), 0.55);
  animation: te-pulse 1.6s infinite;
}

.te .te-auction-card__status--closed {
  background: rgba(var(--te-ink-rgb), 0.78);
  color: #fff;
}

.te .te-auction-card__status--upcoming {
  background: rgba(var(--te-ink-rgb), 0.72);
  color: #fff;
}

.te .te-auction-card__status--ending-soon {
  background: rgba(var(--te-soon-rgb), 0.94);
  color: #fff;
}

.te .te-auction-card__status--ending-soon i {
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
}

.te .te-auction-card__timer {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0 4px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.te .te-auction-card--ending-soon .te-auction-card__timer {
  border-color: rgba(255, 90, 70, 0.45);
  background-color: rgba(160, 18, 18, 0.58);
}

.te .te-auction-card__timer,
.te .te-auction-card__timer * {
  color: #fff !important;
  text-align: left !important;
  text-shadow: none !important;
}

.te .te-auction-card__timer .countdownv2_holder,
.te .te-auction-card__timer .countdownv2_inner_holder,
.te .te-auction-card__timer .countdown,
.te .te-auction-card__timer .countdownv2,
.te .te-auction-card__timer .auction-time-countdown {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 0.45rem;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.te .te-auction-card__timer .countdownv2,
.te .te-auction-card__timer .auction-time-countdown {
  width: 100% !important;
}

.te .te-auction-card__timer .ibid-countdown-pre-text,
.te .te-auction-card__timer .has-finished,
.te .te-auction-card__timer p,
.te .te-auction-card__timer .time-left {
  display: block;
  width: 100%;
  margin: 0 0 0.15rem !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.te .te-auction-card__timer .countdown-section,
.te .te-auction-card__timer .countdown-row,
.te .te-auction-card__timer .item,
.te .te-auction-card__timer li {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0 !important;
  padding: 0.28rem 0.4rem !important;
  border: 0 !important;
  border-radius: 0.55rem !important;
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(10px);
  box-shadow: none !important;
}

.te .te-auction-card__timer .countdown-amount,
.te .te-auction-card__timer .amount,
.te .te-auction-card__timer .Number,
.te .te-auction-card__timer .days,
.te .te-auction-card__timer .hours,
.te .te-auction-card__timer .minutes,
.te .te-auction-card__timer .seconds {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #fff !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  line-height: 1.1 !important;
}

.te .te-auction-card__timer .countdown-period,
.te .te-auction-card__timer .text,
.te .te-auction-card__timer .timeRefDays,
.te .te-auction-card__timer .timeRefHours,
.te .te-auction-card__timer .timeRefMinutes,
.te .te-auction-card__timer .timeRefSeconds {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.58rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.te .te-auction-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.05rem 1.1rem;
}

.te .te-auction-card__title {
  margin: 0 !important;
  font-size: 1.53rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  line-height: 1.3 !important;
}

.te .te-auction-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.te .te-auction-card__title a:hover {
  color: var(--te-accent) !important;
}

.te .te-auction-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--te-line);
}

.te .te-auction-card__label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--te-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te .te-auction-card__label {
  text-align: left;
}

.te .te-auction-card__value,
.te .te-auction-card__value .amount,
.te .te-auction-card__value .woocommerce-Price-amount {
  color: var(--te-ink) !important;
  font-size: 1.53rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  text-align: right;
}

.te .te-auction-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--te-ink);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.te .te-auction-card__cta:hover {
  background: var(--te-accent);
  transform: translateY(-1px);
}

.te .te-auction-cat {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--te-radius);
  color: #fff !important;
  text-decoration: none !important;
  background: #1b1b1b;
  box-shadow: var(--te-shadow);
}

.te .te-auction-cat__media,
.te .te-auction-cat__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.te .te-auction-cat__media img {
  transition: transform 0.6s ease;
}

.te .te-auction-cat:hover .te-auction-cat__media img {
  transform: scale(1.06);
}

.te .te-auction-cat__media::after,
.te .te-auction-cat--plain::before {
  content: "";
  position: absolute;
  inset: 0;
}

.te .te-auction-cat__media::after {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.72));
}

.te .te-auction-cat--plain::before {
  background:
    radial-gradient(circle at 20% 15%, rgba(var(--te-accent-rgb), 0.45), transparent 42%),
    linear-gradient(160deg, #24221e, #111);
}

.te .te-auction-cat__body {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.te .te-auction-cat__name {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.te .te-auction-cat__count {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.5rem;
}

.te .te-auction-filters__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  padding: 0.85rem;
  border: 1px solid var(--te-line);
  border-radius: calc(var(--te-radius) + 0.15rem);
  background: color-mix(in srgb, var(--te-bg) 82%, transparent);
  box-shadow: var(--te-shadow);
  backdrop-filter: blur(16px);
}

.te .te-auction-filters__field {
  display: flex;
  flex: 1 1 10rem;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 9.5rem;
  margin: 0 !important;
}

.te .te-auction-filters__field--search {
  flex: 2 1 16rem;
}

.te .te-auction-filters__label {
  color: var(--te-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.te .te-auction-filters__control {
  position: relative;
  display: flex;
  align-items: center;
}

.te .te-auction-filters__control svg {
  position: absolute;
  left: 0.85rem;
  color: var(--te-muted);
  pointer-events: none;
}

.te .te-auction-filters__control input,
.te .te-auction-filters__control select {
  width: 100% !important;
  min-height: 3rem !important;
  margin: 0 !important;
  padding: 0 0.95rem !important;
  border: 1px solid var(--te-line) !important;
  border-radius: 999px !important;
  background: var(--te-soft) !important;
  color: var(--te-ink) !important;
  font: inherit !important;
  box-shadow: none !important;
  appearance: none !important;
}

.te .te-auction-filters__control input {
  padding-left: 2.35rem !important;
}

.te .te-auction-filters__control select {
  padding-right: 2.2rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b6b6b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.85rem center !important;
}

.te .te-auction-filters__control input:focus,
.te .te-auction-filters__control select:focus {
  outline: none;
  border-color: rgba(var(--te-ink-rgb), 0.28) !important;
  background: var(--te-bg) !important;
}

.te .te-auction-filters__submit {
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--te-ink) !important;
  color: #fff !important;
  font: inherit !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.te .te-auction-filters__submit:hover {
  background: var(--te-accent) !important;
  transform: translateY(-1px);
}

@keyframes te-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--te-live-rgb), 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(var(--te-live-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--te-live-rgb), 0); }
}

.te.te-auctions--marquee {
  flex-direction: row !important;
  align-items: stretch;
  gap: 0 !important;
  height: 100px;
  margin-bottom: 0.85rem !important;
  overflow: hidden;
  border: 1px solid var(--te-line);
  border-radius: 999px;
  background: var(--te-ink);
  color: #fff;
}

.te .te-auctions__marquee-label {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  z-index: 1;
  padding: 0 0.75rem;
  background: var(--te-soon);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.te .te-auctions__marquee {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.te .te-auctions__marquee-track {
  display: flex !important;
  align-items: stretch;
  width: max-content !important;
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.te .te-auctions__marquee-group {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
}

.te .te-marquee-item {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  height: 100px;
  padding: 0 0.75rem 0 0;
  color: #fff !important;
  text-decoration: none !important;
}

.te .te-marquee-item + .te-marquee-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.te .te-marquee-item__media,
.te .te-marquee-item__media img {
  display: block !important;
  flex: 0 0 100px;
  width: 100px !important;
  height: 100px !important;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 0;
}

.te .te-marquee-item__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  line-height: 1.15;
}

.te .te-marquee-item__title {
  max-width: 10rem;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.te .te-marquee-item__bid,
.te .te-marquee-item__bid .amount,
.te .te-marquee-item__bid .woocommerce-Price-amount {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .te.te-auctions--grid,
  .te.te-auction-cats,
  .te.te-auctions--strip,
  .te.te-auctions--slider {
    --te-cols: 2;
  }
}

@media (max-width: 560px) {
  .te.te-auctions--grid,
  .te.te-auction-cats {
    --te-cols: 1;
  }

  .te.te-auctions--strip,
  .te.te-auctions--slider {
    --te-cols: 1.15;
  }

  .te .te-auction-filters__submit {
    width: 100%;
  }
}
