@charset "UTF-8";
/* 由 demo/css/style.scss 的 prd_box、tabs 與 tab_item 樣式移植，字級與間距改為 vw。 */
.s03 .tabs,
.s04 .tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  margin: 0 auto;
}

.s03 .tabs > input[type=radio],
.s04 .tabs > input[type=radio] {
  position: absolute;
  width: 0.1vw;
  height: 0.1vw;
  opacity: 0;
}

.s03 .tabs > .tab,
.s04 .tabs > .tab {
  order: 99;
  flex: 1 0 100%;
  display: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: normal;
  white-space: normal;
}

.s03 .tabs > input:checked + label + .tab,
.s04 .tabs > input:checked + label + .tab {
  display: block;
}

.s03 .tabs > label,
.s04 .tabs > label {
  order: 1;
  display: block;
  position: relative;
  z-index: 3;
  width: -moz-max-content;
  width: max-content;
  min-width: 0;
  margin: 0 0.25vw 2vw;
  padding: 0.25vw 1.5vw;
  border: 0;
  border-radius: 1.05vw;
  background: linear-gradient(to bottom, #f5f5f5 0%, #fff 50%, #ccc 100%);
  color: #f15a24;
  font-size: 2vw;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.25vw;
  text-indent: 0.25vw;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.s03 .tabs > label {
  color: #eda927;
}

.s03 .tabs > label::before,
.s04 .tabs > label::before,
.buy-pill::before,
.large-buy::before,
.btn_more button::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 7.5%;
  top: 3.5%;
  width: 85%;
  height: 6%;
  background: rgba(255, 255, 255, 0.85);
  mix-blend-mode: hard-light;
  filter: blur(0.1vw);
  pointer-events: none;
}

.s03 .tabs > input:checked + label,
.s03 .tabs > label:hover {
  color: #fff;
  background: linear-gradient(to bottom, #ffc30b, #ffac27);
}

.s04 .tabs > input:checked + label,
.s04 .tabs > label:hover {
  color: #fff;
  background: linear-gradient(to bottom, #f7931e, #f15a24);
}

.s03 .tabs > input:focus-visible + label,
.s04 .tabs > input:focus-visible + label {
  outline: 0.2vw solid #222;
  outline-offset: 0.2vw;
}

.prd_content {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  padding: 0 0 3.4vw;
}

.prd_content .swiper-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.prd_content .swiper-wrapper {
  align-items: stretch;
}

.prd_content .swiper-slide {
  display: flex;
  align-items: stretch;
  height: auto;
  padding-bottom: 1vw;
}

.prd_content .swiper-pagination {
  position: absolute;
  left: 0;
  bottom: 0 !important;
  width: 100%;
  text-align: center;
}

.prd_box,
.prd_box02 {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 27vw;
  padding: 5%;
  margin-bottom: 0;
  border: 0.12vw solid #f15a24;
  border-radius: 2vw;
  background: #fff;
  box-sizing: border-box;
  color: #333;
}

.prd_box02 {
  border-color: #eda927;
}

.prd_info_w {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin-bottom: 1.5vw;
}

.prd_info_w .prd_photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 400/266;
  border-radius: 1.3vw;
  overflow: hidden;
}

.prd_info_w .prd_photo img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.prd_info_w h3 {
  width: 100%;
  height: 2.5em;
  margin: 0.5em 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.prd_box02 .prd_info_w h3 {
  text-align: justify;
}

.prd_info_w p {
  width: 100%;
  height: 3em;
  margin: 0.5em 0;
  font-size: clamp(1.125rem, 0.9vw, 3.5vw);
  line-height: 1.5;
  text-align: justify;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.prd_twd_w {
  position: relative;
  width: 100%;
  margin: auto 0 0;
}

.prd_twd {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.prd_twd span {
  display: inline;
  font-size: clamp(1.75em, 2vw, 4vw);
  font-weight: 800;
  color: #f15a24;
}

.btn_more {
  width: 100%;
  margin-top: 1.5vw;
  text-align: center;
}

.btn_more div,
.buy-pill,
.large-buy {
  position: relative;
  display: inline-block;
  width: -moz-max-content;
  width: max-content;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-radius: 2.5vw;
  background: linear-gradient(to bottom, #f5f5f5 0%, #fff 50%, #ccc 100%);
  color: #f15a24;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn_more div {
  padding: 0.25vw 1.25vw;
  font-size: 1.25rem;
}

.buy-pill {
  padding: 0.18vw 1.1vw;
  font-size: 0.95vw;
}

.large-buy {
  display: table;
  padding: 0.45vw 1.7vw;
  font-size: 2vw;
}

.btn_more div:hover,
.buy-pill:hover,
.large-buy:hover,
.btn_more div:focus-visible,
.buy-pill:focus-visible,
.large-buy:focus-visible {
  color: #fff;
  background: linear-gradient(to bottom, #f7931e, #f15a24);
  transform: translateY(-0.12vw);
}

.s03 .btn_more div:hover,
.s03 .btn_more div:focus-visible {
  background: linear-gradient(to bottom, #ffc30b, #ffac27);
}

.s03 .tabs .swiper-pagination-bullet,
.s04 .tabs .swiper-pagination-bullet {
  width: 0.75vw;
  height: 0.75vw;
  margin: 0 0.25vw;
  border: 0.07vw solid #fff;
  background: transparent;
  opacity: 1;
}

.s03 .tabs .swiper-pagination-bullet-active,
.s04 .tabs .swiper-pagination-bullet-active {
  background: #fff;
}

@media (min-width: 992px) and (max-width: 1023.98px) {
  .s01 .buy-pill {
    font-size: 1.2vw;
  }
}
@media (max-width: 767px) {
  .s03 .tabs > label,
  .s04 .tabs > label {
    margin: 0 1vw 4vw;
    padding: 1.4vw 2.4vw;
    border-radius: 2.5vw;
    font-size: 4.3vw;
    letter-spacing: 0.3vw;
    text-indent: 0;
    line-height: 1.4;
  }
  .s03 .tabs > label {
    font-size: 3.5vw;
  }
  .prd_content {
    padding: 0 0 8vw;
  }
  .prd_content .swiper-slide {
    padding-bottom: 3vw;
  }
  .prd_box,
  .prd_box02 {
    min-height: 83vw;
    padding: 5%;
    border-width: 0.25vw;
    border-radius: 5vw;
  }
  .prd_info_w {
    margin-bottom: 3vw;
  }
  .prd_info_w .prd_photo {
    border-radius: 4vw;
  }
  .prd_info_w h3 {
    font-size: 1.5rem;
  }
  .btn_more {
    margin-top: 3vw;
  }
  .btn_more div,
  .buy-pill {
    padding: 1vw 4vw;
    border-radius: 5vw;
  }
  .btn_more div {
    font-size: 1.25rem;
  }
  .buy-pill {
    font-size: 3.5vw;
  }
  .large-buy {
    padding: 1.2vw 5vw;
    border-radius: 5vw;
    font-size: 5.5vw;
  }
  .s03 .tabs .swiper-pagination-bullet,
  .s04 .tabs .swiper-pagination-bullet {
    width: 3.8vw;
    height: 3.8vw;
    margin: 0 0.6vw;
    border-width: 0.2vw;
  }
}
.swiper-few .swiper-wrapper {
  justify-content: center;
}

.swiper-few .swiper-slide {
  flex-shrink: 0;
}

.ps_table {
  font-size: 1.05vw;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 767px) {
  .ps_table {
    font-size: 3.5vw;
    line-height: 1.5;
    text-align: center;
  }
}/*# sourceMappingURL=demo-products.css.map */