:root {
  --primary-color: #4CAF50;
  --secondary-color: #E8F5E9;
  --third-color:#69aff5;
  --primary-dark: #388E3C;
  --primary-light:  #CBE2BD;
  --primary-text-color: #FFFFFF;
  --secondary-text-color: #333333;
  --accent-color: #81C784;
  --background-color: #F5F5F5;
  --text-color: #333;
  --font-main: 'Noto Sans TC', sans-serif;
  --font-logo: 'DM Serif Display', cursive;
  --hover-color: #fafad8;
}

* { box-sizing: border-box; }
body { display: flex; flex-direction: column; height: 100%;margin: 0; font-family: var(--font-main); color: var(--text-color); background: var(--secondary-color); }
header { position: fixed; top: 0; width: 100%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.1); z-index: 1000; }
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  height: auto;
  flex-wrap: wrap;
  max-width: 70%;
}

.logo img { width: 60px; height: 60px; margin-right: 10px; }
.logo h1 { font-family: var(--font-logo); font-size: 26px; margin: 0; color: var(--primary-color);  margin: 0;  white-space: nowrap;}
.logo h2 {
  font-size: 14px;
  margin: 0;
  color: var(--secondary-color); /* 如有定義 secondary 顏色 */
}



nav ul { list-style: none; margin: 0; padding: 0; display: flex; font-size: 14px;}
nav ul li { position: relative; }
nav ul li a { display: block; padding: 10px 10px; color: var(--text-color); text-decoration: none; font-weight: bold; }
nav ul li:hover > a { color: var(--primary-color); }
nav ul li ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
nav ul li:hover ul { display: block; }
nav ul li ul li a { padding: 10px 20px; white-space: nowrap; }

.hero p { font-size: 24px; margin: 10px 0; }
.hero button { margin-top: 20px; padding: 12px 30px; font-size: 18px; background: #fff; color: var(--primary-color); border: none; border-radius: 30px; cursor: pointer; transition: 0.3s; }
.hero button:hover { background: var(--primary-color); color: #fff; }

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { 
  flex: 1;
padding-top: 10px; }
.section { padding: 60px 20px; text-align: center; }
.section h2 { font-size: 32px; margin-bottom: 20px; color: var(--primary-color); }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
  font-size: 14px;
}
.products-header .sort select {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 30px;
  justify-items: center;
}


.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh; /* 滿版高 */
}

.pagination {
  margin-top: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* 控制按鈕間距 */
}
.pagination button {
  font-size: 20px; /* 字體變大 */
  padding: 12px 24px; /* 增加按鈕大小 */
  border: none;
/*  background: var(--primary-color); */
/*  color: #fff;	*/
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pagination button:disabled {
  background: #ccc;
  cursor: default;
}

.breadcrumb {
  padding: 10px;
  font-size: 16px;
  margin: 0;
}

.title-section {
     display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px 10px;
    margin: 0 auto;
}
.title-section h1 {
  font-size: 25px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.marquee {
  background: #ffeb3b;
  overflow: hidden;
  white-space: nowrap;
}
.marquee p {
  display: inline-block;
  animation: marquee 15s linear infinite;
  font-weight: bold;
  color: #d32f2f;
  padding: 10px 0;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.main-section {
  display: flex;
}

.sidebar {
  width: 250px;
  padding: 20px;
  background: #f9f9f9;
  border-right: 1px solid #ddd;
}
.sidebar input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}
.sidebar h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}
.sidebar ul {
  list-style: none;
  padding: 0;
}
.sidebar ul li {
  margin-bottom: 10px;
}
.sidebar ul li button {
  background: none;
  border: none;
  color: #333;
  font-size: 16px;
  cursor: pointer;
}
.sidebar ul li button:hover {
  color: var(--primary-color);
}

.content {
  flex: 1;
  padding: 20px;
}

.cart_content { 
	padding: 40px; text-align: center; 
}

.cart_table { 
width: 80%; margin: 20px auto; border-collapse: collapse; 
background:#ffffff;

}

.cart_td { 
border: 1px solid #ccc; padding: 10px; text-align: center; 
}

.cart_th { 
background-color: #f5f5f5; 
}

.cart_button { 
margin-top: 20px; padding: 10px 20px; font-size: 16px; 
}

#searchButton {
  padding: 8px 15px;
  margin-left: 10px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#searchButton:hover {
  background: #388e3c; /* 深一點的綠色 */
}

.product-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap; /* 手機版會自動換行 */
  max-width: 1200px;
  margin: 0 auto;
}

.product-images {
 flex: 1;
 max-width: 500px;
  text-align: center;
  margin: 0;
/* outline: 2px dashed red;*/
}

.product-images img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  cursor: pointer;
  border-radius: 10px;
 transition: transform 0.3s ease; /* 平滑動畫 */
}

.product-images #mainImage {
  width: 300px;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  cursor: pointer;
}

.thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
}

.thumbs img.active,
.thumbs img:hover {
  opacity: 1;
  border: 2px solid #ff6ec7; /* 幻彩框線色可改 */
}

.product-info {
  flex: 2;
  max-width: 550px;
  padding: 10px;
  background-color: #fce4ec;
}


.product-info h2 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .product-detail-container {
    flex-direction: column;
    align-items: center;
  }

  .product-images,
  .product-info {
    max-width: 100%;
  }
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.PD-top {
  margin-top: 45px;
}

.PD-middle {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  background-color: #e1f5fe;
  padding: 20px;
}

.PD-bottom {
height:80px;
/*background-color: #ede7f6;  */
}

.footer {
 position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #f8f8f8;
  padding: 10px 0;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #555;
  height: 30px; /* 比 height 靈活，內容多時也不會撐壞 */
  height: auto;     /* 明確指定自適應高度 */
  z-index: 999; /* Z 在最上層 */
}

.QTY-input {
  height: 30px;     /* 增加高度 */
  width: 60px;      /* 控制寬度（較短） */
  font-size: 16px;  /* 字體也要相對調整 */
  padding: 5px;     /* 內邊距可微調舒適度 */
  border-radius: 6px; /* 圓角讓它更美觀 */
  border: 1px solid #ccc;
}

.BasketBtn {
  background-color: #ffeb3b;   /* 明亮黃色 */
  color: #000000;              /* 黑色文字 */
  padding: 12px 30px;          /* 上下高，左右寬 */
  border: none;
  border-radius: 999px;        /* 橢圓形關鍵 */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.BasketBtn:hover {
  background-color: #fdd835;   /* 滑過時稍微暗一點的黃 */
}

.media-video {
  max-width: 100%;
  width: 300px;
  height: 400px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.DeleteBtn {
  background-color: #FF0000;   /* 紅色 */
  color: #000000;              /* 黑色文字 */
  padding: 10px 10px;          /* 上下高，左右寬 */
  border: none;
  border-radius: 999px;        /* 橢圓形關鍵 */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

#Checkout-div {
  text-align: center;
  margin-top: 1em;
}

#basket_item_name {
    margin: 0px;
}
.basket-thumb {
   width: auto;
   height: 70px;
  object-fit: cover; 
}
form {
  background: #fff;
  padding: 2em;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

label {
  display: block;
  margin: 1em 0 0.5em;
}

.submit-btn {
  margin-top: 1.5em;
  background-color: #ff9800;
  color: white;
  font-weight: bold;
  border: none;
  padding: 1em;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.submit-btn:hover {
  background-color: #e68900;
}

.cart-modal {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  width: auto;
  max-width: 600px;
  z-index: 1000;
  display: none;
}

.cart-modal-content {
  padding: 1.5em;
  position: relative;
}

.cart-modal-body {
  display: flex;
  gap: 1em;
  align-items: center;
}

.cart-modal-body img {
  width: 100px;
  height: auto;
  border-radius: 6px;
}


.cart-modal-actions .btn {
  padding: 0.6em 1.2em;
  margin-right: 0.5em;
  border: none;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.cart-modal-actions .btn-checkout {
  background-color: orange;
}

.cart-modal-actions .btn-link {
  background: none;
  color: orange;
  text-decoration: underline;
}

.close-modal {
  position: absolute;
  right: 1em;
  top: 1em;
  font-size: 1.4em;
  cursor: pointer;
}

.hidden {
  display: none;
}

 .checkout-container {
      display: flex;
   flex-direction: row; /* 水平排列 */
   padding: 0;
   margin: 0;
   justify-content: center;
    }

    .form-section {
	
       margin: 0;
       padding: 0;

    }
    .summary-section {
      margin: 0;
      padding: 0;

      border: 1px solid #ccc;
      padding: 1rem;
      border-radius: 8px;
      background: #f9f9f9;
    }
    .summary-section table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 1rem;
    }
    .summary-section th, .summary-section td {
      padding: 8px;
      border-bottom: 1px solid #ddd;
    }
    .total-line {
      font-weight: bold;
      text-align: right;
    }

    .balace-line{
        font-size: 14px;
        color: red;
        text-align: right;
    }

    .discount-row {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }
    .discount-row input {
      flex: 1;
    }

.DiscountCodeBtn{
height: 50px;     /* 增加高度 */
  width: 90px;      /* 控制寬度（較短） */
  font-size: 16px;  /* 字體也要相對調整 */
  padding: 5px;     /* 內邊距可微調舒適度 */
  border-radius: 6px; /* 圓角讓它更美觀 */
  border: 1px solid #ccc;
}

#checkout-form {
width: 550px;
}

#checkout-form select {
  width: 350px;
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #333;	
}

#checkout-form label {
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #333;
  width: auto;           /* ✅ label 寬度自動，以內容為主 */
}

#checkout-form textarea {
  resize: vertical;
  min-width: auto;
  height: 100px;
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#checkout-form button {
  display: block;
  width: auto;      /* 若希望按鈕與欄位同寬，可加這行 */
  margin-top: 16px; /* 與上方間距 */
}

.form-group {
  width: 350px;
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #333;	
}

.form-group textarea{
  width: auto;
}

.form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.radio-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;     /* ✅ 自動寬度 */
  max-width: 100%;
  gap: 0.3em;
  margin: 0;
  padding: 0;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  text-align: left;
}

.radio-item input[type="radio"] {
  margin: 0;
  padding: 0;
  width: auto;
}

.inputForm {
  height: 35px;     /* 增加高度 */
  width: 400px;      /* 控制寬度（較短） */
  font-size: 16px;  /* 字體也要相對調整 */
}

.inputFormPhone {
  height: 40px;     /* 增加高度 */
  width: 150px;      /* 控制寬度（較短） */
  font-size: 16px;  /* 字體也要相對調整 */
}

.selection {
  height: 35px;     /* 增加高度 */
}

.CreditLogo {
 width: 220px;
 height:50px;
}

.error-message {
  color: red;
  font-size: 0.9em;
  display: none;
}
input.invalid, select.invalid {
  border-color: red;
}


.original-price {
  text-decoration: line-through;
  color: #000000;
  font-size: 24px;
  margin-right: 5px;
}

.sale-price {
  color: rgb(216, 0, 0);
  font-size: 30px;
  font-weight: bold;
}

.sale-tag-img {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20%;
  height: auto;
  z-index: 2;
}

.sale-tag-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    animation: floatAnim 3s ease-in-out infinite;
    z-index: 1000;
  }

  @keyframes floatAnim {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  #whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #whatsapp-float:hover {
    opacity: 0.8;
  }

  #cart {
      display: inline-block;
      margin-left: 4px;
      font-size: 1.2em;
      position: relative;
      vertical-align: middle;
      transform: translateY(-15px)scale(1.3);
  }

  #cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 14px;
    font-weight: bold;
    display: none; /* 預設不顯示 */
  }

  .filter{
    font-size: 14px;
    height: 45px;
  }

  .Cbtn{
    font-size: 14px;
    font-weight: bold;
     width: 90px;
     height: 45px;
     padding: 12px 14px; 
     border-radius: 12px;        /* 橢圓形關鍵 */
     background-color: #ffeb3b;
  }

.top{
  margin-top: 30px;
}

.bottom{
  margin-bottom: 80px;
}

.text-sm {
  font-size: 0.85em;
}
.text-orange-600 {
  color: #d97706;
}

.terms-container {
   margin: 0 auto;
  padding: 2rem;
  font-family: 'Helvetica', sans-serif;
  line-height: 8px;
}

.terms-section {
  margin-bottom: 2rem;
  border-left: 5px solid #f39c12;
  padding-left: 1.0rem;
  padding-right: 1.0rem;  /* 加右邊間距 */
}

.terms-section h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 12px;
}

.terms-item {
  margin-bottom: 0.8rem;
}

.terms-item h3 {
  color: #34495e;
  font-size: 12px;
  margin-bottom: 0.5rem;
}

.terms-item p {
  margin: 0.4rem 0;
  font-size: 12px;
}


.image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.product-name {
  color: black;
  font-size:18px;
  font-weight: bold;
  margin-top: auto;	
}

.product-price {
  color: rgb(0, 0, 0);
  font-size: 24px;
  font-weight: bold;
  margin-top: auto;
}

.product-desc {
  color: black;
}
.product-desc a {
  text-decoration: none;      /* 去除底線 */
}


.product-item {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.product-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.product-item img:hover{
  transform: scale(1.15); /* 放大 10% */
}


/* 商品標題/價格等文字 */
.product-item .title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: center;
}

.product-item .price {
  font-size: 1rem;
  color: #e91e63;
  text-align: center;
}

.product-item p {
  margin: 4px 0;
  flex-shrink: 0;
}

.product-item-link {
  text-decoration: none;
}



.floating-info {
  position: fixed;
  bottom: 50px;
  left: 20px;
  background: #fff8e1;
  border: 1px solid #ffd54f;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 12px 16px;
  z-index: 999;
  display: none;
  animation: fadeInUp 0.5s ease;
  max-width: 150px;        /* 或依照你的版面調整 */
  word-wrap: break-word;   /* 遇長單字會斷行 */
  white-space: normal;     /* 允許自動換行 */
}

.info-content {
  display: flex;
  align-items: center;
}

.info-text {
  color: #c77d00;
  font-weight: bold;
  margin-right: 12px;
}

.info-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  line-height: 1;
}

.info-close:hover {
  color: #444;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products {
    grid-template-columns: 1fr;
  }
}

#locationbar {
  height: 5px;
}

.terms-and-conditions {
  padding-left: 0.5rem;   /* 內文左側留空 */
  padding-right: 0.5rem;  /* 內文右側留空 */
  padding-bottom: 2.3rem; /* 底部留空 */
}

.privacy-policy {
  padding-left: 0.5rem;   /* 內文左側留空 */
  padding-right: 0.5rem;  /* 內文右側留空 */
  padding-bottom: 2.3rem; /* 底部留空 */
}

  .footer-top {
    background-color: #f8f9fa;
    padding: 10px 20px;
    text-align: center;
    font-size: 15px;
    border-top: 1px solid #ddd;
  }

  .footer-top strong {
    color: #333;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #f0f2f5;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 40px;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
  }

  .footer-links li a {
    color: #333;
    text-decoration: none;
  }

  .footer-links li a:hover {
    text-decoration: underline;
  }



.flip-truck {
  margin-right: 8px;
  transform: scaleX(-1);
  display: inline-block; /* 這樣 transform 才會生效 */
  color: #333;
  font-size: 18px;
}

.space{
  height: 30px;
}

.product-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.product-image-item {
  width: 300px;          /* 預設桌面尺寸 */
  max-width: 100%;       /* 不超過容器寬度 */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: contain;
}

.product-description-box {
  max-width: 900px;         /* 控制內容區域寬度 */
  margin: 0 auto;           /* 水平置中整個框 */
  padding: 20px;
  text-align: center;       /* 文字置中 */
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  
}

.product-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background-color: #fce4ec;
  padding-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 4px;
}
.D-label {
  width: 65px;
  font-weight: bold;
  flex-shrink: 0;
  margin-left: 30px;
}
.value {
  flex: 1;
  margin-right: 30px;
}

.hint-label {
  font-size: 0.9rem;
  color: #eb6161;
  margin-top: 5px;
  white-space: normal; /* 允許換行 */
}


/* 3D Carousel */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;

}

.carousel-track {
    position: relative;
    height: 180px; /* 容器固定高度 */
    overflow: hidden;
}

.carousel-track a {
    position: absolute;
    bottom: 0; /* 讓圖片對齊底部 */
    display: block;
    height: 180px; /* 固定高度，與容器同高 */
    line-height: 0; /* 移除底部空白 */
}

.carousel-track img {
    height: 100%;
    width: auto;
    display: block;
  object-position: center center; /* 垂直水平置中 */
}


.carousel-track a:hover img {
  transform: scale(1.2); /* 滑鼠懸停時略微放大 */
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* 根據圖數調整 */
}

/* 弧形移動與縮放 */
@keyframes arc-motion {
  0%   { transform: translateY(-150px) scale(0.6); opacity: 0.4; }
  20%  { transform: translateY(-100px) scale(0.8); opacity: 0.6; }
  40%  { transform: translateY(-40px) scale(1.2); opacity: 0.9; }
  50%  { transform: translateY(0px) scale(1.5); opacity: 1; }  /* 中央 */
  60%  { transform: translateY(-40px) scale(1.2); opacity: 0.9; }
  80%  { transform: translateY(-100px) scale(0.8); opacity: 0.6; }
  100% { transform: translateY(-150px) scale(0.6); opacity: 0.4; }
}





.product_description{
  margin-left: 30px;
  margin-right: 30px;
}

.swal-theme {
  background-color: #ffffff;
  color: var(--secondary-text-color);
  border: 2px solid var(--primary-color);
}

.swal-confirm {
  background-color: var(--primary-color) !important;
  color: var(--primary-text-color) !important;
}

.swal-cancel {
  background-color: #e0e0e0 !important;
  color: var(--secondary-text-color) !important;
}

.swal2-icon.swal2-info.swal-info-icon {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}


.search-container {
  flex-grow: 1; /* 撐滿中間空間 */
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-left: 20px;
  margin-right: 20px;
}

.search-container input[type="search"] {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  flex-grow: 1; /* 寬度撐滿剩餘空間 */
  width: auto;
  height: 30px;
}

.search-container button {
  padding: 6px 16px;
  background-color: #4CAF50;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.search-container button:hover {
  background-color: #388E3C;
}

a.hyperlink:hover {
  background-color: var(--hover-color);
}

.subtotal-amount{
 font-weight: bold;
}

.about-section {
    background-color: #eef9f0;
    padding: 40px 30px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    font-family: "Noto Sans TC", sans-serif;
    line-height: 1.8;
    color: #333;
  }

  .about-section h2 {
    text-align: center;
    color: #4caf50;
    font-size: 28px;
    margin-bottom: 30px;
  }

  .about-section p {
    margin-bottom: 20px;
    font-size: 17px;
  }

  #shoppingimg {
    max-width: 200px;
    height: auto;
  }
  #empty-cart-div{
    display:none; 
    width: 100%; 
    text-align: center;
}


.payment-icon {
  max-width: 250px;
}

select.selection  {
  border: 1px solid #999;
  border-radius: 4px;     /* 可選：圓角美化 */
  padding: 6px 10px;      /* 可選：讓內容不貼邊 */
  background-color: #fbfbfb; /* 可選：確保背景乾淨 */
}

.statusTag {
  color:red; 
  border:1px solid red; 
  padding: 0 4px; 
  background:white; 
  font-weight:bold;
}

.Cicon-footer {
  width: 20px;
  height: 20px;
}