/* ===== Swiper 全站自訂主題樣式 ===== */

/* Pagination 分頁點 - Sony 風格 */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--morandi-pink, #E8C9BC) !important;
    opacity: 1;
}

/* Navigation 箭頭按鈕 - 全站隱藏 */
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

/* 推薦區塊容器 */
.swiper-controls-outside {
    position: relative;
    padding-bottom: 30px;
}

.swiper-controls-outside .swiper-pagination {
    bottom: 0;
}

/* TopBar 訊息輪播 */
.topbar .swiper {
    height: auto;
}

.topbar .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Luminous lightbox 圖層修正 */
.lum-lightbox {
    z-index: 9999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Luminous 上下頁按鈕 — 與外層 Swiper 同風格 */
.lum-gallery-button {
    width: 36px !important;
    height: 36px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    transition: background 0.3s !important;
}

.lum-gallery-button:hover {
    background: rgba(0, 0, 0, 0.45) !important;
}

.lum-previous-button {
    left: 16px !important;
}

.lum-next-button {
    right: 16px !important;
}

.lum-gallery-button:after {
    width: 10px !important;
    height: 10px !important;
    border-top: 2.5px solid #fff !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    top: 50% !important;
    left: 50% !important;
}

.lum-previous-button:after {
    border-left: 2.5px solid #fff !important;
    border-right: none !important;
    transform: translate(-25%, -50%) rotate(-45deg) !important;
}

.lum-next-button:after {
    border-right: 2.5px solid #fff !important;
    border-left: none !important;
    transform: translate(-75%, -50%) rotate(45deg) !important;
}

/* Luminous 關閉按鈕 */
.lum-close-button {
    width: 36px !important;
    height: 36px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    right: 16px !important;
    top: 16px !important;
    transition: background 0.3s !important;
}

.lum-close-button:hover {
    background: rgba(0, 0, 0, 0.45) !important;
    opacity: 1 !important;
}

.lum-close-button:before,
.lum-close-button:after {
    left: 17px !important;
    height: 18px !important;
    top: 9px !important;
}

/* 商品主圖 Swiper */
.main-gallery-swiper {
    position: relative;
    padding-bottom: 35px;
}

.main-gallery-swiper img {
    width: 100%;
}

.main-gallery-swiper .swiper-lazy-preloader {
    display: none;
}

.main-gallery-swiper .swiper-pagination {
    bottom: 5px;
}

/* 首頁 Banner */
.banner-swiper {
    padding-bottom: 30px;
}

.banner-swiper .swiper-pagination {
    bottom: 0;
}

.banner-swiper img {
    width: 100%;
}

/* Hero slider fade */
.hero-swiper .swiper-slide {
    background-color: white;
}

/* 限時特價外部控制按鈕 */
.new-product-controls button {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.new-product-controls button i {
    font-size: 1.2rem;
}
