
  .pagetitle {
    font-size: 2rem; 
    font-weight: 800; 
    margin-bottom: 0.5rem;
    font-family: "Times New Roman";
    letter-spacing: 0.2em;
  }

  .p1content{
    font-size: 1rem; 
    color: #444;
    font-weight: 500; 
    font-family: "Times New Roman";
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    line-height: 2;
    margin:1% 5%;
  }

  .p2content{
    font-size: 0.9rem; 
    color: #444;
    font-family: "Times New Roman";
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    line-height: 2;

  }


  /* IG 區塊 */
  .swiper-slide .caption {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: #111;
  }

  .img-wrapper {
    position: relative;
    overflow: hidden;
  }

  .img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
  }

  .img-wrapper:hover img {
    transform: scale(1.05);
  }

  .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: none; /* 讓遮罩不阻擋點擊 */
  }

  .img-wrapper:hover .overlay {
    opacity: 1;
  }

  .ig-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: none; /* 讓icon不阻擋點擊 */
  }

  /* 按鈕：只留一組，字元用 < 和 >，改成白色 */
  .custom-prev,
  .custom-next {
    color: white;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 40px;
    text-align: center;
    user-select: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
  }

  .custom-prev {
    left: 8px;
  }

  .custom-next {
    right: 8px;
  }

  @media (max-width: 767px) {
    .custom-prev,
    .custom-next {
      display: none !important;
    }
  }

  /* 商品區塊 */
  .product-section-title {
    font-size: 1.5rem;
    text-align: center;
    margin: 3rem 0 1rem;
    font-weight: 600;
  }

  .product-grid {
    display: grid;
    gap: 1.5rem;
    padding: 0 1rem 3rem;
    grid-template-columns: repeat(2, 1fr);
    background: #fff;
  }

  @media (min-width: 768px) {
    .product-grid {
      grid-template-columns: repeat(4, 1fr);
      padding: 0 3rem 4rem;
    }
  }

  .product-card {
    text-align: center;
    position: relative;
  }

  .product-img-wrap {
    position: relative;
  }

  .product-img-wrap img {
    width: 100%;
    border-radius: 6px;
  }

  .badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #fff;
    color: #000;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: 500;
  }

  .product-title {
    margin: 0.75rem 0 0.3rem;
    font-size: 1rem;
    color: #111;
  }

  .product-price {
    font-size: 0.9rem;
    color: #111;
    margin-bottom: 0.5rem;
  }

  .product-btn {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .product-btn:hover {
    background: #111;
    color: #fff;
  }
