@charset "UTF-8";
.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.w-20 {
  width: 20%;
}

.w-25 {
  width: 25%;
}

.w-30 {
  width: 30%;
}

.w-40 {
  width: 40%;
}

.w-50 {
  width: 50%;
}

.w-55 {
  width: 55%;
}

.w-60 {
  width: 60%;
}

.w-70 {
  width: 70%;
}

.w-80 {
  width: 80%;
}

.w-90 {
  width: 90%;
}

.w-100 {
  width: 100%;
}

.bg-primary {
  background: #00373a !important;
  color: #fff;
}

h4 {
  font-weight: 600;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.word-nowrap {
  white-space: nowrap;
}

.text-left {
  text-align: left !important;
}

.text-primary {
  color: #00373a !important;
}

.text-secondary {
  color: #0d4a4d !important;
}

.text-danger {
  color: #de2020 !important;
}

.text-gray {
  color: #a6a6a6 !important;
}

.mt-x1 {
  margin-top: 8px;
}

.mt-x2 {
  margin-top: 16px;
}

.mt-x3 {
  margin-top: 24px;
}

.mt-x4 {
  margin-top: 32px;
}

.mt-x5 {
  margin-top: 40px;
}

.mt-x5 {
  margin-top: 40px;
}

.mt-x6 {
  margin-top: 48px;
}

.mt-x7 {
  margin-top: 56px;
}

.mt-x8 {
  margin-top: 64px;
}

.mt-x9 {
  margin-top: 72px;
}

.mt-x10 {
  margin-top: 80px;
}

.mt-x11 {
  margin-top: 88px;
}

.mt-x12 {
  margin-top: 96px;
}

.mb-x2 {
  margin-bottom: 16px;
}

.mb-x3 {
  margin-bottom: 24px;
}

.mb-x4 {
  margin-bottom: 32px;
}

.mb-x5 {
  margin-bottom: 40px;
}

.mb-x5 {
  margin-bottom: 40px;
}

.mb-x6 {
  margin-bottom: 48px;
}

.mb-x7 {
  margin-bottom: 56px;
}

.mb-x8 {
  margin-bottom: 64px;
}

.mb-x9 {
  margin-bottom: 72px;
}

.mb-x10 {
  margin-bottom: 80px;
}

.mb-x11 {
  margin-bottom: 88px;
}

.mb-x12 {
  margin-bottom: 96px;
}

a {
  text-decoration: none;
  color: #00373a;
  transition: all 0.3s;
}
a:hover {
  color: #e35d15;
}

img {
  vertical-align: top;
  border: none;
  margin-bottom: 0;
}

@font-face {
  font-family: "Noto Serif TC";
  src: local("Noto Serif TC"), local("NotoSerifTC-Regular"), url("../font/NotoSerifTC-VariableFont_wght.woff2") format("woff2-variations"), url("../font/NotoSerifTC-VariableFont_wght.woff2") format("woff2"); /* 備用宣告，確保舊版瀏覽器相容 */
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "Noto Serif TC", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e1e1e;
  background: url(../images/block-bg.webp) #fff no-repeat;
  background-position: center;
  background-size: cover;
}

* {
  word-break: break-all;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  background: #00373a;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  padding: 0.875rem;
  border: solid 1px #00373a;
  border-radius: 0;
  line-height: 1;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: rgb(0, 106.4344827586, 112.24);
  color: #000;
  transition: all 0.3s;
}
.btn-primary {
  cursor: pointer;
}
.btn-primary:hover {
  color: #fff;
}

.btn-outline-primary {
  display: inline-block;
  width: 100%;
  background: #fff;
  color: #00373a;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  padding: 0.875rem;
  border: solid 1px #00373a;
  border-radius: 0;
  line-height: 1;
  transition: all 0.3s;
}
.btn-outline-primary:hover {
  background: white;
  color: #000;
  transition: all 0.3s;
}
.btn-outline-primary:hover {
  background: rgb(16.6833333333, 94.9666666667, 98.8166666667);
  color: white;
}

.btn-danger {
  display: inline-block;
  width: 100%;
  background: #891923;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  padding: 0.875rem;
  border: solid 1px #891923;
  border-radius: 0;
  line-height: 1;
  transition: all 0.3s;
}
.btn-danger:hover {
  background: rgb(172.3155555556, 31.4444444444, 44.0222222222);
  color: #000;
  transition: all 0.3s;
}
.btn-danger:hover {
  color: #fff;
}
.btn-danger.btn-sm {
  max-width: 200px;
}

.btn-outline-danger {
  display: inline-block;
  width: 100%;
  background: #fff;
  color: #891923;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  padding: 0.875rem;
  border: solid 1px #891923;
  border-radius: 0;
  line-height: 1;
  transition: all 0.3s;
}
.btn-outline-danger:hover {
  background: white;
  color: #000;
  transition: all 0.3s;
}

.btn-black {
  display: block;
  background: #000;
  color: #fff !important;
  text-align: center;
  margin-top: 56px;
  transition: all 0.3s;
}
.btn-black:hover {
  background: #434343;
  color: #fff;
  transition: all 0.3s;
}

.btn-outline-black {
  display: inline-block;
  background: #fff;
  color: #000;
  border: solid 1px #000;
  text-align: center;
  padding: 8px 20px;
  transition: all 0.3s;
}
.btn-outline-black:hover {
  background: #434343;
  color: #fff;
  transition: all 0.3s;
}

.btn-action {
  display: inline-block;
  background: #891923;
  color: #fff !important;
  padding: 12px 16px;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  transition: all 0.3s;
}
.btn-action:hover {
  background: #00373a;
  color: #fff;
  transition: all 0.3s;
}

.tab-btn {
  display: inline-block;
  width: 100%;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  padding: 0.875rem;
  border: solid 1px #00373a;
  border-radius: 0;
  line-height: 1;
  transition: all 0.3s;
}
.tab-btn:hover {
  background: white;
  color: #000;
  transition: all 0.3s;
}
.tab-btn.active {
  border-color: #00373a;
  background: #00373a;
  color: #fff;
}

.goTop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 50;
  transform: translateX(0);
  transition: transform 0.2s;
  opacity: 1;
}
.goTop.hide {
  opacity: 0;
}

.goTopBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background-color: #000;
  border: none;
  outline: none;
  cursor: pointer;
}

.faq-btn {
  width: 100%;
  display: block;
  background: #e6e6e6;
  padding: 16px;
  font-size: 18px;
  text-align: left;
}

.back-btn {
  display: inline-block;
  text-align: center;
  width: 30%;
  margin: 2rem auto 0;
  padding: 12px;
  font-weight: 700;
  color: #00373a;
  border: solid 1px #00373a;
  word-break: keep-all;
  background: white;
}
@media (max-width: 576px) {
  .back-btn {
    width: 45%;
  }
}

.btns-block {
  width: 100%;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem auto 0;
  gap: 1rem;
}

.sort-btn {
  padding: 0.25rem;
  background: transparent;
  border: solid 2px #00373a;
  border-radius: 0.5rem;
  font-weight: 600;
}
.sort-btn.active {
  background: #00373a;
  color: #fff;
}

.pagination {
  margin-top: 5rem;
  justify-content: center;
  align-items: center;
}
.pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination .page-item.active .link-item {
  background: #00373a;
  color: #fff;
  pointer-events: none;
}
.pagination .page-item.hide {
  display: none;
}
.pagination .page-item .prev,
.pagination .page-item .next {
  background: url("../images/page-icon.png") no-repeat white;
  background-position: center;
}
.pagination .page-item .prev {
  transform: scaleX(-1);
}
.pagination .link-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-weight: bold;
  background: #fff;
  color: #a6a6a6;
}
.pagination .link-item:hover {
  background-color: #c2c2c2;
  color: #717171;
}
.pagination .prev-link img {
  transform: scale(-1);
}

.breadcrumb-block .container {
  margin: 0 auto;
}
.breadcrumb-block ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  gap: 1rem;
}

.table {
  margin-bottom: 0;
}
.table thead tr {
  background: rgba(0, 55, 58, 0.1);
  color: #00373a;
}
.table th {
  width: 20%;
  color: #0d4a4d;
  text-align: center;
}
.table th:first-child {
  text-align: left;
}
.table th:last-child {
  text-align: right;
  min-width: 80px;
}
.table > :not(:first-child) {
  border-top: none;
}
.table tr:nth-child(even) {
  background-color: #fafafa;
}
.table td {
  text-align: center;
}
.table td:first-child {
  text-align: left;
}
.table td:last-of-type {
  /*text-align: right;*/
  min-width: 80px;
}

.tracking-num {
  font-size: .9rem;
  color: #159be3;
}
.tracking-num:hover {
  color: #02306c;
}

@media (max-width: 992px) {
  .table-rwd.column tr {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #9cb4b5;
    border-radius: 15px;
    padding: 0px 12px;
  }
  .table-rwd.column td {
    padding-left: 90px;
  }
}
@media (max-width: 992px) {
  .table-rwd.keep-thead thead {
    display: block;
  }
  .table-rwd.keep-thead td {
    padding-left: 8px;
  }
}
@media (max-width: 992px) {
  .table-rwd thead {
    display: none;
  }
}
@media (max-width: 992px) {
  .table-rwd tbody td:first-child {
    text-align: right;
  }
}
@media (max-width: 992px) {
  .table-rwd tbody tr {
    display: inline-block;
    width: 50%;
  }
}
.table-rwd td {
  position: relative;
}
@media (max-width: 992px) {
  .table-rwd td {
    display: block;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 80px;
    white-space: normal;
    text-align: right;
  }
  .table-rwd td:before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 80px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #0d4a4d;
  }
}
@media (max-width: 992px) {
  .table-rwd td:last-of-type {
    text-align: right;
  }
}

.table-head {
  background: rgba(0, 55, 58, 0.1);
  color: #00373a;
}
.table-head th {
  text-align: left !important;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fdfdfd;
  border: solid 1px rgba(0, 55, 58, 0.5);
  padding: 1.5rem;
}
.form-block.forgot {
  min-height: 450px;
}
.form-block.forgot .btns-block {
  margin-top: auto;
}
.form-block .form-title {
  font-size: 2rem;
  font-weight: 700;
}

.order-form {
  gap: 2rem;
}

.address-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.address-group .address-input {
  width: 100%;
}

.flex-fill {
  flex: 1 1 0 !important; /* 讓上排三個元件等寬分配剩餘空間 */
  min-width: 33%;
}

.addr-county {
  flex: 1 1 0 !important;
  padding: 8px 12px;
  border-radius: 0;
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("../images/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.addr-distrcit {
  flex: 1 1 0 !important;
  padding: 8px 12px;
  border-radius: 0;
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("../images/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.addr-zip {
  flex: 1 1 0 !important;
  padding: 8px 12px;
  border-radius: 0;
}

.w-100 {
  width: 100%;
}

.option-button {
  width: calc(50% - 0.5rem);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border: solid 1px #00373a;
  padding: 0.5rem;
  cursor: pointer;
}
@media (max-width: 992px) {
  .option-button {
    width: 100%;
  }
}
.option-button:has(input:checked) {
  border-color: #00373a;
  background-color: rgba(0, 55, 58, 0.7);
  color: white;
}
.option-button input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 24px;
  height: 24px;
  max-width: 24px;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid #00373a;
  border-radius: 50%;
  background: white;
  position: relative;
}
.option-button input[type=radio]:checked {
  background-color: white;
}
.option-button input[type=radio]:checked::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #00373a;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.option-button .payment-logo {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  padding: 0.1rem;
}
.option-button .payment-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.option-button .content {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 0.5rem;
}

.option-button-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem !important;
}

.form-input {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.form-input.baseline {
  align-items: baseline;
}
@media (max-width: 768px) {
  .form-input {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}
.form-input {
  /* 設定 label 固定寬度 */
}
.form-input .form-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  margin-bottom: 0;
  flex: 0 0 110px;
}
@media (max-width: 768px) {
  .form-input .form-label {
    flex: auto;
  }
}
.form-input {
  /* 讓 input 與 textarea 填滿剩餘空間 */
}
.form-input input,
.form-input textarea {
  flex: 1; /* 自動填滿剩餘寬度 */
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #a6a6a6;
  box-sizing: border-box;
}
.form-input {
  /* 針對 textarea 額外調整 */
}
.form-input textarea {
  min-height: 120px;
  resize: vertical; /* 允許使用者垂直縮放 */
}
.form-input input:disabled,
.form-input textarea:disabled,
.form-input input[readonly],
.form-input textarea[readonly] {
    cursor: not-allowed;
}
.is-required {
  color: #de2020;
}

.form-control {
  padding: 15px;
  border-radius: 0;
}
.form-control.style-sm {
  padding: 4px;
  border-radius: 3px;
}

.code-block {
  height: 45px;
}
.code-block img {
  width: 100%;
  height: 100%;
}

.form-select {
  padding: 8px 12px;
  border-radius: 0;
}
.form-select.style-sm {
  padding: 4px;
  border-radius: 3px;
}

.select-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
@media (max-width: 992px) {
  .select-block {
    flex-wrap: wrap;
    margin-bottom: 0;
  }
}
.select-block input {
  margin-right: 4px;
}
@media (max-width: 992px) {
  .select-block input {
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .select-block .address-select {
    margin-bottom: 8px;
  }
}

.birth-select {
  display: flex;
  align-items: center;
  width: calc((100% - 16px) / 4);
}
@media (max-width: 992px) {
  .birth-select {
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .birth-select {
    width: 100%;
  }
}

.address-select {
  display: flex;
  align-items: center;
  width: calc((100% - 8px) / 2);
}
@media (max-width: 768px) {
  .address-select {
    width: 100%;
  }
}

.address-input {
  width: 100%;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .address-input {
    margin-top: 0;
  }
}

#twzipcode {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.block-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}
.block-title .title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.column-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-title {
  color: #ac9a5a;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}
@media (max-width: 992px) {
  .sub-title {
    font-size: 1.25rem;
  }
}

.data-title {
  position: relative;
  background: #00373a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.data-title .name {
  font-weight: 600;
  display: inline-block;
}
.data-title .note {
  display: inline-block;
  font-size: 16px;
  margin-left: 8px;
}
.data-title .collapse-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  padding: 12px;
  background: #000;
  transition: all 0.3s;
}
.data-title .collapse-btn img {
  width: 20px;
  height: 20px;
  transform: rotate(90deg) scale(-1);
  margin-top: 4px;
}
.data-title .collapse-btn.collapsed img {
  margin-top: 0;
  transform: rotate(90deg);
}

.flex-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .flex-title {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .flex-title .block-title {
    margin-top: 0;
  }
}

.product-list,
.article-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.product-list .product-item,
.product-list .article-item,
.article-list .product-item,
.article-list .article-item {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  width: calc((100% - 3rem) / 3);
  padding: 1rem;
  background: white;
  box-sizing: border-box;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
  .product-list .product-item,
  .product-list .article-item,
  .article-list .product-item,
  .article-list .article-item {
    width: calc((100% - 1.5rem) / 2);
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .product-list .product-item,
  .product-list .article-item,
  .article-list .product-item,
  .article-list .article-item {
    width: 100%;
  }
}
.product-list .inner,
.article-list .inner {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
}
.product-list .img-box,
.article-list .img-box {
  aspect-ratio: 1/1;
}
.product-list .img-box img,
.article-list .img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.product-list .product-title,
.product-list .article-title,
.article-list .product-title,
.article-list .article-title {
  font-size: 1.125rem;
  font-weight: 900;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 992px) {
  .product-list .product-title,
  .product-list .article-title,
  .article-list .product-title,
  .article-list .article-title {
    font-size: 1.5rem;
  }
}
.product-list .info-box,
.article-list .info-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-list .info-box .sort,
.article-list .info-box .sort {
  font-size: 1rem;
  font-weight: 700;
}
@media (max-width: 992px) {
  .product-list .info-box .sort,
  .article-list .info-box .sort {
    font-size: 1.125rem;
  }
}
.product-list .info-box .price-block,
.article-list .info-box .price-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.product-list .info-box .sale-price,
.article-list .info-box .sale-price {
  font-size: 1.125rem;
  font-weight: 900;
  color: #af7317;
}
@media (max-width: 992px) {
  .product-list .info-box .sale-price,
  .article-list .info-box .sale-price {
    font-size: 1.5rem;
  }
}
.product-list .info-box .original-price,
.article-list .info-box .original-price {
  font-size: 1rem;
  color: #a6a6a6;
  text-decoration: line-through;
}
.product-list .info-text,
.article-list .info-text {
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 省略號 ... */
}

.offcanvas {
  z-index: 9999;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  z-index: 99;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #00373a;
  color: white;
}
@media (max-width: 992px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 96px;
    flex-direction: row-reverse;
    padding: 0 0.5rem;
  }
}
@media (max-width: 992px) {
  .header .container {
    margin-left: auto;
    margin-right: 0;
  }
}

.top-list {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  padding-left: 0;
  margin: 8px 0;
  gap: 1rem;
}
.top-list li {
  display: block;
}
.top-list .top-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px;
  transition: all 0.3s;
}
@media (max-width: 1200px) {
  .top-list .top-btn {
    font-size: 1.125rem;
    padding: 8px 10px;
  }
}
.top-list .top-btn:hover {
  background: #adcdce;
  color: #00373a;
}
@media (max-width: 992px) {
  .top-list .top-btn .btn-text {
    display: none;
  }
}
.top-list .top-btn img {
  margin-bottom: 0;
}
.top-list .cart-btn {
  background: #ffc800;
  color: #00373a;
}
/* 預設隱藏打勾 */
.top-list .top-btn::after {
    content: '✔';
    position: absolute;
    transform: translate(-18px, 10px);
    font-size: 0.5rem;
    line-height: 1;
    color: #fff;
    background: #0faeb7;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
@media screen and (max-width: 992px)
{
    .top-list .top-btn::after {
        content: '✔';
        position: absolute;
        transform: translate(12px, 10px);
        font-size: 0.65rem;
        line-height: 1;
        color: #fff !important;
        background: #0faeb7;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        display: none;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        font-family: auto;
    }
}

/* 登入狀態才顯示 */
.top-list .top-btn.is-logged-in::after {
  display: flex;
}
.logo-container {
  position: relative;
  display: flex;
  justify-content: center;
}
@media (max-width: 992px) {
  .logo-container {
    position: initial;
  }
}

.logo {
  display: block;
  width: 164px;
  height: 164px;
  z-index: 1;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 1200px) {
  .logo {
    width: 148px;
    height: 148px;
    top: -60px;
  }
}
@media (max-width: 992px) {
  .logo {
    width: 120px;
    height: 120px;
    top: 0;
    left: 1rem;
    transform: initial;
  }
}
.logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 0;
}

.banner {
  position: relative;
  max-height: 886px;
  margin-top: 170px;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .banner {
    margin-top: 145px;
  }
}
@media (max-width: 992px) {
  .banner {
    margin-top: 96px;
    height: 320px;
  }
}
.banner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.page-banner {
  position: relative;
  width: 100%;
  height: 240px;
  margin-top: 170px;
}
@media (max-width: 1200px) {
  .page-banner {
    margin-top: 145px;
  }
}
@media (max-width: 992px) {
  .page-banner {
    margin-top: 96px;
    height: 160px;
  }
}
.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100%;
  display: block;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}
.page-banner .page-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.25rem;
  font-weight: 700;
  z-index: 1;
}
@media (max-width: 992px) {
  .page-banner .page-title {
    font-size: 1.5rem;
  }
}
.page-banner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #00373a;
  background-position: center;
  color: #fff;
  padding-top: 64px;
  padding-bottom: 16px;
}
@media (max-width: 992px) {
  .footer {
    padding-bottom: 64px;
  }
}
.footer ul {
  list-style: none;
  margin-bottom: 0;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .footer ul {
    width: 100%;
  }
}
.footer a {
  color: #fff;
  transition: all 0.3s;
}
.footer a:hover {
  color: #e35d15;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
  }
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-left {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}
.footer-logo {
  width: 216px;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.footer-right {
  padding-left: 0;
  margin-bottom: 0;
}
.footer-nav-link {
  margin-right: 32px;
  word-break: keep-all;
}
.footer-nav-link:last-child {
  margin-right: 0;
}
@media (max-width: 992px) {
  .footer-nav-link {
    margin-right: 8px;
  }
}

.social-media-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  gap: 8px;
}

.media-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  border: solid 1px white;
  border-radius: 20px;
  padding: 4px 8px;
}

.copyright {
  text-align: center;
}
@media (max-width: 992px) {
  .copyright {
    text-align: center;
  }
  .copyright > span {
    color: #a6a6a6;
    font-size: 14px;
  }
}

.nav {
  width: 100%;
  background: #0d4a4d;
  color: white;
}
@media (max-width: 992px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
.nav ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
}
@media (max-width: 1200px) {
  .nav ul {
    padding: 20px 0;
  }
}
@media (max-width: 992px) {
  .nav ul {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 992px) {
  .nav .container {
    margin: 0 auto;
  }
}
@media (max-width: 992px) {
  .nav .layout-only {
    display: none;
  }
}
.nav .nav-link {
  display: block;
  padding: 8px 24px;
  color: white;
  font-weight: 700;
  font-size: 1.375rem;
  outline: none;
  text-align: center;
}
.nav .nav-link:hover {
  background: #ac9a5a;
  color: #00373a;
}
.nav .nav-link.transparent {
  color: transparent;
  pointer-events: none;
}
.nav .nav-link.transparent:hover {
  background: transparent;
}
.nav .nav-link.active {
  background: #af7314;
}
@media (max-width: 1200px) {
  .nav .nav-link {
    font-size: 1.25rem;
    padding: 8px 12px;
  }
}

.nav-toggle {
  display: none;
  background: url(../images/nav-toggle.png) no-repeat center/contain;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
}

.side-menu {
  position: fixed;
  right: 1.125rem;
  bottom: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}
@media (max-width: 992px) {
  .side-menu {
    right: 0;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    gap: 0;
  }
}

.menu-item {
  width: 48px;
  height: 48px;
  background-color: #0d4a4d;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  transition: background-color 0.3s;
  cursor: pointer;
}
.menu-item.line {
  background-color: #06c755;
}
.menu-item.line:hover {
  background-color: #00373a;
}
.menu-item.cart {
  background-color: #ffc800;
}
.menu-item:hover {
  background-color: #adcdce;
}
@media (max-width: 992px) {
  .menu-item {
    width: 33.33%;
  }
}

.member-sidebar {
  display: block;
  width: 25%;
}
@media (max-width: 992px) {
  .member-sidebar {
    width: 100%;
  }
}
.member-sidebar .sidebar-title {
  text-align: center;
  padding: 12px 16px;
  background: #00373a;
  color: white;
}
.member-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.member-sidebar li {
  background: white;
  border-bottom: solid 1px #c2c2c2;
}
.member-sidebar li:last-child {
  border-bottom: none;
}
.member-sidebar a {
  display: block;
  padding: 12px 16px;
  color: #000;
  text-align: center;
}
.member-sidebar a:hover {
  background: rgba(0, 55, 58, 0.1);
}
.member-sidebar a.active {
  background: rgba(0, 55, 58, 0.2);
  color: #00373a;
}

.block-margin {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.index-main {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}
.index-main.content {
  padding-top: 0;
}
@media (max-width: 768px) {
  .index-main.content {
    width: 100%;
  }
}
.index-main .container {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}
@media (max-width: 768px) {
  .index-main .container {
    width: calc(100% - 3rem);
  }
}

.news-block {
  position: relative;
  background: url("../images/noise.png") repeat #002e30 center/40px 40px;
  color: white;
  padding: 5.375rem 0;
}
.news-block::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  width: 30rem;
  height: 30rem;
  background: url("../images/news-bg01.png") no-repeat top left/contain;
  pointer-events: none;
}
@media (max-width: 992px) {
  .news-block::before {
    width: 20rem;
    height: 20rem;
    top: 1.5rem;
    transform: initial;
  }
}
.news-block::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 20rem;
  height: 20rem;
  background: url("../images/news-bg02.png") no-repeat top left/contain;
  pointer-events: none;
}
.news-block .container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}
.news-block .line-bg {
  position: absolute;
  width: 92%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  display: block;
}
.news-block .line-bg.top {
  top: 1.75rem;
  right: 0;
  width: 70%;
}
.news-block .line-bg.bottom {
  left: 0;
  bottom: 1.75rem;
}
@media (max-width: 992px) {
  .news-block .news-card {
    width: 100%;
  }
}

.block-article {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.block-article .more-btn {
  display: inline-block;
  margin: 0 auto;
  min-width: 155px;
  padding: 8px 16px;
  background: #adcdce;
  color: #000;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s;
}
.block-article .more-btn:hover {
  background: #00373a;
  color: white;
}

.about-block {
  position: relative;
  display: flex;
  border-top: 0.625rem solid #af7314;
  border-bottom: 0.625rem solid #af7314;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .about-block {
    max-height: 640px;
  }
}
@media (max-width: 992px) {
  .about-block {
    height: 570px;
  }
}
@media (max-width: 768px) {
  .about-block {
    flex-direction: column;
    max-height: initial;
    height: auto;
  }
}
.about-block::before {
  content: "";
  display: block;
  width: 100%;
  height: 350px;
  position: absolute;
  left: 0;
  top: -350px;
  background: #00373a;
  z-index: -1;
}
.about-block::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 398px;
  height: 331px;
  background: url("../images/about-bg.webp") no-repeat;
  background-size: contain;
  z-index: 0;
}
@media (max-width: 1400px) {
  .about-block::after {
    width: 235px;
    height: 196px;
  }
}
@media (max-width: 1200px) {
  .about-block::after {
    width: 144px;
    height: 120px;
  }
}
@media (max-width: 992px) {
  .about-block::after {
    width: 210px;
    height: 175px;
  }
}
.about-block .img-box {
  width: 100%;
  max-width: 596px;
}
@media (max-width: 992px) {
  .about-block .img-box {
    display: none;
    max-width: none;
  }
}
@media (max-width: 768px) {
  .about-block .img-box {
    display: block;
    height: auto;
  }
}
.about-block .img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center right;
     object-position: center right;
}
@media (max-width: 992px) {
  .about-block .img-box img {
    -o-object-position: top center;
       object-position: top center;
  }
}
.about-block .media-xl {
  display: block;
}
@media (max-width: 992px) {
  .about-block .media-xl {
    display: none;
  }
}
.about-block .media-xs {
  display: none;
}
@media (max-width: 992px) {
  .about-block .media-xs {
    display: block;
  }
}
.about-block .info-block {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 396px;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  background: url("../images/about-block-bg.webp") white no-repeat;
  background-size: cover;
  background-position: center;
}
@media (max-width: 1400px) {
  .about-block .info-block {
    font-size: 1.125rem;
    padding: 2rem;
  }
}
@media (max-width: 1200px) {
  .about-block .info-block {
    font-size: 1rem;
    padding: 1rem 2rem;
    max-width: 506px;
  }
}
@media (max-width: 992px) {
  .about-block .info-block {
    max-width: initial;
    padding: 1rem 1.2rem;
    justify-content: center;
  }
}
.about-block .info-block .text {
  position: relative;
  display: block;
  z-index: 1;
}
.about-block .info-block hr {
  background: #4e3c33;
  opacity: 0.8;
  margin: 0;
}
@media (max-width: 992px) {
  .about-block .info-block hr {
    display: none;
  }
}
.about-block .info-block .bottom-hr {
  width: 60%;
}
.about-block .btn-action {
  font-size: 1.125rem;
}

.content {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
@media (max-width: 992px) {
  .content {
    padding: 48px 0;
  }
}
@media (max-width: 768px) {
  .content {
    width: calc(100% - 3rem);
    justify-content: center;
    margin: 0 auto;
  }
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 170px;
}
@media (max-width: 1200px) {
  .page-content {
    margin-top: 145px;
  }
}
@media (max-width: 992px) {
  .page-content {
    padding-bottom: 5rem;
  }
}
.page-content.content {
  margin-top: 0;
}
.page-content.no-banner {
  margin-top: 170px;
}
@media (max-width: 1200px) {
  .page-content.no-banner {
    margin-top: 145px;
  }
}

.article-block img {
  max-width: 100%;
  height: auto;
}

.news-content {
  display: none;
}
.news-content.active {
  display: block;
}

.news-list {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.news-card {
  width: calc(50% - 0.75rem);
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  background: white;
  padding: 1rem;
  box-shadow: 0 8px 0 0 #891923;
}
.news-card .news-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00373a;
  display: -webkit-box; /* 必須結合 box 模型 */
  -webkit-box-orient: vertical; /* 設定垂直排列 */
  -webkit-line-clamp: 2; /* 顯示的行數 */
  overflow: hidden;
}
.news-card .img-box {
  width: 48%;
  flex-shrink: 0;
}
.news-card .img-box img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.news-card .info {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.news-card .info::after {
  content: "NEWS";
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201, 201, 201, 0.1);
  pointer-events: none;
}
.news-card .news-date {
  display: inline-block;
  font-weight: 700;
  color: #891923;
  border: solid 1.2px #891923;
  padding: 0.25rem 0.5rem;
  text-align: center;
}
.news-card .more-btn {
  display: block;
  margin-left: auto;
  color: #891923;
  padding: 0.25rem;
}
.news-card .more-btn:hover {
  background: #891923;
  color: white;
}
@media (max-width: 992px) {
  .news-list {
    flex-direction: column;
  }
  .news-list > .news-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .tab-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    width: auto;          /* 取消 width: 100%，讓按鈕自適應內容寬度 */
    flex: 1 1 auto;       /* 彈性伸縮，同排按鈕盡量等寬 */
    min-width: 70px;
  }
}

/* ── 消息列表分頁 ───────────────────────────────────────── */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin-top: 2.5rem;
}

.news-pagination .page-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border: solid 1px #00373a;
  border-radius: 0;
  color: #00373a;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.news-pagination .page-btn:hover:not(:disabled):not(.active) {
  background: #c2c2c2;
  border-color: #c2c2c2;
  color: #717171;
}

.news-pagination .page-btn.active {
  background: #00373a;
  border-color: #00373a;
  color: #fff;
  pointer-events: none;
}

.news-pagination .page-btn.disabled,
.news-pagination .page-btn:disabled {
  border-color: #c2c2c2;
  color: #c2c2c2;
  cursor: not-allowed;
}

/* 上一頁 / 下一頁：加寬，與 more-btn 的紅色底影相呼應 */
.news-pagination .page-btn:first-child,
.news-pagination .page-btn:last-child {
  font-size: 1.375rem;
  box-shadow: 0 4px 0 0 #891923;
}

.news-pagination .page-btn:first-child.disabled,
.news-pagination .page-btn:last-child.disabled,
.news-pagination .page-btn:first-child:disabled,
.news-pagination .page-btn:last-child:disabled {
  box-shadow: 0 4px 0 0 #c2c2c2;
}

@media (max-width: 576px) {
  .news-pagination .page-btn {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  .news-pagination .page-btn:first-child,
  .news-pagination .page-btn:last-child {
    font-size: 1.125rem;
  }
}
/* ─────────────────────────────────────────────────────── */

.article-title {
  font-size: 2.25rem;
  font-weight: 700;
}

.order-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.order-link {
  font-weight: 700;
  color: #e35d15;
  text-decoration: underline;
}

.cart-content .btn-delete {
  display: inline-block;
  vertical-align: middle;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.cart-content .btn-delete .img-box {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
}
.cart-content .btn-delete img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.cart-content .table .table-head th {
  background: rgba(0, 55, 58, 0.1);
  color: #00373a;
}
.cart-content .table th {
  background: #f2f2f2;
  color: black;
}
.cart-content .block-title {
  font-weight: 700;
  padding: 8px;
  background: rgba(0, 55, 58, 0.1);
  color: #00373a;
}

.ordering-notice {
  color: #b62626;
  background: rgba(182, 38, 38, 0.1);
}
.ordering-notice .title {
  background: rgba(182, 38, 38, 0.3);
  font-weight: 600;
  padding: 0.5rem 1rem;
}
.ordering-notice .content {
  padding: 0.5rem 1rem;
}
.ordering-notice .content p {
  margin-bottom: 0px;
}
.cart-count-block {
  text-align: end;
}

.checkout-block .price-detail {
  margin-left: auto;
  max-width: 50%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 992px) {
  .checkout-block .price-detail {
    width: 100%;
    max-width: initial;
  }
}
.checkout-block .price-detail hr {
  margin: 0;
}
.checkout-block .price-detail .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-block .final-total {
  color: #b62626;
  font-weight: 700;
  font-size: 1.5rem;
}

.flex-block {
  width: 100%;
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .flex-block {
    flex-direction: column;
  }
}

.flex-column-block {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 992px) {
  .flex-column-block {
    width: 100%;
  }
}

.notice-text {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: rgba(137, 25, 35, 0.85);
  font-size: 1rem;
  color: white;
}

.line-logo-btn {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 0.5rem;
}
.line-logo-btn img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.coupon-block {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  flex: 1;
}
.coupon-block .btn-primary {
  padding: 8px;
  max-width: 74px;
  font-size: 1.125rem;
}

.cart-notice-block {
  padding: 1rem;
  background: rgba(227, 233, 233, 0.2);
  line-height: 1.5;
}

.cart-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.cart-content .product-title {
  font-size: 1.125rem;
}
.cart-content .sale-price {
  font-size: 1.125rem;
}
.cart-content .cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-content .cart-items .item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-content {
  /* 容器基本設定 */
}
.cart-content .product-list ul {
  list-style: none;
  padding: 0;
}
.cart-content {
  /* 每一列產品的佈局 */
}
.cart-content .product-list li {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}
.cart-content {
  /* 圖片樣式 */
}
.cart-content .product-img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.cart-content .product-img img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.cart-content {
  /* 右側資訊區塊 */
}
.cart-content .product-info-wrapper {
  flex-grow: 1;
}
.cart-content .product-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.cart-content .sort {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}
.cart-content {
  /* 數量與價格那一橫列 */
}
.cart-content .price-and-control {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 讓價格靠左，垃圾桶靠右 */
}
.cart-content .qty-select {
  padding: 2px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.cart-content .delete-btn {
  background: none;
  border: none;
  color: #717171;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
}
.cart-content .delete-btn:hover {
  background-color: #891923;
  color: white;
}
.cart-content {
  /* 底部結帳區塊 */
}
.cart-content .cart-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  border-top: 1px solid #eee;
}
.cart-content .subtotal {
  flex: 1;
  text-align: center;
  padding: 15px;
  background: #fff;
}
.cart-content .btn-checkout {
  flex: 1;
  background: #00373a;
  color: white;
  font-weight: 700;
  text-align: center;
  border: none;
  padding: 15px;
  cursor: pointer;
}

.original-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: #717171;
}

.sale-price {
  font-weight: 700;
  color: #af7317;
}

#input-helpers .text-button {
  outline: none;
  background: transparent;
  box-shadow: none;
  border: solid 2px #00373a;
  font-size: 1rem;
  font-weight: 600;
  color: #00373a;
  transition: all 0.3s;
}
#input-helpers .text-button:hover {
  background: rgba(0, 55, 58, 0.5);
  color: white;
}
#input-helpers .text-button.disabled {
  cursor: no-drop;
}

.sign-up-page .row {
  justify-content: space-between;
}

.member-page {
  padding: 32px 0;
  border: solid 2px #00373a;
  border-radius: 30px;
  background: #fff;
  font-size: 18px;
}
.member-page hr {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  background: #c2c2c2;
  width: 95%;
  margin: 0 auto;
}
.member-page.preview .company-block {
  margin: 0 auto 16px;
}
.member-page.preview .company-block:last-child {
  margin-bottom: 0;
}
.member-page.preview .family-block {
  margin: 0 auto 16px;
}
.member-page.preview .family-block:last-child {
  margin-bottom: 0;
}
.member-page.edit .company-block {
  width: 95%;
}
.member-page.edit .family-block {
  width: 95%;
}
.member-page .edit-btn {
  width: 238px;
}

.connect-title {
  font-size: 18px;
  text-align: center;
  margin-bottom: 24px;
}

.connect-list {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00373a;
  font-size: 18px;
}
@media (max-width: 992px) {
  .connect-list {
    font-size: 16px;
  }
}
.connect-list .item {
  margin: 0 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.connect-list img {
  max-width: 54px;
  max-height: 54px;
  margin: 0 auto 16px;
}

.query-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: solid 1px #a6a6a6;
}
@media (max-width: 992px) {
  .query-range {
    margin-top: 32px;
  }
}
.query-range select {
  width: calc(50% - 16px);
}

.product-management .img-box {
  width: 80px;
  height: 80px;
  margin-right: 40px;
}
.product-management .img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.web-classification {
  padding: 4px 8px;
  margin: 16px 16px 0;
  background: #f8f8f8;
  color: #00373a;
  font-weight: 500;
}

.contact-title {
  color: #00373a;
  font-size: 1.5rem;
  font-weight: 700;
}

.location-info {
  background: #f8f8f8;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  border: solid 1px rgba(0, 55, 58, 0.5);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  gap: 1rem;
}
@media (max-width: 992px) {
  .location-info {
    flex-direction: column;
    align-items: flex-start;
  }
}
.location-info iframe {
  border: solid 1px #e6e6e6 !important;
  width: 540px;
  height: 414px;
}
@media (max-width: 992px) {
  .location-info iframe {
    width: 100%;
    height: 360px;
    max-height: 30vh;
  }
}
.location-info .location-title {
  color: #00373a;
  font-size: 1.5rem;
  font-weight: 700;
}
.location-info .info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
}
.location-info .media-btn {
  border-color: #00373a;
}
.location-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.location-info li {
  margin-bottom: 4px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.accordion .accordion-header .accordion-button {
  background: rgba(0, 55, 58, 0.2);
  font-size: 1.125rem;
  font-weight: 600;
  color: black;
}
.accordion .accordion-header .accordion-button:after {
  width: 48px;
  height: 48px;
  background-image: url("../images/angle-down.png");
  background-color: #00373a;
  background-position: center;
  color: white;
  border-radius: 50%;
}
.accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #717171;
}
.accordion .accordion-body {
  line-height: 1.5;
}

.tab-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-content,
.faq-content {
  display: none;
}
.product-content.active,
.faq-content.active {
  display: flex;
}

.product-block .filter-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.product-block .product-content {
  flex-direction: column;
  gap: 2rem;
}

.product-content-title {
  font-size: 2.25rem;
  font-weight: 700;
}

.product-detail {
  display: flex;
  gap: 1rem;
}
@media (max-width: 992px) {
  .product-detail {
    flex-direction: column;
  }
}
.product-detail .photos-block {
  background: #fff;
  padding: 10px;
  width: 40%;
  box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.1);
}
.product-detail .info-block {
  width: calc(60% - 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .product-detail .photos-block,
  .product-detail .info-block {
    width: 100%;
  }
}
.product-detail .product-title {
  color: #00373a;
  font-size: 1.5rem;
  font-weight: 700;
}
.product-detail .sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.product-detail .price-block {
  display: flex;
  justify-content: space-between;
}
.product-detail .price-block .title {
  font-weight: 700;
  flex: 0 0 110px;
}
.product-detail .price-block .prices {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-detail .price-block .original-price {
  font-size: 1rem;
  word-break: keep-all;
}
.product-detail .price-block .sale-price {
  font-weight: 700;
  font-size: 1.5rem;
  color: #b62626;
  word-break: keep-all;
}
.product-detail .info {
  display: flex;
}
.product-detail .info .title {
  font-weight: 700;
  flex: 0 0 110px;
}
.product-detail .product-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}
.product-detail .quantity-selector {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.product-detail .quantity-btn {
  width: 48px;
  height: 48px;
  background: white;
  border: solid 1px rgba(0, 55, 58, 0.5);
}
.product-detail .quantity-input {
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #00373a;
  border: solid 1px rgba(0, 55, 58, 0.5);
}
.product-detail .action-buttons {
  height: 48px;
  display: flex;
  gap: 2rem;
}

.product-description .title {
  color: #00373a;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.product-description .info {
  background: white;
  padding: 1.5rem;
  border: solid 1px rgba(0, 55, 58, 0.5);
}
.product-description .info ul {
  margin-bottom: 0;
}

.recommendation {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.recommendation .title {
  color: #00373a;
  font-weight: 900;
  font-size: 1.5rem;
}

.gray-bg {
  padding: 32px 0;
  background: #f8f8f8;
  box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
  .gray-bg {
    padding: 32px 16px;
  }
}
@media (max-width: 576px) {
  .gray-bg {
    padding: 32px 12px;
  }
}
.gray-bg .inner {
  width: calc(100% - 200px);
  margin: 0 auto;
}
@media (max-width: 992px) {
  .gray-bg .inner {
    width: 100%;
  }
}

.provider-content {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.provider-content .title {
  font-weight: 700;
  color: #00373a;
}
.provider-content .notice-text {
  font-size: 1rem;
  color: #af7317;
  background: transparent;
}

.provider-btn {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: none;
  box-shadow: none;
  background: transparent;
}
.provider-btn img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.provider-btn .status {
  margin-top: 12px;
  font-size: 16px;
  color: #a6a6a6;
}
.provider-btn .status.active {
  color: #000;
}

.swiper {
  width: 100%;
}

@media (max-width: 992px) {
  .banner-swiper .swiper-slide {
    height: 320px;
  }
}
.banner-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media (max-width: 992px) {
  .banner-swiper .swiper-slide img {
    -o-object-position: 15% 0;
       object-position: 15% 0;
  }
}
.banner-swiper .swiper-button-prev {
  top: auto;
  bottom: 10px;
  /*left: auto;
  right: 68px;*/
  right: auto;
  left: 16px;
  color: #fff;
  display: inline-block;
  width: 44px;
  height: 44px;
  border: solid 2px white;
  border-radius: 80px;
  transition: all 0.3s;
}
.banner-swiper .swiper-button-prev:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}
.banner-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}
.banner-swiper .swiper-button-next {
  top: auto;
  bottom: 10px;
  /*left: auto;
  right: 16px;*/
  right: auto;
  left: 68px;
  color: #fff;
  display: inline-block;
  width: 44px;
  height: 44px;
  border: solid 2px white;
  border-radius: 80px;
  transition: all 0.3s;
}
.banner-swiper .swiper-button-next:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}
.banner-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
}
.banner-swiper .swiper-pagination {
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .banner-swiper .swiper-pagination {
    justify-content: flex-start;
    left: 5%;
  }
}
.banner-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
}
.banner-swiper .swiper-pagination-bullet-active {
  background: #00373a;
}

.product-detail .swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-detail .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.product-detail .swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}
.product-detail .swiper-slide {
  background-size: cover;
  background-position: center;
}
.product-detail .productsSwiper2 {
  width: 100%;
  height: auto;
}
.product-detail .productsSwiper-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
}
.product-detail .productsSwiper-prev,
.product-detail .productsSwiper-next {
  flex-shrink: 0;
  /*width: 28px;*/
  /*height: 28px;*/
  background: #fff;
  /*border: 1px solid #00373a;*/
  /*border-radius: 50%;*/
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 10px 0px;

  width: 20px;
  height: stretch;
  background: #fff;
  border: 1px solid #000;
  border-radius: 0px;
}
@media screen and (max-width: 767px)
{
    .product-detail .productsSwiper-prev,
    .product-detail .productsSwiper-next {
        display: none;
    }
}
.product-detail .productsSwiper-prev:hover,
.product-detail .productsSwiper-next:hover {
  background: #00373a;
}
.product-detail .productsSwiper-prev::after,
.product-detail .productsSwiper-next::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid #00373a;
  border-right: 2px solid #00373a;
  transition: border-color 0.2s;
}
.product-detail .productsSwiper-prev:hover::after,
.product-detail .productsSwiper-next:hover::after {
  border-color: #fff;
}
.product-detail .productsSwiper-prev::after {
  transform: rotate(-135deg) translate(-1px, 1px);
}
.product-detail .productsSwiper-next::after {
  transform: rotate(45deg) translate(-1px, 1px);
}
.product-detail .productsSwiper-prev.swiper-button-disabled,
.product-detail .productsSwiper-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.product-detail .productsSwiper {
  flex: 1;
  min-width: 0;
  height: auto;
  box-sizing: border-box;
}
.product-detail .productsSwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  margin-right: 10px;
}
.product-detail .productsSwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.recommendation {
  position: relative;
}
.recommendation .swiper-button-prev {
  color: #00373a;
}
.recommendation .swiper-button-next {
  color: #00373a;
}
.recommendation .swiper-pagination {
  display: flex;
  justify-content: center;
  position: relative;
}
@media (max-width: 768px) {
  .recommendation .swiper-pagination {
    justify-content: flex-start;
  }
}
.recommendation .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
}
.recommendation .swiper-pagination-bullet-active {
  background: #00373a;
}
.recommendation .product-item {
  width: 100%;
}

.swal2-title {
  font-weight: 800;
}
.captcha-wrap { display: flex; flex-direction: row; gap: 8px; }
.captcha-boxes { display: flex; gap: 10px; width: calc(100% - 212px); float:left; }
.captcha-box {
    width: 44px; height: 45px;
    text-align: center;
    font-size: 22px; font-weight: 600;
    border: 2px solid #ccc;
    outline: none; text-transform: uppercase;
    transition: border-color .2s;
    caret-color: transparent;
}
.captcha-box:focus { border-color: #4a90d9; box-shadow: 0 0 0 3px rgba(74,144,217,.2); }
.code-block { width: 200px; float:left; }
@media screen and (max-width: 575px)
{
    .captcha-boxes { width: 100%; }
    .captcha-wrap { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════
 * 購物車頁面補充樣式
 * ═══════════════════════════════════════════════════════════════ */

/* ── 數量控制器 ──────────────────────────────────────────────── */
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  background: #f5f5f5;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  transition: background 0.15s;
  flex-shrink: 0;
}
.qty-btn:hover {
  background: #e0e0e0;
}
.qty-btn:active {
  background: #d0d0d0;
}

.qty-input {
  width: 52px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-radius: 0;
  font-size: 0.95rem;
  -moz-appearance: textfield;
  outline: none;
  padding: 0;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input:focus {
  background: #fffbe6;
}

/* ── 購物車表格欄寬調整 ──────────────────────────────────────── */
@media screen and (min-width: 993px)
{
    /* 品名 */
  .cart-content .table th:nth-child(1),
  .cart-content .table td:nth-child(1) { width: 45%; }        
  /* 規格 */
  .cart-content .table th:nth-child(2),
  .cart-content .table td:nth-child(2) { width: 18%; text-align: center; }  
  /* 數量 */
  .cart-content .table th:nth-child(3),
  .cart-content .table td:nth-child(3) { width: 16%; text-align: center; }  
  /* 單價 */
  .cart-content .table th:nth-child(4),
  .cart-content .table td:nth-child(4) { width: 12%; text-align: center; }  
  /* 總價 */
  .cart-content .table th:nth-child(5),
  .cart-content .table td:nth-child(5) { width: 9%; text-align: center; }  
  /* 操作 */
  .cart-content .table th:nth-child(6),
  .cart-content .table td:nth-child(6) { width: 9%;  text-align: center; }  
}


/* 數量欄置中 */
.cart-content .table .col-qty,
.cart-content .table td[data-title="數量"] {
  text-align: center;
}
.cart-content .table td[data-title="數量"] .qty-control {
  margin: 0 auto;
}

/* ── 單價：劃線原價 & 特價色 ─────────────────────────────────── */
.cart-content .table .original-price {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
  line-height: 1.3;
}
.cart-content .table .sale-price {
  font-size: 0.95rem;
  color: #b06b00;
  font-weight: 600;
  line-height: 1.3;
}

/* ── 刪除按鈕（垃圾桶）置中 & hover 紅色 ────────────────────── */
.cart-content table .btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
}
.cart-content table .btn-delete:hover {
  background: rgba(182, 38, 38, 0.1);
}
.cart-content table .btn-delete .img-box {
  width: 1.25rem;
  height: 1.25rem;
}
.cart-content table .btn-delete img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 將圖片濾鏡轉為紅色，不需額外圖片 */
  filter: invert(18%) sepia(90%) saturate(1400%) hue-rotate(340deg) brightness(90%);
}

/* ── 總價欄 font-weight ──────────────────────────────────────── */
.cart-content .item-subtotal {
  font-weight: 600;
  white-space: nowrap;
}

/* ── 結帳金額區塊 ─────────────────────────────────────────────── */
.page-total-price,
.page-subtotal {
  font-weight: 700;
  color: #b06b00;
}
.page-total-price {
  font-size: 1.25rem;
}

/* ── 空購物車 ────────────────────────────────────────────────── */
.empty-cart-block {
  padding: 3rem 0;
  text-align: center;
}
.empty-cart-block .empty-msg {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* ── RWD：手機版數量控制器不換行 ────────────────────────────── */
@media (max-width: 992px) {
  .qty-control {
    display: inline-flex;
  }
  .cart-content .table td[data-title="數量"] {
    text-align: right;
  }
  .cart-content .table td[data-title="數量"] .qty-control {
    margin: 0 0 0 auto;
  }
}

/* ── 溫層標籤樣式 ──────────────────────────────────────────── */ 
.fare-badge {
    display: inline-block;
    font-size: .7em;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}
.fare-normal  { background: #e8f5e9; color: #2e7d32; }
.fare-cold    { background: #e3f2fd; color: #1565c0; }
.fare-freeze  { background: #ede7f6; color: #4527a0; }

.provider-fee-preview {
    font-size: .85em;
    color: #666;
    margin-top: 4px;
}
.breakdown-preview {
    line-height: 1.6;
}
.active .breakdown-preview {
    color: #e4e9e9 !important;
}

.active .provider-fee-preview,
.active .provider-fee-preview > span,
.active .provider-fee-preview > p {
    color: #ffc802 !important;
}
.shipping-breakdown-detail .item {
    display: flex;
    justify-content: space-between;
    font-size: .85em;
    color: #888;
    padding: 2px 0;
}
/* ===== Banner：依圖片比例完整顯示，不裁切 ===== */

/* 移除固定高度，改以圖片比例決定 */
.banner {
  position: relative;
  max-height: none;        /* 取消最大高度限制 */
  overflow: hidden;
}

@media (max-width: 992px) {
  .banner {
    height: auto;          /* 覆蓋原本的 height: 320px */
  }
}

/* 圖片：寬度撐滿，高度自動，不裁切 */
.banner img {
  width: 100%;
  height: auto;
  object-fit: unset;       /* 取消 cover，讓圖片保持原始比例 */
  object-position: unset;
  display: block;
}

/* swiper slide 也要配合圖片高度 */
.banner-swiper .swiper-slide {
  height: auto;
}

@media (max-width: 992px) {
  .banner-swiper .swiper-slide {
    height: auto;          /* 覆蓋原本的 height: 320px */
  }
  .banner-swiper .swiper-slide img {
    object-position: unset;
  }
}


/* ── 庫存狀態標籤 ── */
.stock-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.stock-status.in-stock {
  color: #2a7a3b;
  background: #e6f4ea;
}
.stock-status.out-of-stock {
  color: #b62626;
  background: #fce8e8;
}


/* ── 最新消息：手機版 Swiper 覆蓋 ─────────────────────────── */

/* 桌機版：導航按鈕 & pagination 隱藏 */
.news-swiper-wrap .news-swiper-button-prev,
.news-swiper-wrap .news-swiper-button-next,
.news-swiper-wrap .news-swiper-pagination {
    display: none;
}

@media (max-width: 767px) {
    .news-swiper-wrap {
        position: relative;
        padding-bottom: 2.5rem;
    }

    /* 關鍵：讓 Swiper 接管 ul 的排版 */
    .news-swiper {
        overflow: hidden;
        width: 100%;
    }
    .news-swiper .news-list.swiper-wrapper {
        display: flex;
        flex-wrap: nowrap !important;   /* 覆蓋原本的 wrap */
        gap: 0 !important;              /* 移除 gap，由 spaceBetween 控制 */
        flex-direction: row !important;
        align-items: stretch;
        margin-bottom: 0;
        padding-left: 0;
    }
    .news-swiper .news-card.swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    /* 顯示手機版控制項 */
    .news-swiper-wrap .news-swiper-button-prev,
    .news-swiper-wrap .news-swiper-button-next {
        display: flex;
        color: #891923;
    }
    .news-swiper-wrap .news-swiper-pagination {
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 0.5rem;
        left: 0;
        width: 100%;
    }

    /* pagination bullet 配合深色背景 */
    .news-swiper-wrap .swiper-pagination-bullet {
        background: rgba(255, 255, 255, 0.5);
        opacity: 1;
        width: 10px;
        height: 10px;
    }
    .news-swiper-wrap .swiper-pagination-bullet-active {
        background: #fff;
        opacity: 1;
    }
}
/* 桌機預設隱藏 nav btns */
.news-nav-btns {
    display: none;
}

@media (max-width: 767px) {
    .banner-swiper .swiper-button-prev,
    .banner-swiper .swiper-button-next {
        display: none;
    }
    .news-block {
        padding: 3.375rem 0;
    }
    /* 標題列：左邊標題、右邊箭頭 */
    .news-block-title {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
    }

    /* 顯示箭頭區塊 */
    .news-nav-btns {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        padding-bottom: 4px; /* 對齊 sub-title 底部 */
    }

    /* Banner 同款箭頭樣式：白色圓圈 */
    .news-nav-btns .news-swiper-button-prev,
    .news-nav-btns .news-swiper-button-next {
        position: static !important; /* 取消 Swiper 的 absolute 定位 */
        margin-top: 0 !important;
        width: 36px;
        height: 36px;
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .news-nav-btns .news-swiper-button-prev::after,
    .news-nav-btns .news-swiper-button-next::after {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
    }
    .news-nav-btns .news-swiper-button-prev.swiper-button-disabled,
    .news-nav-btns .news-swiper-button-next.swiper-button-disabled {
        opacity: 0.4;
    }
}

.image_resized > img {
    max-width: 100%;
    height: auto;
    aspect-ratio: unset !important;
}
@media screen and (max-width: 767px)
{
    .image_resized {
        width: 100% !important;
    }
}


