/* Bids table legend visibility toggles based on aggregated data flags (attributes live on table) */
.budi-bid-table__container table[data-hasautobid="false"] ~ div .budi-bid-icon-abbr--autobid { display: none !important; }
.budi-bid-table__container table[data-hasyourbid="false"] ~ div .budi-bid-icon-abbr--yourbid { display: none !important; }

/* Modal tables */
.budi-theme-table__container table[data-hasautobid="false"] ~ div .budi-bid-icon-abbr--autobid { display: none !important; }
.budi-theme-table__container table[data-hasyourbid="false"] ~ div .budi-bid-icon-abbr--yourbid { display: none !important; }
/* Auction Object Component Styles */

/* Auction Object Base */

.budi-auctionobject {

}

.budi-auctionobject__card--not-available {
   filter: grayscale(100%);
}

.budi-auctionobject__card--ended .budi-auctionobject__card-thumb-img,
.budi-auctionobject__card--ended .budi-auctionobject__highlight-tag--info,
.budi-auctionobject__card--ended .budi-auctionobject__highlight-tag--danger {
   filter: grayscale(100%);
}

/* Auction Object Blocks */


.budi-auctionobject__block-title {
   margin-bottom: 24px;
}

.budi-auctionobject__block-title-icon {
   width: 24px;
   height: 24px;
   font-size: 20px;
}

/* Auction Object Cards */

.budi-auctionobject__card {
   border: 1px solid var(--neutral-400);
   color: var(--neutral-black);
   position: relative;
   width: 246px;
   flex-shrink: 0;
}

.budi-auctionobject__card-infinite-list {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: 24px;
}

.budi-auctionobject__card-infinite-list--small {
   grid-template-columns: repeat(3, 1fr);
}

.budi-auctionobject__card-infinite-list .budi-auctionobject__card {
   width: 100%;
   min-width: 0;
}

.budi-auctionobject__infinite-list-empty-content {
   max-width: 476px;
}

.budi-auctionobject__infinite-list-empty-content p {
   font-size: 18px;
   line-height: 1.2;
}

.budi-auctionobject__infinite-list-empty-content__btn {
   max-width: 265px;
}


.budi-auctionobject__card-thumb {
   height: 185px;
}

.budi-auctionobject__card-thumb-img {
   transition: all 1s ease-in-out;
}

.budi-auctionobject__card-content {
   padding: 16px;
}

/* Auction Object Content */

.budi-auctionobject__time-remaining {
   font-size: 12px;
   line-height: 1.5;
}

.budi-auctionobject__location {
   font-size: 12px;
   line-height: 1.5;
}

.budi-auctionobject__location-icon {
   width: 12px;
   height: 12px;
}

.budi-auctionobject__desc p {
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   line-clamp: 2;
   text-overflow: ellipsis;
   overflow: hidden;
   font-size: 14px;
   line-height: 1.15;
   height: 33px;
   min-height: 33px;
}

.budi-auctionobject__summary p {
   font-size: 14px;
   line-height: 1.5;
   color: var(--neutral-800);
   margin-bottom: 2px;
}

.budi-auctionobject__summary span {
   font-size: 14px;
   line-height: 1.15;
}

/* Active filter badges */
.budi-auctionobject__active-filters .budi-active-filter {
   border-radius: 9999px;
   display: inline-flex;
   align-items: center;
}

.budi-auctionobject__tags {
   min-height: 24px;
}

.budi-auctionobject__tag {
   font-size: 12px;
   line-height: 1.5;
   padding: 2px 8px;
   background-color: var(--neutral-200);
}

.budi-auctionobject__add-wish-btn {
   width: 52px;
   height: 44px;
   padding: 16px 12px;
   top: 0;
   right: 0;
   background: transparent;
   border: none;
}

.budi-auctionobject__add-wish-btn-icon {
   width: 20px;
   height: 20px;
   background: linear-gradient(
         180deg,
         rgba(115, 115, 115, 0) 0%,
         rgba(255, 255, 255, 0.2) 100%
      ),
      rgba(255, 255, 255, 0.55);
   font-size: 12px;
}

.budi-auctionobject__highlight-tag {
   top: 12px;
   left: 16px;
   font-size: 12px;
   line-height: 1.5;
   background-color: var(--yellow-300);
   padding-inline: 8px;
}

.budi-auctionobject__highlight-tag--success {
   background-color: var(--success-bg);
   color: var(--success-text);
}

.budi-auctionobject__highlight-tag--danger {
   background-color: var(--danger);
   color: var(--light);
}

/* Variant overrides */

.budi-auctionobject__card--small-with-bid-and-bid-count {
   width: 126px !important;
   background-color: var(--neutral-200);
}

.budi-auctionobject__card--small-with-bid-and-bid-count .budi-auctionobject__card-thumb {
   height: 86px;
}

.budi-auctionobject__card--small-with-bid-and-bid-count .budi-auctionobject__summary h6,
.budi-auctionobject__card--small-with-bid-and-bid-count .budi-auctionobject__summary p {
   font-size: 12px;
}

.budi-auctionobject__card--small-with-display-name-and-bid {
   width: 114px !important;
}

.budi-auctionobject__card--small-with-display-name-and-bid .budi-auctionobject__card-thumb {
   height: 85px;
}

.budi-auctionobject__card--small-with-display-name-and-bid .budi-auctionobject__desc {
   margin-bottom: 2px;
   padding-right: 2px;
}

.budi-auctionobject__card--small-with-display-name-and-bid .budi-auctionobject__desc p {
   font-size: 12px;
   line-height: 1.5;

   -webkit-line-clamp: 1;
   line-clamp: 1;

   height: auto;
   min-height: auto;
}


/* Auction Object Detail Pages */

.budi-auctionobject__thumb-img {
   transition: all 1s ease-in-out;
}

.budi-auctionobject__thumb .budi-auctionobject__thumb-img {
   transform: scale(1.01);
}

.budi-auctionobject__content {
   padding-top: 40px;
}

.budi-auctionobject-detail .budi-auctionobject__location {
   color: var(--neutral-800);
   font-size: 14px;
}

.budi-auctionobject-detail .budi-auctionobject__location-icon {
   width: 16px;
   height: 16px;
}

.budi-auctionobject__reservation-price-text {
   font-size: 14px;
}

.budi-bid-icon-abbr {
   font-size: 12px;
}

.budi-bidstable[data-hasautobid="false"] .budi-bid-icon-abbr--autobid { display: none !important; }
.budi-bidstable[data-hasyourbid="false"] .budi-bid-icon-abbr--yourbid { display: none !important; }

/* Special Slider Styles */

.budi-auction__slider .budi-auctionobject__card-thumb {
   height: 344px;
}

.budi-auction__slider .budi-auctionobject__desc p {
   -webkit-line-clamp: 2;
   line-clamp: 2;
}

/* Responsive Styles */

@media (max-width: 1599px) {
   .budi-auctionobject__card-thumb {
      height: 150px;
   }
   
   .budi-auction__slider .budi-auctionobject__card-thumb {
      height: 280px;
   }
}

@media (max-width: 1399px) {
   .budi-auction__slider .budi-auctionobject__card-thumb {
      height: 235px;
   }
   
   .budi-auctionobject__card-infinite-list {
      grid-template-columns: repeat(5, 1fr);
   }
   
   .budi-auctionobject__card-infinite-list--small {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 1199px) {
   .budi-auctionobject__card-thumb {
      height: 202px;
   }
   
   .budi-auctionobject__add-wish-btn  {
      width: 46px;
      height: 40px;
      padding: 8px 10px;
   }
   
   .budi-auctionobject__highlight-tag {
      top: 8px;
      left: 10px;
   }
   
   .budi-auctionobject__card-infinite-list {
      grid-template-columns: repeat(4, 1fr);
   }

   .budi-auctionobject__card-infinite-list--small {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 991px) {
   .budi-auctionobject__card-thumb {
      height: 220px; 
   }
   
   .budi-auctionobject__card-infinite-list {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
   }

   .budi-auctionobject__card--small-with-display-name-and-bid {
      width: 100px !important;
   }

   .budi-auctionobject__card--small-with-display-name-and-bid .budi-auctionobject__card-thumb {
      height: 75px;
   }
}

@media (max-width: 767px) {
   .budi-auctionobject__infinite-list-empty-content p {
      font-size: 16px;
      line-height: 1.15;
   }
   
   .budi-auctionobject__block-title {
      margin-bottom: 16px;
   }
   
   .budi-auctionobject__card {
      width: 160px;
   }
   
   .budi-auctionobject__card-thumb {
      height: 128px;
   }
   
   .budi-auctionobject__card-content {
      padding: 8px;
   }
   
   .budi-auctionobject__slider {
      margin-right: -16px;
   }
   
   .budi-auctionobject__summary p {
      font-size: 12px;
   }
   
   .budi-auction__slider .budi-auctionobject__card {
      width: 304px;
   }
   
   .budi-auction__slider .budi-auctionobject__card-thumb {
      height: 202px;
   }
   
   .budi-auction__slider .budi-auctionobject__card-content {
      padding: 20px 24px;
   }
   
   .budi-auctionobject__card-infinite-list {
      gap: 14px;
   }
}

@media (max-width: 575px) {
   .budi-auctionobject__card-infinite-list {
      grid-template-columns: repeat(2, 1fr);
   }
   
   .budi-auctionobject__card-infinite-list--small {
      grid-template-columns: repeat(2, 1fr);
   }
} 