
/* 版頭網頁版 */
.bid-kv-pc {
  display: block;
  margin-top: 50px;
}

@media screen and (max-width: 767px) {
  .bid-kv-pc {
    display: none;
  }
}

.main.bid-page {
  margin-top: -61vw;
}

@media screen and (max-width: 767px) {
  .main.bid-page {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  #creator-action-container {
    position: relative;
    background: url(../../images/bg_03_mb.png) no-repeat top center;
    margin-top: -6vw;
    z-index: 10;
  }
}

/* 標下創作者的 收藏與故事
下一位創作者 即將登場 */
.windows-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

@media screen and (max-width: 1279px) {
  .windows-container {
    padding: 0 20px;
    gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .windows-container {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 539px) {
  .windows-container {
    padding: 0 10px;
  }
}

.window-card {
  width: 100%;
  border-radius: 8px;
  font-family: 'Noto Sans TC', sans-serif;
  border: 4px solid #000;
  box-shadow: 0 4.262px 0 0 #000;
  margin-top: 48px;
}

.window-card.action {
  background: linear-gradient(180deg, #F9FDFF 21.77%, #EF3C85 91.96%);
}

.window-card.next {
  background: linear-gradient(180deg, #F9FDFF 21.77%, #C0FF12 91.96%)
}

@media screen and (max-width: 1079px) {
  .window-card {
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  .window-card {
    margin-top: 24px;
    border: 3px solid #000;
  }
}

.window-card-header {
  border-bottom: 4px solid #000;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

.window-card-header.action {
  background: #EF3C85;
}

.window-card-header.next {
  background: #C0FF12;
}

@media screen and (max-width: 1279px) {
  .window-card-header {
    padding: 8px 12px;
    gap: 12px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-header {
    padding: 6px 8px;
    border-bottom: 3px solid #000;
  }
}

.window-card-header-title {
  font-size: 36px;
  line-height: 1;
}

.window-card-header-title.action {
  color: #fff;
}

.window-card-header-title.next {
  color: #004AC6;
}

@media screen and (max-width: 1279px) {
  .window-card-header-title {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-header-title {
    font-size: 20px;
  }
}

.window-card-header-decoration {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media screen and (max-width: 1279px) {
  .window-card-header-decoration {
    gap: 8px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-header-decoration {
    gap: 6px;
  }
}

.window-card-header-decoration-icon {
  width: 34px;
}

@media screen and (max-width: 1279px) {
  .window-card-header-decoration-icon {
    width: 28px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-header-decoration-icon {
    width: 16px;
  }
}

.window-card-content {
  position: relative;
  padding: 0 40px 60px 40px;
}

@media screen and (max-width: 1279px) {
  .window-card-content {
    padding: 0 20px 40px 20px;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content {
    padding: 0 14px 28px 14px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content {
    padding: 0 12px 24px 12px;
  }
}

@media screen and (max-width: 539px) {
  .window-card-content {
    padding: 0 12px 24px 12px;
  }
}

.window-card-content-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

.window-card-content-author {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  z-index: 10;
}

.window-card-content-author-image {
  width: 50%;
  max-width: 260px;
  position: relative;
}

@media screen and (max-width: 1279px) {
  .window-card-content-author-image {
    width: 40%;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content-author-image {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-author-image {
    width: 40%;
  }
}

@media screen and (max-width: 539px) {
  .window-card-content-author-image {
    width: 50%;
  }
}

.window-card-content-author-image img {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  transform: translateX(-5%);
}

.window-card-content-author-introduce {
  width: 50%;
  color: #000;
  text-shadow: 0 0 4.316px #FFF;
  letter-spacing: -0.5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 31.5px;
  margin-top: 32px;
  margin-bottom: 28px;
  min-height: 96px;
}

@media screen and (max-width: 1279px) {
  .window-card-content-author-introduce {
    width: 60%;
    font-size: 18px;
    line-height: 28px;
    margin-top: 24px;
    margin-bottom: 20px;
    min-height: 112px;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content-author-introduce {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-author-introduce {
    width: 60%;
    font-size: 16px;
    line-height: 24px;
  }
}

@media screen and (max-width: 539px) {
  .window-card-content-author-introduce {
    width: 50%;
    font-size: 14px;
    line-height: 22px;
  }
}

.window-card-content-products {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px;
  z-index: 10;
}

@media screen and (max-width: 1279px) {
  .window-card-content-products {
    gap: 16px;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content-products {
    gap: 10px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-products {
    gap: 10px;
  }
}

@media screen and (max-width: 539px) {
  .window-card-content-products {
    gap: 8px;
  }
}

.window-card-content-product-card {
  gap: 10px;
  border-radius: 8px;
  border: 4px solid #000;
  background: #2DCCFF;
  box-shadow: 0 4.262px 0 0 #000;
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card {
    border-width: 3px;
    box-shadow: 0 3px 0 0 #000;
  }
}

.window-card-content-product-card-image {
  position: relative;
  padding: 16px 16px 12px 16px;
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-image {
    padding: 12px;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content-product-card-image {
    padding: 10px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-image {
    padding: 8px 8px 6px 8px;
  }
}

.window-card-content-product-card-image>img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.window-card-content-product-card-image .bid-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 50%;
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-image .bid-icon {
    bottom: 8px;
    right: 8px;
  }
}

.window-card-content-product-card-time {
  display: flex;
  width: 100%;
  padding: 3px 12px;
  justify-content: space-between;
  align-items: center;
  background: #0049C6;
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-time {
    font-size: 13px;
    padding: 3px 8px;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content-product-card-time {
    font-size: 11.5px;
    padding: 3px 6px;
    letter-spacing: -0.1px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-time {
    font-size: 11px;
    padding: 2px 6px;
    letter-spacing: 0;
  }
}

@media screen and (max-width: 539px) {
  .window-card-content-product-card-time {
    font-size: 10px;
    padding: 2px 6px;
    letter-spacing: -0.1px;
  }
}


.window-card-content-product-card-text {
  padding: 16px 16px 0px 16px;
  text-align: center;
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-text {
    padding: 12px 12px 0px 12px;
  }
}

@media screen and (max-width: 1079px) {
  .window-card-content-product-card-text {
    padding: 10px 10px 0px 10px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-text {
    padding: 8px 8px 0px 8px;
  }
}

.window-card-content-product-card-text-name {
  color: #000;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1.146px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-text-name {
    font-size: 16px;
    height: 38px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-text-name {
    font-size: 14px;
    height: 32px;
  }
}

.window-card-content-product-card-text-price {
  color: #FFEE31;
  margin-top: 4px;
  display: flex;
  justify-content: center;
  align-items: end;
  white-space: nowrap;
}

.window-card-content-product-card-text-price-unit {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-text-price-unit {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-text-price-unit {
    font-size: 14px;
  }
}

.window-card-content-product-card-text-price-value {
  font-size: 45px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin-left: 2px;
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-text-price-value {
    font-size: 32px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-text-price-value {
    font-size: 24px;
  }
}

.window-card-content-product-card-text-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.window-card-content-product-card-text-cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #000;
  font-weight: bold;
  padding: 4px 16px;
  gap: 4px;
  background-color: #fff;
  border-radius: 80px;
  border: 4px solid #000;
  background: #FF9B42;
  box-shadow: 0 4px 0 0 #000;
  transform: translateY(20%);
}

@media screen and (max-width: 1279px) {
  .window-card-content-product-card-text-cta-btn {
    font-size: 18px;
    padding: 3px 12px;
    border: 3px solid #000;
    box-shadow: 0 3px 0 0 #000;
    gap: 3px;
  }
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-text-cta-btn {
    font-size: 16px;
    gap: 2px;
  }
}

.window-card-content-product-card-text-cta-btn-icon {
  width: 13px;
}

@media screen and (max-width: 767px) {
  .window-card-content-product-card-text-cta-btn-icon {
    width: 10px;
  }
}


/* 謝謝創作者也謝謝一起玩的你
同好的收藏
已找到新主人的好物 */
.product-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  /* margin: 80px 0; */
  padding: 40px;
}

@media screen and (max-width: 1023px) {
  .product-container {
    gap: 10px;
  }
}

@media screen and (max-width: 767px) {
  .product-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    /* margin: 0 0 24px 0; */
    padding: 4.5vw;
  }
}

.product-card {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Noto Sans TC', sans-serif;
  border: 4.5px solid #000;
}

@media screen and (max-width: 767px) {
  .product-card {
    border-width: 3px;
  }
}

/* 圖片區 */
.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
  padding: 8px;
  background-color: #EF3C85;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image-wrap .bid-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 50%;
}

/* 倒數計時 bar */
.countdown-bar {
  width: 100%;
  background: #EF3C85;
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  padding: 4px 8px;
  font-weight: bold;
}

.subtitle-bar {
  width: 100%;
  background: #000;
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 4px 8px;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .countdown-bar {
    font-size: 10px;
  }

  .subtitle-bar {
    font-size: 10px;
  }
}

/* 卡片內容區 */
.card-body {
  padding: 10px 5px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #161619;
  line-height: 1.4;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -1px;
}

@media screen and (max-width: 1023px) {
  .card-title {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .card-title {
    font-size: 12px;
    letter-spacing: 0px;
  }
}

.card-price {
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  color: #FF3D44;
  line-height: 1.2;
  letter-spacing: -1px;
}

.card-price.auction .card-price-unit {
  font-size: 20px;
}

.card-price.auction .card-price-value {
  margin-left: 2px;
}

.card-price.normal .card-price-unit {
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .card-price { font-size: 20px; }
  .card-price.auction .card-price-unit { font-size: 14px; }
  .card-price.normal .card-price-unit { font-size: 14px; }
}
