/*
Theme Name: Tixteel
Theme URI: https://www.tixteel.com
Author: Miller Lu
Author URI: https://www.tixteel.com
Description: Tixteel 官方網站佈景主題 - 專為 XT-GRIP 快鎖組合式啞鈴品牌設計的 WordPress 主題，支援 WooCommerce 商品展示
Version: 1.3.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tixteel
Tags: e-commerce, fitness, responsive-design, custom-menu, featured-images, woocommerce

Tixteel WordPress Theme, Copyright 2025 Tixteel Fitness Co., Ltd
Tixteel is distributed under the terms of the GNU GPL
*/

/* 
 * 主要樣式由 CSS/basic.css 和 CSS/main.css 提供
 * 此檔案僅用於 WordPress 主題識別
 */

/* 
 * 首頁輪播樣式
 * 美化 Swiper 輪播控制按鈕和分頁指示器
 */

/* 輪播容器 */
.indexSlide.swiper {
    position: relative;
    width: 100%;
    height: auto;
}

/* 輪播圖片 */
.indexSlide .swiper-slide img {
    width: 100%;
    height: auto;
}

/* 確保桌機版和手機版圖片正確顯示 */
.indexSlide .swiper-slide img.IMGPC {
    display: block;
}

.indexSlide .swiper-slide img.IMGMobile {
    display: none;
}

/* 手機版顯示手機版圖片 */
@media (max-width: 768px) {
    .indexSlide .swiper-slide img.IMGPC {
        display: none;
    }
    
    .indexSlide .swiper-slide img.IMGMobile {
        display: block;
    }
}

/* 左右切換按鈕 */
.indexSlide .swiper-button-prev,
.indexSlide .swiper-button-next {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0.6;
}

.indexSlide .swiper-button-prev:hover,
.indexSlide .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.indexSlide .swiper-button-prev::after,
.indexSlide .swiper-button-next::after {
    font-size: 20px;
}

/* 分頁指示器 */
.indexSlide .swiper-pagination {
    bottom: 20px;
}

.indexSlide .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s;
}

.indexSlide .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FF3F3D;
    width: 30px;
    border-radius: 6px;
}

/* 手機版樣式調整 */
@media (max-width: 768px) {
    .indexSlide .swiper-button-prev,
    .indexSlide .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .indexSlide .swiper-button-prev::after,
    .indexSlide .swiper-button-next::after {
        font-size: 16px;
    }
    
    .indexSlide .swiper-pagination {
        bottom: 10px;
    }
}

/* 商品內頁輪播按鈕樣式（與首頁一致） */
.proSlides .swiper-button-prev,
.proSlides .swiper-button-next {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0.6;
}

.proSlides .swiper-button-prev:hover,
.proSlides .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.proSlides .swiper-button-prev::after,
.proSlides .swiper-button-next::after {
    font-size: 20px;
}

/* 商品內頁分頁指示器 */
.proSlides .swiper-pagination {
    bottom: 20px;
}

.proSlides .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s;
}

.proSlides .swiper-pagination-bullet-active {
    opacity: 1;
    background: #FF3F3D;
    width: 30px;
    border-radius: 6px;
}

/* 手機版樣式調整 */
@media (max-width: 768px) {
    .proSlides .swiper-button-prev,
    .proSlides .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .proSlides .swiper-button-prev::after,
    .proSlides .swiper-button-next::after {
        font-size: 16px;
    }
}
