* {
  font-family: Poppins;
  font-weight: 400;
  scroll-behavior: smooth;
}

#banner {
  background: #000 url(assets/Image-HeroBackground.png) no-repeat;
  background-position: top center;
  min-height: 180px;
  max-height: 687px;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative
    /* transition: 0.4s; */
}

#banner #container {
  width: 100%;
  max-width: 1080px;
  padding: 0px 40px;
  padding-top: 280px;
  height: 687px;
}

#banner.shrink {
  width: 100%;
  height: auto;
  background: #000;
  top: 0px;
  position: fixed;
  z-index: 10;
}

#banner.shrink .filter-container {
  position: relative;
  padding: 0px 40px;
  padding-top: 96px;
  padding-bottom: 24px;
}

.padding-top {
  padding-top: 727px !important;
}

#top {
  position: absolute;
  top: 0px;
  height: 100px;
  padding: 0px 40px;
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.filter-container {
  position: absolute;
  bottom: 0px;
  width: 100%;
  max-width: 1080px;
  padding: 60px 40px;
}

.filter-container .flex {
  gap: 20px;
  flex-wrap: wrap;
  flex-grow: 1;
}

.filter-wrapper {
  display: flex;
  flex-grow: 1;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: row;
}

.filter-box {
  overflow: hidden;
  height: 60px;
  flex-grow: 1;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: #fff;
  font-size: 12px;
  transition: 0.2s;
}

.filter-box select {
  height: 60px;
  padding: 0px 20px;
  width: 100%;
  min-width: 198px;
}

.dropdown-icon {
  height: 16px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0%, -50%);
}

.filter-box.search {
  overflow: visible;
}

.filter-box.search input {
  width: 100%;
  min-width: 338px;
  padding: 0px 20px;
  height: 58px;
}

.filter-box.search input,
.filter-box select {
  background: transparent;
  border: 0px;
  -o-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
}

.filter-box select:focus {
  outline: none;
}

.filter-box.search input:focus {
  outline: 1px solid white;
  border-radius: 50px;
}

.sort-filter-text-btn {
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0);
  transition: 0.2s;
}

.filter-overlay {
  border-radius: 30px 30px 0px 0px;

}

.overlay-close-btn {
  height: 52px;
  font-size: 14px;
}

.mobile-filter-container .filter-box {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: #fff;
  min-width: 200px;
  width: 100%;
  position: relative;
  font-size: 14px;
  margin-bottom: 12px;
}

.mobile-filter-container .filter-box select {
  padding: 0px 20px;
}

.mobile-filter-container .filter-box svg {
  right: 20px;
}

.mobile-filter-container.sort-modal-container .filter-box {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: #fff;
  min-width: 200px;
  width: 100%;
  position: relative;
  font-size: 14px;
  margin-bottom: 12px;
}

.mobile-filter-container .filter-box select {
  height: 52px;
}

.mobile-filter-container.sort-modal-container .filter-box {
  text-align: center;
}

.mobile-filter-container.sort-modal-container .filter-box:last-child {
  margin-bottom: 0px;
}

.mobile-filter-container .filter-box.search input,
.mobile-filter-container .filter-box select {
  z-index: 1;
  width: 100%;
}

.search-icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  top: 10px;
  right: 10px;
  z-index: 5;
}

#logo img {
  height: 50px;
}

#login-btn {
  display: flex;
  flex-direction: row;
  width: auto;
  height: 56px;
  align-items: center;
  gap: 10px;
  padding: 0px 30px;
  border-radius: 100px;
  border-width: 1px;
  border: 0px solid #ffffff42;
  font-size: 12px;
  color: white;
  transition: 0.2s;
}

#login-btn img{
  height: 32px;
}

#login-btn path {
  fill: white;
  transition: 0.2s;
}

.plate-box {
  overflow: hidden;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  transition: 0.3s;
}

.plate-box-header {
  display: flex;
  background-image: linear-gradient(180deg, #181F32 0%, #575E70 100%);
  padding: 20px;
  flex-direction: column;
  gap: 10px;
}

.plate-box-logo img {
  height: 30px;
}

.whatsapp {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  background: #fff;
  padding: 6px;
  border-radius: 20px;
  cursor: pointer;
  display: none;
}

.whatsapp img, .whatsapp-btn img {
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.whatsapp-btn {
  margin-top: 10px;
  background: #24D366;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  text-align: center;
  padding: 10px;
  color: white;
  transition: 0.2s;
}

.whatsapp-btn span {
  font-weight: 500;
}

.whatsapp-btn svg path {
  fill: white;
  transition: 0.2s;
}

.plate-box-num {
  font-size: 20px;
  background: #000000;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  height: 50px;
  padding: 0px 20px;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  display: flex;
}

.plate-box-price-info {
  padding: 20px;
}

.plate-box-price-label {
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
}

.plate-box-price {
  font-size: 24px;
  line-height: 36px;
  font-weight: bold;
  text-align: center;
}

.pagination-total {
  display: inline-block;
  background: #000;
  border-radius: 14px;
  color: #fff;
  padding: 2px 15px;
  font-size: 12px;
  vertical-align: middle;
}

.pagination-total span {
  display: inline-block;
  padding: 5px;
}

.pagination-nav {
  display: flex;
  gap: 5px;
  /* padding: 20px; */
}

.pagination-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  transition: 0.2s;
}

#footer {
  background: #000;
  color: #fff;
}

#footer .container {
  max-width: 1000px;
  margin: auto;
  margin-top: 50px;
  padding: 50px 0px;
}

#footer-logo img {
  height: 50px;
}

#footer-info1,
#footer-info2 {
  flex: 1;
}

.hide {
  display: none;
}

#jpj-box {
  border: 1px solid #888;
  border-radius: 10px;
  padding: 20px;
}

#jpj-btn {
  color: #000;
  background: #fff;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 600;
  transition: 0.2s;
  border: white 1px solid;
}

@media (hover: hover) and (pointer: fine) {
  .filter-box:hover {
    border-color: white;
  }

  .sort-filter-text-btn:hover {
    -webkit-text-stroke: 0.5px black;
  }

  /* #login-btn:hover {
    color: black;
    background: white;
    border-color: white;
  }

  #login-btn:hover path {
    fill: black;
  } */

  .plate-box:hover {
    scale: 1.02;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.3);
    z-index: 5;
  }

  .whatsapp-btn:hover,
  .whatsapp-btn:hover path {
    background: #cbf1db;
    color: #24D366;
    fill: #24D366;
  }

  .pagination-nav a:hover {
    background-color: #E5E7EB;
  }

  #jpj-btn:hover {
    color: #ffffff;
    background: rgb(255, 255, 255, 0.15);
    border: rgba(255, 255, 255, 0.5) 1px solid;
  }
}

@media only screen and (max-width: 748px) {
  .filter-box.search input {
    min-width: 198px;
  }
}

@media only screen and (max-width: 640px) {
  #top {
    height: 80px;
    padding: 0px 20px;
  }

  #login-btn {
    height: 46px;
    padding: 0px 20px;
  }

  #banner {
    background: #000 url(assets/Image-MobileHeroBackground.png);
    background-position: top center;
    background-size: cover;

    min-height: 146px;
  }

  #banner #container {
    height: 550px;
    padding: 0px 20px;
    padding-top: 100px;
  }



  #banner.shrink {
    position: fixed;
    width: 100%;
    background: #000;
    top: 0px;
    left: 0px;
    z-index: 10;
  }

  #banner.shrink .filter-container {
    margin-top: 0px;
    padding: 0px 20px;
    padding-top: 80px;
    padding-bottom: 20px;
  }

  .padding-top {
    padding-top: 590px !important;
  }

  #logo img {
    height: 40px;
  }

  #footer .container {
    padding: 70px;
  }

  .filter-container {
    padding: 30px 20px;
  }

  .filter-wrapper {
    gap: 12px;
  }

  .filter-box {
    display: flex;
    border-radius: 30px;
    color: #fff;
    min-width: 100px;
    font-size: 12px;
    position: relative;
    height: 46px;
    align-items: center;
  }

  .filter-box select {
    height: 46px;
  }

  .dropdown-icon {
    right: 14px;
  }

  .filter-box span {
    padding: 0px 14px;
  }

  .filter-box.search input {
    height: 46px;
    padding: 0px 14px;
    min-width: 200px;
  }

  .filter-box.search input:focus {
    height: 44px;
  }

  .search-icon {
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: 40px;
    top: 6px;
    right: 7px;
  }

  .plate-box {
    border-radius: 30px;
  }

  .plate-box-header {
    padding: 16px;
  }

  .plate-box-logo img {
    height: 20px;
  }

  .whatsapp {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    background: #fff;
    padding: 6px;
    border-radius: 20px;
    cursor: pointer;
  }

  .whatsapp img {
    height: 16px;
    cursor: pointer;
  }

  .plate-box-num {
    background: #000000;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
    padding: 0px 20px;
  }

  .plate-box-price-info {
    padding: 16px;
  }

  .plate-box-price-label {
    font-size: 12px;
    line-height: 18px;
    text-align: center;
  }

  .plate-box-price {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 4px;
  }

  .whatsapp-btn span {
    font-size: 12px;
  }
}

/* Listing Type Filter Styles */
.listing-type-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.listing-type-btn {
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  color: #6B7280;
}

.listing-type-btn:hover {
  border-color: #000;
  color: #000;
}

.listing-type-btn.active {
  background: #000;
  color: white;
  border-color: #000;
}

/* Auction Card Styles */
/* Auction cards use the same black header as regular cards */

/* Auction bottom row - timer + button side by side */
.auction-bottom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* Circular timer badge */
.auction-timer {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  flex-shrink: 0;
}

/* Cream/beige BID NOW button */
.bid-now-btn {
  flex: 1;
  margin-top: 0;
  background: #F5E6C8;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  text-align: center;
  padding: 12px 10px;
  text-decoration: none;
  transition: 0.2s;
}

.bid-now-btn span {
  font-weight: 600;
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .bid-now-btn:hover {
    background: #EAD9B5;
  }
}

@media only screen and (max-width: 640px) {
  .listing-type-filter {
    justify-content: center;
  }

  .listing-type-btn {
    padding: 5px 12px;
    font-size: 11px;
  }

  .auction-timer {
    width: 38px;
    height: 38px;
    font-size: 10px;
  }

  .bid-now-btn span {
    font-size: 11px;
  }
}

/* Homepage Mobile Bottom Navigation */
.home-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
}

.home-nav-dashboard-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #444;
  border-radius: 9999px;
  padding: 10px 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.home-nav-dashboard-btn:hover {
  background: #222;
}

.home-nav-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #444;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.home-nav-icon:hover {
  background: #222;
}

/* ============================================================
   Homepage listing cards — "PS update" redesign (Figma-exact)
   Scoped to .plates so the member dashboard plate boxes stay untouched.
   Card 238x319 · r16 · border #E7E2D8 · vertical gap 10 · pad-bottom 15.
   ============================================================ */
.plates .plate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 0 15px;
  border: 1px solid #E7E2D8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

/* Header / Plate Showcase — 124 tall, charcoal gradient, 1px gold divider */
.plates .plate-box-header {
  position: relative;
  width: 100%;
  min-height: 124px;
  padding: 16px 15px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(180deg, #242424 0%, #3D3D38 100%);
  border-bottom: 1px solid #C8A45D;
}

/* Logo lockup — 104x32 (width auto overrides the img width attr) */
.plates .plate-box-logo-img {
  height: 32px;
  width: auto;
}

/* Plate Number Frame — 208x54, r8, near-black, subtle dark border */
.plates .plate-box-num {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #181818;
  background: #020202;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Price group — 190 wide, centered */
.plates .plate-box-price-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 190px;
  max-width: calc(100% - 30px);
}

.plates .plate-status-badge {
  margin: 0 0 5px;
  height: 24px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.plates .plate-status-fixed {
  background: #F7F4EF;
  border: 1px solid #DED8CC;
  color: #6B6256;
}

.plates .plate-status-auction {
  background: #FFF8E6;
  border: 1px solid #E8CC82;
  color: #7A5616;
}

.plates .plate-box-price-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 16px;
  text-align: center;
  color: #8B857B;
}

.plates .plate-box-price {
  margin: 2px 0 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  color: #050505;
}

/* Button group — 208 wide, gap 5 */
.plates .plate-box-btn-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 208px;
  max-width: calc(100% - 30px);
}

/* AI Preview — 208x38, r10, cream, gold border */
.plates .ai-preview-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: #F8F6EF;
  border: 1px solid #E3D5B3;
  border-radius: 10px;
  color: #322A1B;
  text-decoration: none;
  transition: 0.2s;
}

.plates .ai-preview-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}

.plates .ai-preview-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #9B7735;
}

.plates .ai-preview-tag {
  font-size: 10px;
  font-weight: 700;
  color: #9B7735;
}

/* WhatsApp — 208x36, r10, green */
.plates .whatsapp-btn {
  margin-top: 0;
  height: 36px;
  padding: 0;
  gap: 8px;
  border-radius: 10px;
  background: #19C865;
}

.plates .whatsapp-btn img {
  height: 20px;
  width: 20px;
}

.plates .whatsapp-btn span {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

/* Bid Now — 208x36, r10, navy, gavel */
.plates .bid-now-btn {
  margin-top: 0;
  height: 36px;
  padding: 0;
  gap: 8px;
  border-radius: 10px;
  background: #141B2D;
  color: #fff;
}

.plates .bid-now-btn svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.plates .bid-now-btn span {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .plates .ai-preview-btn:hover { background: #F1ECE0; }
  .plates .whatsapp-btn:hover { background: #14B359; }
  .plates .bid-now-btn:hover { background: #1E2740; }
}

/* Narrow 2-col mobile: let the groups use the full card width */
@media only screen and (max-width: 640px) {
  .plates .plate-box-price-group,
  .plates .plate-box-btn-group {
    width: 100%;
    max-width: none;
  }
  .plates .plate-box-price-group { padding: 0 16px; }
  .plates .plate-box-btn-group { padding: 0 12px; }
  .plates .plate-box-num { height: 48px; font-size: 20px; }
  .plates .plate-box-price { font-size: 21px; }
  .plates .ai-preview-label { font-size: 11px; }
}