/* ===== Batch / Team Gifts Page ===== */

.products.batch {
    background: #fed942;
}

.batch {
    padding: 0 0 60px 0;
    text-align: center;
    margin-top: 2px;
}

/* 團隊禮品頁面：固定側邊欄 */
.middle-content:has(.products.batch) #column-left {
    position: fixed;
    box-shadow: 3px 3px 3px rgba(100, 100, 100, 0.1);
    height: calc(100vh - 96px);
    overflow-y: scroll;
    top: 106px;
    z-index: 2;
}

.batch img {
    max-width: 100%;
}

.batch .title {
    font-size: 36px;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
}

.batch .intro {
    font-size: 16px;
}

.batch .big {
    font-size: 18px;
}

.batch .intro a {
    color: #3db0fa;
}

.batch .tin {
    padding-top: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.batch .back-color {
    background-color: #fff;
}

.batch .customization {
    padding: 60px 15px 30px;
}

.batch .images {
    max-width: 1000px;
    margin: 30px auto 0;
}

.batch .images .col-sm-6 {
    margin-bottom: 20px;
}

.batch .images .cus-img {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.batch .try-now {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 24px;
    background: #ff6c0a;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

.batch .try-now:hover {
    background: #e55d00;
    color: #fff;
    text-decoration: none;
}

.batch .step {
    padding-top: 60px;
    padding-bottom: 60px;
}

.batch .step .step-icon {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
}

.batch .step .icon {
    padding: 20px;
}

.batch .step .icon img[src$=".svg"] {
    width: 100px;
    height: 100px;
}

.batch .step .step-desc {
    padding-top: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Teaching section - 全行 */
.batch .teaching {
    background: #fff;
    padding: 60px 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.batch .teaching .teaching-block {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.batch .teaching .teaching-block .title {
    font-size: 28px;
    padding-bottom: 20px;
}

.batch .teaching .teaching-block .intro {
    line-height: 1.8;
    padding-bottom: 20px;
}

.batch .teaching .teaching-img {
    text-align: center;

}
.batch .teaching img {
    margin-top: -130px;
    margin-bottom: -100px;
}



.batch .btn-try {
    display: inline-block;
    padding: 10px 40px;
    background: #ff6c0a;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
}

.batch .btn-try:hover {
    background: #e55d00;
    color: #fff;
    text-decoration: none;
}

/* Product section */
.batch .batch-product {
    padding: 40px 15px 60px;
}

.batch .batch-product .intro {
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
}

.batch .btn-kusdom {
    display: inline-block;
    padding: 12px 50px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    margin-top: 20px;
}

.batch .btn-kusdom:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* Enquiry link */
.batch .intro a {
    text-decoration: underline;
}

/* 英文標題覆蓋 */
.en .batch .title {
    font-size: 30px;
}

/* === 分類篩選 === */
.batch .batch-category {
    margin: 20px auto 30px;
    max-width: 1100px;
    padding: 0 15px;
}

.batch .batch-category .category-link {
    display: inline-block;
    margin: 4px 3px;
    padding: 6px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s;
}

.batch .batch-category .category-link:hover,
.batch .batch-category .category-link.active {
    background: #ff6c0a;
    border-color: #ff6c0a;
    color: #fff;
    text-decoration: none;
}

/* === 產品列表 === */
.batch .product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.batch .product-list .product-item {
    width: 23%;
    margin: 1%;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
    overflow: hidden;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    transition: box-shadow .3s;
}

.batch .product-list .product-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.batch .product-list .product-thumb {
    margin-bottom: 10px;
}

.batch .product-list .product-thumb a {
    display: block;
}

.batch .product-list .product-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.batch .product-list .product-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    min-height: 40px;
    white-space: nowrap;
    padding: 10px;
    overflow:hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.batch .product-list .product-name a {
    color: #333;
    text-decoration: none;
}

.batch .product-list .product-name a:hover {
    color: #ff6c0a;
}

.batch .product-list .product-rating {
    margin-bottom: 8px;
    font-size: 13px;
    color: #f5a623;
}

.batch .product-list .product-rating .rating-stars {
    display: inline-block;
    margin-right: 4px;
}

.batch .product-list .product-rating .rating-stars .fa-stack {
    width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
}

.batch .product-list .product-rating .rating-stars .fa-stack .far {
    color: #ccc;
}

.batch .product-list .product-rating .rating-num {
    color: #666;
    font-size: 13px;
}

.batch .product-list .product-rating .rating-num .rating-count {
    color: #999;
    margin-left: 2px;
}

.batch .product-list .price-link {
    display: inline-block;
    padding: 6px 12px;
    background: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    width: 80%;
    text-decoration: none;
}

.batch .product-list .price-link:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* 響應式 */
@media (max-width: 991px) {
    .batch .product-list .product-item {
        width: 31%;
    }
}

@media (max-width: 767px) {
    .products.batch {
        background: #fff;
    }
    .batch img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    .batch {
        padding: 0 0 40px;
    }
    .batch .title {
        font-size: 28px;
    }
    .batch .customization {
        padding: 30px 15px;
    }
    .batch .teaching {
        padding: 30px 15px;
    }
    .batch .teaching .teaching-block {
        text-align: center;
    }
    .batch .step .step-icon {
        padding-top: 10px;
    }
    .batch .batch-product {
        padding: 30px 15px;
    }
    .batch .product-list .product-item {
        width: 48%;
        margin: 1% 1% 10px;
    }
    .batch .product-list .product-thumb {
        min-height: 140px;
    }
    .batch .product-list .product-thumb img {
        max-height: 140px;
    }
    .batch .batch-category .category-link {
        padding: 5px 12px;
        font-size: 13px;
        margin: 3px 2px;
    }
    .en .batch .title {
        font-size: 24px;
    }
}
