body {
    font-family: 'Noto Sans TC', sans-serif;
}

/* Product slider styles */
.product-slider-container {
    position: relative;
    overflow: hidden;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
}

.product-slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.product-slider {
    display: flex;
    transition: transform 0.3s ease;
    scroll-behavior: smooth; /* 启用原生平滑滚动 */
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* 启用滚动吸附 */
    overflow: -moz-scrollbars-none; /* 旧版 Firefox */
    -webkit-overflow-scrolling: touch; /* 启用顺滑滚动 */
    padding-bottom: 5px; /* 补偿隐藏的滚动条空间 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* WebKit浏览器专用 */
.product-slider::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 auto;
    width: 250px; /* Adjust as needed */
    margin-right: 15px; /* Adjust as needed */
    scroll-snap-align: start; /* 滚动吸附 */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    border: none;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.slider-arrow.left {
    left: 10px;
}

.slider-arrow.right {
    right: 10px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card {
        width: 50%; /* Two items per row on smaller screens */
    }
}

@media (max-width: 576px) {
    .product-card {
        width: 100%; /* One item per row on mobile */
    }
}

.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.payment-icons img {
    width: 40px;
    height: auto;
    margin: 0 5px;
}
@media (max-width: 768px) {
    .product-slider {
        padding-bottom: 8px; /* 移动端增加补偿空间 */
    }
}
