@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --orange: #ff7800;
  --black: #130f40;
  --light-color: #666;
  --box-shadow: 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --border: 0.2rem solid rgba(0, 0, 0, 0.1);
  --outline: 0.1rem solid rgba(176, 134, 134, 0.1);
  --outline-hover: 0.2rem solid var(--black);

  --bg-color: #f2f2f2;
  --text-color: #333;
  --thumb-border: #007bff;
  --lightbox-bg: rgba(0, 0, 0, 0.9);
  --arrow-bg: #ffffff88;
  --arrow-color: #333;
}

* {
  font-family: "Noto Sans TC", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  width: 100%;
  height: 100%;
  /* scroll-padding-top: 7rem; */
  background: #eee;
}

a {
    -webkit-tap-highlight-color: transparent;
}


/* slider ******************************************* */

.slide-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  touch-action: pan-y;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: white;
  text-align: center;
}

/* 圖片樣式：這段是關鍵 */
.slide img {
  max-width: 100%; /* 讓圖片寬度充滿投影片容器 */
  height: 640px; /* 讓圖片高度充滿投影片容器 */
  object-fit: cover; /* 保持圖片比例並填滿容器，可能會裁切部分圖片 */
  display: block; /* 移除圖片底部的空白間隙 */
}

/* 導覽點、箭頭和響應式設計的樣式保持不變 */
.nav-buttons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.nav-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-button.active {
  background-color: white;
}

.arrow-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5em;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

/* END slider*******************************************  */

section {
  padding: 2rem 6%;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: .8rem 2rem;
  font-size: 1.7rem;
  border-radius: 0.5rem;
  border: .2rem solid var(--black);
  color: var(--black);
  cursor: pointer;
  background: none;
}

.btn:hover {
  background: var(--orange);
}

@keyframes fadeTopay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.banner-container {
  padding: 5rem 0;
}
.heading {
  text-align: center;
  padding: 2rem 0;
  padding-bottom: 3rem;
  font-size: 3.5rem;
  color: var(--black);
}

.heading span {
  background: var(--orange);
  color: #fff;
  display: inline-block;
  padding: .5rem 10rem;
  clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

/* gallery-container */

.gallery-container {
  max-width: 600px;
  width: 100%;
  position: relative;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.thumbnail-wrapper {
  position: relative;
  display: flex;
}

.thumbnail-row {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.thumbnail-row::-webkit-scrollbar {
  display: none;
}

.thumbnail-row.dragging {
  cursor: grabbing;
  user-select: none;
}

.thumbnail {
  /* flex: 0 0 auto; */
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s, border 0.2s;
  border: 2px solid transparent;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.active-thumb {
  border: 2px solid var(--thumb-border);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--arrow-bg);
  color: var(--arrow-color);
  border: none;
  font-size: 24px;
  padding: 5px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}

.arrow:hover {
  background: var(--thumb-border);
  color: #fff;
}

.arrow.left {
  left: -10px;
}

.arrow.right {
  right: -10px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--lightbox-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1030;
  display: none;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  /* background: rgba(0,0,0,0.4); */
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.lightbox-arrow.left {
  left: 30px;
}

.lightbox-arrow.right {
  right: 30px;
}

/* 主圖淡入動畫 */
.main-image {
  transition: opacity 0.3s ease;
  opacity: 1;
}
.main-image.fade {
  opacity: 0;
}

/* Lightbox 淡入淡出動畫 */
.lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* 縮圖初始狀態 */
.thumbnail {
  opacity: 0;
  transform: translateY(10px);
  animation: thumbIn 0.4s ease forwards;
}
.thumbnail:nth-child(1) { animation-delay: 0.05s; }
.thumbnail:nth-child(2) { animation-delay: 0.1s; }
.thumbnail:nth-child(3) { animation-delay: 0.15s; }
.thumbnail:nth-child(4) { animation-delay: 0.2s; }
.thumbnail:nth-child(5) { animation-delay: 0.25s; }

@keyframes thumbIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox 圖片淡入動畫 */
#lightboxImg {
  opacity: 1;
  transition: opacity 0.3s ease;
}

#lightboxImg.fade {
  opacity: 0;
}
/* #lightboxImg {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#lightbox.active #lightboxImg {
  opacity: 1;
} */

/* END gallery-container */

/* banner-wrapper */

.banner-wrapper {
      background-color: #fff8f0;
      border-top: 2px solid #f5d0a9;
      border-bottom: 2px solid #f5d0a9;
      padding: 16px;
      text-align: center;
      /* position: relative; */
      overflow: hidden;

      /* ✅ 選擇你想要的動畫：fadeInSlideLeft / fadeInSlideRight / fadeInDelay */
      animation: fadeInSlideLeft 1s ease-out;
    }

    @keyframes fadeInSlideLeft {
      0% {
        opacity: 0;
        transform: translateX(-30px);
      }
      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* @keyframes fadeInSlideRight {
      0% {
        opacity: 0;
        transform: translateX(30px);
      }
      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes fadeInDelay {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    } */

    /* .marquee-container {
      overflow: hidden;
      margin-bottom: 2.5rem;
      cursor: pointer;
    }

    .marquee {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: scroll-left 20s linear infinite;
      font-size: 1.6rem;
      color: #6b4f3b;
    }

    .paused {
      animation-play-state: paused;
    }

    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
    } */


/* banner-wrapper */




/*  countdown-timer */

.countdown-timer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: #051d26;
  background: linear-gradient(187deg,rgba(5, 29, 38, 1) 0%, rgba(72, 112, 89, 1) 50%, rgba(7, 46, 16, 1) 100%);
  /* background-color: #022110; */
  padding: 20px 0 30px;
  margin-bottom: 2.5rem;
  border-radius: 5px;
 }

.time-box {
  font-size: 20px;
  padding: 10px;
  background-color: #487059;
  /* color: var(--light-color); */
  color: white;
  /* border-radius: 10px; */
  /* width: 80px; */
  /* text-align: center; */
}

.time-day {
  /* font-size: 20px;
  padding: 10px;
  background-color: #2a2468; */
  /* color: var(--light-color); */
  color: white;
  /* border-radius: 10px; */
  /* width: 80px; */
  /* text-align: center; */
}

.auction-start-message,
.auction-end-message {
  font-size: 20px;
  color: red;
  /* text-align: center; */
  /* font-weight: bold; */
  /* margin-top: 20px; */
}
/* END countdown-timer */

/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 9%;
  background: #fff;
  box-shadow: var(--box-shadow);
}

.header .logo {
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--black);
}

.header .logo span {
  color: var(--orange);
  font-size: 3rem;
  text-shadow: 3px 3px 5px black;
}

.header .navbar a {
  font-size: 1.7rem;
  margin: 0 1rem;
  color: var(--black);
}

.header .navbar a:hover {
  color: var(--orange);
}

.header .icons {
  display: flex;
}

.header .icons div {
  position: relative;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  border-radius: 0.5rem;
  background: #eee;
  color: var(--black);
  font-size: 2rem;
  margin-right: 0.3rem;
  text-align: center;
  cursor: pointer;
}

.header .icons div a {
  text-decoration: none;
  color: var(--black);
}

.header .icons span {
  position: absolute;
  top: -0.5rem;
  right: 0.5rem;
  height: 2.5rem;
  width: 2.5rem;
  line-height: 2.5rem;
  background: var(--orange);
  font-size: 1.5rem;
  color: #eee;
  border-radius: 50%;
  text-align: center;
}

.header .icons div:hover {
  background: var(--orange);
  color: #fff;
}

#menu-btn {
  display: none;
}

.header .search-form {
  position: absolute;
  top: 110%;
  right: -110%;
  width: 50rem;
  height: 5rem;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
}

.header .search-form.active {
  right: 2rem;
  transition: 0.4s ease;
}

.header .search-form input {
  height: 100%;
  width: 100%;
  background: none;
  text-transform: none;
  font-size: 1.6rem;
  color: var(--black);
  padding: 0 1.5rem;
}

.header .search-form .bi-search {
  font-size: 2.2rem;
  padding-right: 1.5rem;
  color: var(--black);
  cursor: pointer;
}

.header .search-form .bi-search:hover {
  color: var(--orange);
}

.header .shopping-cart {
  position: absolute;
  top: 110%;
  right: -110%;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  width: 35rem;
  background: #fff;
}

.header .shopping-cart.active {
  right: 2rem;
  transition: 0.4s ease;
}

.header .shopping-cart .box {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin: 1rem 0;
}

.header .shopping-cart .box img {
  height: 10rem;
}

.header .shopping-cart .box .bi-trash3 {
  font-size: 2rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  cursor: pointer;
  color: var(--light-color);
  transform: translateY(-50%);
}

.header .shopping-cart .box .bi-trash3:hover {
  color: var(--orange);
}

.header .shopping-cart .box .content h3 {
  color: var(--black);
  font-size: 1.7rem;
  padding-bottom: 1rem;
}

.header .shopping-cart .box .content span {
  color: var(--light-color);
  font-size: 1.6rem;
}

.header .shopping-cart .box .content .quantity {
  padding-left: 1rem;
}

.header .shopping-cart .total {
  font-size: 2.5rem;
  padding: 1rem 0;
  text-align: center;
  color: var(--black);
}

.header .shopping-cart .btn {
  display: block;
  text-align: center;
  margin: 1rem;
}

.header .login-form {
  position: absolute;
  top: 110%;
  right: -110%;
  width: 30rem;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  border-radius: .5rem;
  background: #fff;
  text-align: center;
}

.header .login-form.active {
  right: 2rem;
  transition: 0.4s ease;
}

.header .login-form h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--black);
}

.memberdata {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.memberdata h5 {
  font-size: 2rem;
  padding: 10px;
  /* text-transform: uppercase; */
  color: var(--black);
  border-bottom: 5px solid rgb(1, 30, 1);
}

.memberdata a {
  /* color: var(--orange); */
  text-decoration: none;
  text-align: left;
  padding: 10px;
  font-size: 2rem;
  color: var(--black);
}

.memberdata a:hover {
  background: var(--black);
  color: #e1eff4;
  letter-spacing: 2px;
}

.header .login-form .box {
  width: 100%;
  margin: .7rem 0;
  background: #eee;
  border-radius: .5rem;
  padding: 1rem;
  font-size: 1.6rem;
  /* color: var(--black); */
  text-transform: none;
}

.header .login-form button {
  width: 100%;
  margin: .7rem 0;
  border-radius: .5rem;
  padding: 1rem;
  font-size: 1.6rem;
  color: #e1eff4;
  background-color: var(--black);
  cursor: pointer;
}

.header .login-form button:hover {
  letter-spacing: 2px;
  background: var(--orange);
}

.header .login-form div {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
}

.header .login-form div a {
  color: var(--orange);
  text-decoration: none;
}

.header .login-form div a:hover {
  background: var(--black);
  color: #e1eff4;
}

/* END header */

/* banner */

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../imgs/banner.webp") no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 20rem;
  padding-bottom: 15rem;
}

.banner .banner-content {
  text-align: center;
  width: 60rem;
}

.banner .banner-content h3 {
  color: var(--black);
  font-size: 3rem;
}

.banner .banner-content h3 span {
  color: var(--orange);
}

.banner .banner-content p {
  color: var(--light-color);
  font-size: 1.7rem;
  padding: 1rem 0;
  line-height: 1.8;
}

/* END banner */

/* discount */

.discount .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.discount .box-container .box {
  padding: 3rem 8rem;
  background: #fff;
  /* outline: var(--outline); */
  /* outline-offset: -1rem; */
  /* text-align: center; */
  box-shadow: var(--box-shadow);
}

/* .discount .box-container .box:hover {
  outline: var(--outline-hover);
  outline-offset: 0rem;
} */

.discount .box-container .box img {
  width: 100%;
  max-width: 600px;
}

.discount .box-container .box h3 {
  font-size: 2.5rem;
  line-height: 1.8;
  color: var(--black);
}

.discount .box-container .box p {
  font-size: 2rem;
  line-height: 1.8;
  color: var(--light-color);
  padding: 1rem 0;
}

/* END discount */

/* list */

.list .box-container {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); */
  /* grid-template-columns: repeat(8, 1fr); */
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 2rem;
}

.list .box-container .box {
  /* padding: 3rem 2rem; */
  background: #fff;
  /* outline: var(--outline);
  outline-offset: -1rem; */
  text-align: center;
  box-shadow: var(--box-shadow);
}

.list .box-container .box img {
  width: 100%;
  /* padding: 2rem; */
  /* border-radius: 50%; */
}

.list .box-container .box img:hover {
  /* border-radius: 0; */
  border-radius: 50%;
  /* padding: 0; */
  cursor: pointer;
}

.list .box-container .box h3 {
  /* padding: 2rem;
  font-size: 2.5rem;
  line-height: 1.8;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */

  padding: 1.5rem 0;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--light-color);
    /* color: var(--black); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list .box-container .box p {
  padding-bottom: 1.5rem;
  font-size: 2rem;
  /* color: var(--black); */
  /* overflow: hidden; */
  color: red;
}

.list .box-container .box p .del {
  /* padding-bottom: 1.5rem; */
  font-size: 1.5rem;
  /* color: var(--black); */
  color: rgb(162, 158, 158);
  text-decoration: line-through;
}

/* END list */

/* list-overflow */

.list-overflow {
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 2rem; */
  overflow-x: auto;
  /* width: 100%; */
  scrollbar-width: auto;
  /* scrollbar-color: yellow rgb(28, 170, 28); */
  overscroll-behavior-inline: contain;
  /* overflow-x: scroll; */
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  /* background: #1c1919; */
  padding: 20px;
  text-align: center;
}

.list-overflow .box-container {
  display: flex;
  flex-wrap: nowrap;
  width: 1980px; /* Content wider than the container */
  /* background-color: #f0f0f0; */
  gap: 2rem;
  
}

.list-overflow .box-container .box {
  width: 200px;
  height: auto;
  box-shadow: var(--box-shadow);
  /* background-color: aqua; */
  /* margin: 6px; */
  scroll-snap-align: start;
}

.list-overflow .box-container .box img {
  width: 100%;
  /* padding: 2rem; */
  /* border-radius: 50%; */
}

.list-overflow .box-container .box img:hover {
  /* border-radius: 0; */
  border-radius: 50%;
  /* padding: 0; */
  cursor: pointer;
}

.list-overflow .box-container .box h3 {
  /* padding: 2rem;
  font-size: 2.5rem;
  line-height: 1.8;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */

  padding: 1.5rem 0;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--light-color);
    /* color: var(--black); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-overflow .box-container .box p {
  padding-bottom: 1.5rem;
  font-size: 2rem;
  /* color: var(--black); */
  /* overflow: hidden; */
  color: red;
}

.list-overflow .box-container .box p .del {
  /* padding-bottom: 1.5rem; */
  font-size: 1.5rem;
  /* color: var(--black); */
  color: rgb(162, 158, 158);
  text-decoration: line-through;
}

/* END list-overflow */

/* list-show */

/* .list-show {
  height: 100vh;
} */

.slider {
  margin: 50px 0 200px;
  width: 100%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right,
      transparent,
      #000 10% 90%,
      transparent);
}

.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
}

.slider .list .item img {
  width: 100%;
}

@keyframes autoRun {
  from {
    left: 100%;
  }

  to {
    left: calc(var(--width) * -1);
  }
}

.slider:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.slider .item:hover {
  filter: grayscale(0);
}

/* END list-show */

/* FOOTER */

.footer {
  /* background: #9cc4f5; */
  background: #fff;
  min-height: 90vh;
  position: relative;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  padding: 3rem 0 10rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--black);
  padding: 1rem 0;
}

.footer .box-container .box {
  padding: 3rem;
  /* box-shadow: var(--box-shadow); */
}

.footer .box-container form {
  padding: 1rem 6rem 0 0;
}

.box form input:not(.remember),
.box form button,
.box form textarea {
  width: 100%;
  margin: .7rem 0;
  padding: 1rem;
  border-radius: .5rem;
  background: #eee;
  font-size: 1.6rem;
  color: var(--black);
  outline: none;
  border: none;
  cursor: pointer;
}

.box form textarea {
  resize: vertical;
}

.box form button {
  color: #e1eff4;
  background-color: var(--black);
  /* cursor: pointer; */
  /* background: var(--orange); */
}

.box form button:hover {
  letter-spacing: 2px;
  background: var(--orange);
}

.box form input:focus,
.box form textarea:focus {
  outline: var(--outline);
}

.box form input::placeholder,
.box form textarea::placeholder {
  outline: var(--light-color);
  /* color:#e0dede; */
}

.footer .box-container .box p {
  font-size: 1.6rem;
  color: var(--light-color);
  padding: 1rem 0;
}

.footer .box-container .box .detail-list:hover {
  cursor: pointer;
}

.footer .box-container .box .icons {
  margin-top: 1.6rem;
  display: flex;
}

.footer .box-container .box .icons a {
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  border-radius: .5rem;
  font-size: 2rem;
  color: var(--black);
  margin-right: 0.6rem;
  background: #eee;
  text-align: center;
}

.footer .box-container .box .icons a:hover {
  background: var(--orange);
  color: #fff;
}

.footer .box-container .box .detail-list img {
  margin-top: 2rem;
  max-width: 100px;
}

.footer .credit {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  padding-top: 2.5rem;
  font-size: 1.6rem;
  color: var(--black);
  border-top: var(--border);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer .credit span {
  color: var(--orange);
}

#response {
  display: flex;
  align-items: center;
  /* 垂直對齊 */
  /* justify-content: start; 水平居中 */
  font-size: 1.6rem;
  color: #007bff;
  margin-top: 10px;
}

.loader-email {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  /* 與文字保持間距 */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#share-btn-mobile {
  margin-top: 3.1rem;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 1rem 5rem;
  cursor: pointer;
  font-size: 1.6rem;
  border-radius: 5px;
  letter-spacing: 4px;
  visibility: hidden;
}

#share-btn-mobile:hover {
  opacity: 0.8;
}

#share-btn-desk {
  margin-top: -5.2rem;
  color: var(--black);
  padding: 1rem;
  font-size: 1.8rem;
}

#share-btn-desk .bi-facebook,
#share-btn-desk .bi-line {
  font-size: 2.5rem;
  margin: 0 0 0 1rem;
}

#share-btn-desk a {
  color: var(--black);
  text-decoration: none;
}

#share-btn-desk a:hover {
  color: var(--black);
}

#share-btn-desk .bi-facebook:hover {
  color: #007bff;
}

#share-btn-desk .bi-line:hover {
  color: rgb(13, 232, 75);
}

#scroll-up {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 50px;
  height: 50px;
  text-align: center;
  background: var(--black);
  border-radius: 50%;
  display: none;
  animation: scrollup 2s ease-in-out;
}

#scroll-up i {
  font-size: 24px;
  line-height: 50px;
  color: #fff;
}

@keyframes scrollup {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#scroll-up:hover {
  transform: scale(1.05);
  /* opacity: 0.8; */
  cursor: pointer;
}

#overlay {
  position: fixed;
  /* Position the overlay fixed on the screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Dark background with opacity */
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 1005;
  /* Ensure it's on top of everything */
  display: none;
  /* Hide it initially */
}

.content {
  position: fixed;
  left: 0;
  bottom: -110%;
  height: 80vh;
  width: 100%;
  border-top-left-radius: 5rem;
  border-top-right-radius: 5rem;
  overflow-y: auto;
  /* background: var(--black); */
  color: var(--orange);
  z-index: 1010;
  transition: 0.5s;
}

.content .content-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem 1rem 0;
}

.content .content-title h3 {
  font-size: 2.5rem;
  color: var(--black);
}

.content .content-title button {
  font-size: 3.5rem;
  color: red;
  font-weight: bolder;
  background: transparent;
}

.content .content-title button:hover {
  transform: scale(1.2);
  /* transform: rotate(360deg); */
  cursor: pointer;
}

.content.active {
  bottom: 0;
  background-color: white;
}

.content section .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.content section .box-container .box {
  /* padding: 3rem 2rem; */
  background: #fff;
  /* outline: var(--outline);
  outline-offset: -1rem; */
  /* text-align: center; */
  box-shadow: var(--box-shadow);
}

.content section .box-container .box .accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 2rem;
  transition: 0.4s;
  border-bottom: var(--border);
  /* margin: auto; */
}

.active-acc,
.accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active-acc:after {
  content: "\2212";
}

.panel {
  /* padding: 0 18px; */
  background-color: white;
  max-height: 0;
  overflow: hidden;
  color: var(--light-color);
  font-size: 1.5rem;
  transition: max-height 0.2s ease-out;
}

.panel p {
  padding: 10px;
}

/* END FOOTER */

/* list-product css */

.heading-product {
  margin-top: 8rem;
  text-align: center;
  padding: 2rem 0;
  padding-bottom: 3rem;
  font-size: 3.5rem;
  color: var(--black);
}

.heading-product span {
  background: var(--orange);
  color: #fff;
  display: inline-block;
  padding: .5rem 10rem;
  clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

/* .list-product {
  min-height: 100vh;
} */

.list-product .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fiLL, minmax(18rem, 1fr));
  gap: 2rem;
}

.list-product .box-container .box {
  /* padding: 3rem 2rem; */
  background: #fff;
  /* outline: var(--outline);
  outline-offset: -1rem; */
  text-align: center;
  box-shadow: var(--box-shadow);
}

.list-product .box-container .box img {
  width: 100%;
}

.list-product .box-container .box img:hover {
  border-radius: 50%;
  cursor: pointer;
}

.list-product .box-container .box h3 {
  padding: 1.5rem 0;
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--light-color);
  /* color: var(--black); */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-product .box-container .box p {
  padding-bottom: 1.5rem;
  font-size: 2rem;
  /* color: var(--black); */
  /* overflow: hidden; */
  color: red;
}

.list-product .box-container .box p .del {
  /* padding-bottom: 1.5rem; */
  font-size: 1.5rem;
  /* color: var(--black); */
  color: rgb(162, 158, 158);
  text-decoration: line-through;
}

.list-pagination {
  margin: 8rem 0 20rem ;
  display: flex;
  justify-content: center;
  align-items:center ;
  font-size: 2rem;
  gap: 0.5rem;
}

.list-pagination a {
  color: black;
  /* float: left; */
  padding: 8px 16px;
  background: #ccc;
  border-radius: 50%;
  /* text-decoration: none; */
  transition: background-color .3s;
}

.list-pagination a.active {
  background-color: var(--black);
  color: white;
}

.list-pagination a:hover:not(.active) {background-color: #ddd;}

.heading-product select {
  font-size: 18px; /* 調整下拉選單內文字大小 */
  padding: 10px 20px;
}

/* End list-product css */

/* details.php css */
.detail {
  margin: 10rem 0 20rem;
}

.heading-detail {
  /* margin-top: 6rem; */
  /* text-align: center; */
  padding: 2rem 0;
  /* padding-bottom: 3rem; */
  font-size: 1.8rem;
  color: var(--black);
}

.detail .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  /* gap: 1.5rem; */
}

.detail .box-container .box {
  padding: 3rem 2rem;
  background: #fff;
  /* outline: var(--outline); */
  /* outline-offset: -1rem; */
  /* text-align: center; */
  /* box-shadow: var(--box-shadow); */

}

.detail .box-container .box:nth-child(1) {
  text-align: center;
}

.detail .box-container .box img {
  /* margin: 1rem 0; */
  max-width: 500px;
  /* max-width: 100%; */
  width: 100%;

}

.detail .box-container .box h3 {
  font-size: 2.5rem;
  line-height: 1.8;
  color: var(--black);
}

.detail .box-container .box p {
  font-size: 2rem;
  line-height: 1.8;
  color: var(--light-color);
  padding: 1rem 0;
}

.detail-ul {
  /* background-color: #f1f1f1; */
  border-left: 3px solid green;
  padding: 10px;
}
.detail-ul ul {
  list-style: none;
  font-size: 14px;
}

.list-items {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  /* gap: 6px; */
}

.list-items .item {
  padding: 4px;
  margin-top: 16px;
  font-size: 1.6rem;
}

.cart-btn:disabled {
  pointer-events: none;
  opacity: 0.2;
}

.fcl {
  padding: 6px 12px;
  border: 1px solid #ff7800;
  border-radius: 5px;
  color: gray;
  cursor: pointer;
}

.fcl input[type='radio'] {
  display: none;
}

.fcl:hover {
  background-color: #ff7800;
  color: white;
}

.quantity-container {
  margin-block: 16px;
  display: flex;
  /* Use flexbox to align children in a row */
  align-items: center;
  /* Align items vertically in the center */
  gap: 10px;
  /* Optional: Adds space between items */
}

#minus,
#plus {
  font-size: 2.5rem;
  cursor: pointer;
  /* Makes the icons look clickable */
}

#qty {
  width: 100px;
  /* Set the width for the input field */
  text-align: center;
  /* Center the text inside the input field */
  border: 1px solid #ccc;
  /* Optional: Adds a border to the input */
  padding: 6px;
  /* Optional: Adds padding inside the input */
  font-size: 2rem;
}

#notice {
  margin-left: 10px;
  /* Adds some space to the left of the notice */
  color: red;
  /* Optional: Red color for error message */
  font-size: 1.8rem;
}

/* Style for disabled icons */
#minus[style="pointer-events: none;"],
#plus[style="pointer-events: none;"] {
  color: grey;
  /* Optional: Change the color when disabled */
  cursor: not-allowed;
  /* Change the cursor when disabled */
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  display: flex;
  justify-content: center;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.3s;
  font-size: 1.5rem;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  /* padding: 12px; */
  /* border-top: none; */
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

/* Style the close button */
.topright {
  margin-top: -55px;
  float: right;
  cursor: pointer;
  font-size: 3.5rem;

}

.topright:hover {
  color: red;
}

.tabcontent .text {
  margin: 8rem auto;
  max-width: 650px;
  font-size: 1.5rem;
  /* border-left: 5px solid var(--orange);
  padding-left: 10px; */
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.tabcontent .picture {
  margin: 8rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
  gap: 1.5rem;
}

.tabcontent .picture .box {
  max-width: 100%;
  /* 限制最大寬度 */
  overflow: hidden;
  /* 避免內容溢出 */
}

.tabcontent .picture .box img {
  width: 100%;
}

.tabcontent .pay {
  margin: 8rem auto;
  max-width: 650px;
  font-size: 1.5rem;
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.pay h2 {
  color: #007bff;
  border-bottom: 2px solid #ddd;
  padding-block: 10px;
}
.pay ul,.pay ol {
    line-height: 1.8;
    margin: 15px;
  }

.pay .highlight {
    font-weight: bold;
    color: #d63384;
  }

.pay .note {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
  }

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* End details.php css */

/* Search.php */

/* .search {
  height: 100vh;
} */

.heading-search {
  margin-top: 8rem;
}

.search-title {
  text-align: center;
  padding: 5rem 0 0 0;
  font-size: 2rem;
  color: var(--black);
}

.search-title>span {
  background: #eee;
  color: red;
  display: inline-block;
  padding: 0rem 1rem;
  /* border-left: 5px solid #053c4d; */
}

.search .box-container {
  margin: 5rem 0 8rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  /* grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); */
  gap: 2rem;
  /* gap: 1.5rem; */
}

.search .box-container .box {
  /* padding: 3rem 2rem; */
  background: #fff;
  /* outline: var(--outline);
  outline-offset: -1rem; */
  text-align: center;
  box-shadow: var(--box-shadow);
}

.search .box-container .box img {
  width: 100%;
  border-radius: 50%;
}

.search .box-container .box img:hover {
  border-radius: 0;
  cursor: pointer;
}

.search .box-container .box h3 {
  padding: 1.5rem 0;
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--light-color);
  /* color: var(--black); */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search .box-container .box p {
  padding-bottom: 1.5rem;
  font-size: 2rem;
  /* color: var(--black); */
  /* overflow: hidden; */
  color: red;
}

.search .box-container .box p .del {
  /* padding-bottom: 1.5rem; */
  font-size: 1.5rem;
  /* color: var(--black); */
  color: rgb(162, 158, 158);
  text-decoration: line-through;
}

/* End Search.php */

/* login.php */

#emailConfirm {
  /* pointer-events: none;  */
  opacity: 0.5;
  /* Makes it look disabled */
}

.col-address {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
}

.login-content form span {
  color: red;
}

.login-content form .alert {
  padding-left: 16px;
  /* display: none; */
  color: red;
}

.login-content {
  margin: 10rem auto;
  /* text-align: center; */
  padding: 3rem;
  /* padding-bottom: 3rem; */
  max-width: 650px;
  font-size: 1.8rem;
  color: var(--light-color);
  min-height: 100vh;
  background: #fffdfd;
}

.login-content h1 {
  font-size: 2.5rem;
  text-align: center;
  margin: 0 0 3rem;
}

.login-content form {
  font-size: 1.8rem;
  margin: 3rem 0;
}

.login-content form input:not(.remember),
.login-content form textarea,
.login-content form select {
  width: 100%;
  margin: .7rem 0;
  padding: 1rem;
  border-radius: .5rem;
  background: #eee;
  font-size: 1.6rem;
  color: var(--black);
  outline: none;
  /* border: none; */
  /* border: 1px solid #ccc; */
}

.login-content form button {
  width: 100%;
  margin: 3rem 0;
  padding: 1rem;
  border-radius: .5rem;
  background: var(--black);
  font-size: 1.6rem;
  color: #eee;
  outline: none;
  /* border: none; */
  border: 1px solid #ccc;
  cursor: pointer;
}

.login-content form button:hover {
  letter-spacing: 2px;
  background: var(--orange);
}

.login-content div {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  text-align: center;
}

.login-content div a {
  width: 100%;
  margin: 3rem 0;
  padding: 1rem;
  border-radius: .5rem;
  /* background: var(--orange); */
  font-size: 1.6rem;
  color: var(--orange);
  outline: none;
  /* border: none; */
  border: 1px solid #ccc;
  cursor: pointer;
  /* color: var(--orange);
  text-decoration: none; */
}

.login-content div a:hover {
  background: var(--black);
  color: #eee;
}

/* End login.php */
/* signup.php */

.signup-content {
  margin: 10rem auto;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--light-color);
  gap: 2rem;
}

.loader-signup {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid rgb(229, 229, 231);
  border-bottom: 16px solid rgb(229, 229, 231);
  width: 80px;
  height: 80px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* End signup.php */
/* checkout.php nomember.php */

.checkout {
  margin: 10rem 0 20rem;
}

.checkout .empty-cart {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color:#ddd;
  font-size: 5rem;
}

.checkout .empty-cart a {
  margin-top: 20px;
  background: green;
  padding: 10px 50px;
  color:#ddd;
  font-size: 2.5rem;
  border-radius: 5px;
}

.checkout .empty-cart a:hover {
  opacity: 0.8;
}

.heading-checkout {
  /* margin-top: 6rem; */
  /* text-align: center; */
  padding: 2rem 0;
  /* padding-bottom: 3rem; */
  font-size: 2rem;
  /* color: var(--light-color); */
  color: var(--black);
}

.checkout .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3.5rem;
}

.checkout .box-container .box {
  padding: 3rem 6rem;
  /* padding: 3rem 2rem; */
  background: #fff;
  /* outline: var(--outline); */
  /* outline-offset: -1rem; */
  /* text-align: center; */
  /* box-shadow: var(--box-shadow); */
  font-size: 1.6rem;
}

.checkout .box-container .box h3 {
  font-size: 2rem;
  line-height: 1.8;
  color: var(--black);
  text-align: center;
}

.checkout .box-container .box .thankyou {
  /* font-size: 1.8rem;
  line-height: 1.8; */
  color: var(--black);
  /* text-align: center; */
  border-bottom: 1px solid #ccc;
  padding-block: 10px;
}

.checkout .box-container .box p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--light-color);
  padding: 2rem 0;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  border-radius: 4px;
  overflow: hidden;
}
th, td {
  /* padding: 2px; */
  /* text-align: center; */
  border-bottom: 1px solid #ddd;
}
th {
  background: var(--black);
  padding-block: 10px;
  color: white;
  /* font-size: 18px; */
  white-space: nowrap; /* 防止換行 */
}

td {
  /* margin: 0; */
  padding: 2px;
  /* vertical-align: bottom; */
}

td i {
  color: #bab7b7;
}

.box .reminder {
  margin-block: 5rem;
  /* font-size: 1.5rem; */
  color:red;
  text-align: center;
}

.box .checkout-total {
  /* font-size: 2rem; */
  text-align: center;
}

.box .checkout-total span {
  color: red;
}

tr:hover {
  background: #f1f1f1;
}
/* 設定各欄位的寬度 */
th:nth-child(1) { width: 5%; } 
th:nth-child(2) { width: 55%; }
th:nth-child(3) { width: 10%;text-align: right; }
th:nth-child(4) { width: 10%;text-align: right; }
th:nth-child(5) { width: 13%;text-align: right; }
th:nth-child(6) { width: 7%;text-align: center;}
td:nth-child(1) { width: 5%; } 
td:nth-child(2) { width: 55%; }
td:nth-child(3) { width: 10%;text-align: right; }
td:nth-child(4) { width: 10%;text-align: center;}
td:nth-child(5) { width: 13%;text-align: right; }
td:nth-child(6) { width: 7%;text-align: center; }

.atmtopay form span {
  color: red;
}

.atmtopay form input:not(.remember),
.atmtopay form textarea,
.atmtopay form select {
  width: 100%;
  margin: .7rem 0;
  padding: 1rem;
  border-radius: .5rem;
  background: #eee;
  /* font-size: 1.6rem; */
  color: var(--black);
  outline: none;
  /* border: none; */
  /* border: 1px solid #ccc; */
}

.atmtopay form button {
  width: 100%;
  margin: 3rem 0;
  padding: 1rem;
  border-radius: .5rem;
  background: var(--black);
  /* font-size: 1.6rem; */
  color: #eee;
  outline: none;
  /* border: none; */
  border: 1px solid #ccc;
  cursor: pointer;
}

.atmtopay form button:hover {
  letter-spacing: 2px;
  background: var(--orange);
}

.atmtopay form .btn {
  /* margin-top: -8px; */
  background: green;
  /* background: red; */
  border: none;
  color: white;
  /* padding: 8px 16px; */
  /* text-align: center; */
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  /* font-size: 16px; */
  /* margin:-8px 4px 12px; */
  transition-duration: 0.4s;
  cursor: pointer;
}

/* .atmtopay form .btn:nth-child(2) {
  background: green;
} */

.atmtopay form .btn:hover {
  opacity: 0.8;
}

/* END checkout.php nomember.php */

.order-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.6rem;
}

.order-history-table th,
.order-history-table td {
  padding: 12px 15px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #ddd;
}

.order-history-table thead {
  background-color: #f0f0f0;
  font-weight: bold;
}

.order-history-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.order-history-table tr:hover {
  background-color: #eef7ff;
}

.order-history-table img {
  max-width: 40px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.order-history-heading {
  margin-top: 10rem;
  font-size: 2rem;
  /* font-weight: bold; */
  margin-bottom: 10px;
  border-left: 5px solid #4CAF50;
  padding-left: 10px;
}

.order-history-wrapper {
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 2rem;
  }

  .discount .box-container .box {
    padding: 3rem 2rem;
    background: #fff;
    /* outline: var(--outline); */
    /* outline-offset: -1rem; */
    /* text-align: center; */
    box-shadow: var(--box-shadow);
  }

  /* .footer .box-container .box:nth-child(1) {
    order: 2;
  } 
  .footer .box-container .box:nth-child(2) {
    order: 3;
  } 
  .footer .box-container .box:nth-child(3) {
    order: 1;
  } */
}

@media (max-width: 1414px) {
  .slide img {
  /* width: 100%; 讓圖片寬度充滿投影片容器 */
  height: 470px; /* 讓圖片高度充滿投影片容器 */
  /* object-fit: cover; 保持圖片比例並填滿容器，可能會裁切部分圖片 */
  /* display: block; 移除圖片底部的空白間隙 */
  }
}
@media (max-width: 905px) {
  .slide img {
  /* width: 100%; 讓圖片寬度充滿投影片容器 */
  height: 300px; /* 讓圖片高度充滿投影片容器 */
  /* object-fit: cover; 保持圖片比例並填滿容器，可能會裁切部分圖片 */
  /* display: block; 移除圖片底部的空白間隙 */
  }
}
@media (max-width: 768px) {
  #menu-btn {
    display: inline-block;
  }

  .header .search-form {
    width: 90%;
  }

  .header .navbar {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
    background: #fff;
  }

  .header .navbar.active {
    right: 2rem;
    transition: 0.4s linear;
  }

  .header .navbar a {
    font-size: 2rem;
    margin: 2rem 2.5rem;
    display: block;
  }

  #share-btn-mobile {
    visibility: visible;
  }

  #share-btn-desk {
    /* visibility: hidden; */
    display: none;
  }

  .tabcontent .picture {
    grid-template-columns: 1fr;
    /* 小螢幕時改為單欄 */
  }

  .checkout .box-container .box {
    /* padding: 3rem 6rem; */
    padding: 3rem 1rem;
    /* background: #fff; */
    /* outline: var(--outline); */
    /* outline-offset: -1rem; */
    /* text-align: center; */
    /* box-shadow: var(--box-shadow); */
    /* font-size: 1.6rem; */
  }

}

@media (max-width: 450px) {
  html {
    font-size: 52%;
  }

  /* .heading {
    font-size: 2.5rem;
  } */
  /* .footer {
    text-align: center;
  } */

  .footer .box-container .box {
    padding: 3rem 0;
    box-shadow: var(--box-shadow);
  }

  .content section .box-container {
    gap: 0rem;
  }

  .footer .box-container form {
    padding: 1rem;
  }

  /* .footer .box-container .box .icons {
    
    justify-content: center;
  } */

  /* .heading-detail {
    margin-top: 0rem;
  } */
  .detail .box-container .box {
    padding: 3rem 2rem;
    background: #fff;
    /* outline: var(--outline); */
    /* outline-offset: -1rem; */
    /* text-align: center; */
    /* box-shadow: var(--box-shadow); */
  }

  .detail .box-container .box:nth-child(1) {
    text-align: center;
    padding: 0rem;
  }

  .checkout .box-container .box form {
    margin: 0;
  }

}

/* @media (max-width: 450px) {
  .footer .box-container .box h3 {
    font-size: 1.3rem;    
  }
  .footer .box-container .box p,
  .footer .box-container .box .detail-list p {
    font-size: 8.3rem;
  }

  .footer .credit {
    font-size: 10.5rem;
  } 
} */
