/* ========================================================================= */
/* ============================== Hero 區域 =============================== */
/* ========================================================================= */

/* -- 主視覺 Slider 區 -- */
.slider-section {
    position: relative;
    height: 520px;
    overflow: hidden;
}
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y; /* 禁止橫向滾動 */
}
.watch-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 326px;
    max-width: 90vw;
    transform-origin: center;
    transition: transform 0.45s ease, opacity 0.45s ease;
}
.watch-slide img {
    max-width: 326px;
    max-height: 326px;
    width: auto;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    margin: 0 auto;
}

/* -- 四種滑動狀態 -- */
.ws-current {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
}
.ws-next {
    transform: translate(calc(-50% + 35%), -50%) scale(0.8);
    opacity: 0.45;
    z-index: 2;
}
.ws-next2 {
    transform: translate(calc(-50% + 60%), -50%) scale(0.65);
    opacity: 0.45;
    z-index: 1;
}
.ws-hidden {
    transform: translate(calc(-50% - 160%), -50%) scale(0.65);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* -- 分頁圓點 -- */
.slider-pagination {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border: 1px solid #c8a870;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
}
.slider-dot.active {
    width: 40px;
    height: 10px;
    background: #c8a870;
    border: none;
    border-radius: 6px;
}

/* -- 左側 Info 區 (桌機) -- */
.info-section {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40%;
}
.btn-action {
    display: inline-block;
    background: #e0c3a0;
    color: #000;
    border: none;
    padding: 0.6rem 2.5rem;
    font-weight: 600;
}
.watch-price {
    color: #c0c0c0;
    font-size: 0.95rem;
}

/* ========================================================================= */
/* ============================== RWD 區域 =============================== */
/* ========================================================================= */

/* -- 平板寬度 (max-width: 875.98px) -- */
@media (max-width: 875.98px) {
    .info-section {
        width: 45%;
        padding-right: 1rem;
    }
    .watch-slide {
        left: 55%;
    }
    .ws-current {
        transform: translate(-50%, -50%) scale(1);
    }
    .ws-next {
        transform: translate(calc(-50% + 55%), -50%) scale(0.6);
    }
    .ws-next2 {
        opacity: 0 !important;
        pointer-events: none;
    }
}

/* -- 手機寬度 (max-width: 575.98px) -- */
@media (max-width: 575.98px) {
    .watch-slide {
        width: 326px;
    }
    .ws-next {
        transform: translate(calc(-50% + 45%), -50%) scale(0.55);
        opacity: 0.35;
    }
    .ws-next2 {
        opacity: 0 !important;
        pointer-events: none;
    }
}

/* ========================================================================= */
/* ========================= Price 卡片滑動區 =========================== */
/* ========================================================================= */

/* -- Price 區塊 -- */
.price-slider {
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    margin-top: 3rem;
}
.price-track {
    display: flex;
    justify-content: flex-start;
    gap: var(--gap);
    transition: transform 0.45s ease;
    touch-action: pan-y;
}
:root {
    --gap: 2rem;
}

/* -- Price 卡片 -- */
.price-card {
    text-align: center;
    flex: 0 0 var(--basis);
    max-width: var(--basis);
}
.price-img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}
.btn-details {
    display: inline-block;
    padding: 0.4rem 1.4rem;
    border: 1px solid #c8a870;
    color: #c8a870;
    background: transparent;
}

/* -- RWD 每列顯示數量 3 / 2 / 1 -- */
@media (min-width: 876px) {
    :root {
        --basis: calc((100% - 2 * var(--gap)) / 3);
    }
}
@media (max-width: 875.98px) and (min-width: 576px) {
    :root {
        --basis: calc((100% - 1 * var(--gap)) / 2);
    }
}
@media (max-width: 575.98px) {
    :root {
        --basis: 100%;
    }
}

/* -- Price 區箭頭 -- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 2rem;
    color: #c8a870;
    opacity: 0.6;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}
.nav-btn:hover {
    opacity: 1;
}
.prev {
    left: 0.5rem;
}
.next {
    right: 0.5rem;
}

/* -- Price 區圓點 -- */
.price-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 0.75rem;
}
.dot {
    width: 10px;
    height: 10px;
    border: 2px solid #c8a870;
    border-radius: 50%;
    background: transparent;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    width: 32px;
    background: #c8a870;
    border: none;
    border-radius: 5px;
    opacity: 1;
}

/* ========================================================================= */
/* ========================== 強制回復桌機版 ============================== */
/* ========================================================================= */
@media (min-width: 876px) {
    .slider-section {
        height: 600px; /* 桌機版放大 */
    }
    .watch-slide {
        left: 50%;
        width: 400px; /* 桌機版放大 */
    }
    .watch-slide img {
        max-width: 400px; /* 桌機版放大 */
        max-height: 400px; /* 桌機版放大 */
        width: auto;
        display: block;
        -webkit-user-drag: none;
        user-select: none;
        margin: 0 auto;
    }
    .ws-current {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        z-index: 3;
    }
    .ws-next {
        transform: translate(calc(-50% + 35%), -50%) scale(0.8);
        opacity: 0.45;
        z-index: 2;
    }
    .ws-next2 {
        transform: translate(calc(-50% + 60%), -50%) scale(0.65);
        opacity: 0.45;
        z-index: 1;
    }
    .ws-next3,
    .ws-next4 {
        opacity: 0 !important;
        pointer-events: none;
    }
}

/* ========================================================================= */
/* ========================= 平板 Only 限制區域 =========================== */
/* ========================================================================= */
@media (max-width: 875.98px) and (min-width: 576px) {
    .watch-slide {
        left: 55%;
        width: 326px;
        cursor: pointer;
    }
    .ws-current {
        transform: translate(-50%, -50%) scale(1);
        z-index: 3;
    }
    .ws-next {
        transform: translate(calc(-50% + 60%), -50%) scale(0.6);
        opacity: 0.45;
        z-index: 2;
    }
    .ws-next2,
    .ws-next3,
    .ws-next4,
    .ws-hidden {
        opacity: 0 !important;
        pointer-events: none;
    }
    .slider-pagination {
        display: flex !important;
    }
}

/* ========================================================================= */
/* ============================== 手機 Only 區 ============================ */
/* ========================================================================= */
@media (max-width: 575.98px) {
    .slider-track {
        height: calc(75vh - 60px) !important;
    }
    #slider-info {
        height: 25vh !important;
    }
    #logoBrand {
        height: 15px !important;
    }
    .info-section {
        display: none;
    }
    .slider-section {
        height: 60vh;
        min-height: 400px;
        width: 100% !important;
    }
    .watch-slide {
        left: 50%;
        cursor: pointer;
    }
    .ws-current {
        transform: translate(-50%, -50%) scale(1);
        z-index: 4;
    }
    .ws-next {
        transform: translate(calc(-50% + 30%), -50%) scale(0.8);
        opacity: 0.6;
        z-index: 3;
    }
    .ws-next2 {
        transform: translate(calc(-50% + 40%), -50%) scale(0.7);
        opacity: 0.4;
        z-index: 2;
    }
    .ws-next3 {
        transform: translate(calc(-50% + 50%), -50%) scale(0.6);
        opacity: 0.7;
        z-index: 1;
    }
    .ws-next4 {
        transform: translate(calc(-50% + 60%), -50%) scale(0.5);
        opacity: 0.6;
        z-index: 0;
    }
    .slider-pagination {
        display: none;
    }

    /* 手機 Info 面板 */
    .mobile-watch-info {
        position: sticky;
        bottom: 0;
        z-index: 20;
        width: 100%;
        background: #000;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1rem;
        box-sizing: border-box;
    }
    .mobile-watch-info button {
        border: none;
        background: none;
        color: #fff;
        font-size: 2rem;
        opacity: 0.6;
        width: 20%;
    }
    .mobile-watch-info button:active {
        opacity: 1;
    }
    .mob-text {
        width: 60%;
        text-align: center;
    }
    .mob-title {
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin: 0;
    }
    .mob-sub {
        font-size: 0.85rem;
        color: #b0b0b0;
        margin: 0.25rem 0 0.75rem;
    }
    .mob-change {
        font-size: 1em;
        color: #2ecc71; /* 綠色表示獲利 */
    }
    .mob-link {
        font-size: 1rem;
        color: #c8a870;
        text-decoration: none;
        letter-spacing: 0.15rem;
    }
}
