@charset "utf-8";
/* CSS Document */
body {background:url(../images/bg.jpg) top center repeat;}

    .products-wrapper{width: 100%; max-width: 980px; margin-top: 10px;}

	  .products {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 10px;
      padding: 0 20px 40px;
    }
    .card {
      border: 1px solid #ccc;
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background-color: #ffffff;
      margin-top: 10px;
    }

    .card a{
      text-decoration: none;
      color: #3d3d3d;
      border-radius: 10px;
    }

    .card a:hover{
      box-sizing: border-box;
      border: 3px solid orangered;
    }

    .card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }
    .card-content {
      padding: 3px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
	    line-height: 20px;
    }

    .card-content h3{
      font-weight: bold;
      font-size: 20px;
      text-align: center;
      line-height: 28px;
    }

    .highlight{
      background-color: #cc0000;
      color: #ffffff;
      font-size: 18px;
      font-weight: 500;
      line-height: 28px;
      width: 100%;
      text-align: center;
    }

    .highlight-s{
      background-color: #cc0000;
      color: #ffffff;
      font-size: 16px;
      font-weight: 500;
      line-height: 24px;
      width: 100%;
      text-align: center;
    }

    .card-content .cons{
      padding-top: 5px;
      font-size: 14px;
      line-height: 22px;
    }

    .price {
      color: red;
      font-weight: 600;
      margin: 5px 0;
      font-size: 22px;
      text-align: center;
      line-height: 28px;
    }
    
    .price2 {
      color: red;
      font-weight: 600;
      margin: 5px 0;
      font-size: 18px;
      text-align: center;
      line-height: 20px;
    }

    .image-container {
      position: relative;
      display: inline-block;
      width: 100%; /* 可依需求調整寬度 */
      max-width: 600px;
    }

    .image-container img {
      width: 100%;
      height: auto;
      display: flex;
    }

    .protitle{display: block; line-height: 2.4rem;text-align: center;font-size: 1.2rem;color: #b40000;font-weight: 500;}


    .text-overlay {
      position: absolute;
      bottom: 5px;  /* 調整文字位置 */
      left: 5px;
      background-color: rgba(0, 0, 0, 0.6); /* 黑色透明色塊 */
      color: white;
      padding: 3px 10px;
      font-size: 1.2rem;
      border-radius: 5px;
    }


    .text-overlay2 {
      position: absolute;
      bottom: 5px;  /* 調整文字位置 */
      left: 12px;
      background-color: rgba(0, 0, 0, 0.6); /* 黑色透明色塊 */
      color: white;
      padding: 10px 10px;
      font-size: 1.1rem;
      border-radius: 5px;
      text-align: center;
    }
  .card.sold-out {
    position: relative;
    pointer-events: none; /* 禁用所有點擊行為 */
    opacity: 0.9; /* 整張卡片變淡（可選） */
  }

	.smtx{font-size: 14px; font-weight:500;color: black;letter-spacing: 0.5px;}
  .smtx2{font-size: 16px; font-weight:500;color: black;}
  .smtx3{font-size: 14px; font-weight:500;color: rgb(255, 255, 255);}
  .smtx4{font-size: 12px; color: black;}
  .smtx5{font-size: 14px; color: rgb(250, 79, 21);}
  .order-btn {background-color: orangered; color: #ffffff; border-radius: 30px; font-size: 16px; font-weight:700; border: none; padding: 6px; width: 10rem; text-align: center;cursor: pointer;}
	.order-btn-list{background-color: orangered; color: #ffffff; border-radius: 10px; font-size: 12px; font-weight:400; border: none;text-align: center; cursor: pointer;}
  .order-btn:hover ,.order-btn-list:hover{background-color: #ae0000;}

  .godate_ny{display: flex; width: 94%;  border-top:1px solid #c2c2c2; padding: 3px;}
  .godate_ny a{flex-grow: 1; border:1px solid #2499ff; border-radius:5px; text-align: center;line-height: 1.1rem;margin: 3px; padding:3px;text-decoration:none; font-size: 0.7rem; }
  .godate_ny a:hover{box-sizing: border-box; border:1px solid #f99109;color: #f95d09;}
  .day{text-align: left;font-weight: 800;font-size: 12px;}

  .pro_more{font-size: 0.9rem; font-weight: 500; margin-left: 20px; padding: 5px; color: #2499ff; border: 1px solid #2499ff;}

  .links {display: flex; flex-direction: row; justify-content: center; width: 60%; max-width: 980px; text-align: center;margin-bottom: 30px;}
  .more a{background-color: #ff7003; font-size: 1rem;padding: 10px; color: #ffffff; border-radius: 8px;text-decoration: none;margin: 0 10px;white-space:nowrap;}
  .more a:hover {background-color: rgb(0, 158, 84); color: #ffffff; }

 
.citytitle{width: 90%; background:url(../images/gds_title.png) center no-repeat; height:50px; margin-top:20px; text-align: center; line-height: 50px;font-size: 1.4rem;color: #fff;}


.footer {clear: both;}


/* 回頁首 */
a#jump {display: none \9;}
a#jump div {width: 50px; height: 50px; background-color: #cc0000; color: #ffffff; font-size: 16px; line-height: 16px; font-weight: bold; font-family: Arial, Helvetica, sans-serif; text-align: center; text-decoration: none; opacity: 0.7; filter: alpha(opacity=70); cursor: pointer; position: fixed; right: 15px; bottom: 15px; border-radius: 50%; z-index: 6; _display: none; transition: background-color 0.2s linear, opacity 0.2s linear, filter 0.2s linear, transform 0.1s linear;}
a#jump:hover div {background-color: #ff00ff; opacity: 1; filter: alpha(opacity=100); transform: scale(1.25,1.25); box-shadow: 0 2px 6px rgba(0,0,0,0.7);}
a#jump b {display: block; font-size: 24px; line-height: 24px; font-family: Verdana, Geneva, sans-serif; position: relative; top: 5px;}


@media screen and (max-width: 980px) {

	.products-wrapper{width: 94%;}
}
	
@media screen and (max-width: 768px) {


  .more a{font-size: 0.8rem;padding: 10px; color: #ffffff; border-radius: 8px;text-decoration: none;margin: 0 10px;white-space:nowrap;}
  
	.products-wrapper, .star , .list{width: 98%;}
	.list-content th{font-size: 14px; color: #ffffff; font-weight: 500; padding-left: 10px;}
	.list-content td{font-size: 13px;}
	.order-btn-list{border-radius: 5px; White-space: nowrap; padding: 3px; cursor: pointer;}
}


@media screen and (max-width: 520px) {  

  .section-title {
      font-size: 1rem;
    }

  .products-wrapper{width: 92%;}
	.products-wrapper {padding: 0 20px;}

  .godate a{font-size: 0.8rem; }

  .highlight-s{font-size: 14px;}

  #pro_more{display: none;}

}
