﻿@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap");


/* =====================================================
   01. Base
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        Arial,
        sans-serif;

    color: #252525;

    background-color: #cf5817;
    background-image: url("images/bg.png");
    background-position: center top;
		background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   02. Header
===================================================== */

.header {
    width: 100%;
    height: 50px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: calc(100% - 40px);
    height: 50px;

    margin: 0 auto;
}


/* Logo */

.logo img {
    display: block;
    width: auto;
    height: 40px;
}


/* =====================================================
   03. 電腦版右側購物車按鈕
===================================================== */

.floating-cart-btn {
    position: fixed;

    top: 5%;
    right: 0;

    z-index: 1500;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    min-width: 92px;

    padding: 18px 9px;

    border: 0;
    border-radius: 12px 0 0 12px;

    background: #173d72;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);

    cursor: pointer;

    transform: translateY(-50%);

    transition: background .2s ease;
}

.floating-cart-btn:hover {
    background: #24558b;
}

.cart-icon {
    font-size: 22px;
}

.cart-count {
    color: #ffd84d;
    font-size: 13px;
}


/* =====================================================
   04. 左側導覽選單
===================================================== */

.side-menu {
    position: fixed;

    top: 200px;
    left: 18px;

    z-index: 900;

    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 120px;
}

.side-menu a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 44px;

    padding: 10px 12px 10px 28px;

    background: rgba(255, 255, 255, .94);

    border: 1px solid rgba(23, 61, 114, .15);
    border-radius: 22px;

    color: #173d72;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}


/* 左側黃色圓點 */

.side-menu a::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 12px;

    width: 8px;
    height: 8px;

    background: #f3b900;
    border-radius: 50%;

    transform: translateY(-50%);
}

.side-menu a:hover {
    background: #173d72;
    color: #fff;

    transform: translateX(5px);
}

.side-menu a:hover::before {
    background: #ffd94f;
}


/* =====================================================
   05. Hero 主視覺
===================================================== */

.hero {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    overflow: hidden;
}


/* 主視覺 */

.hero-title {
    display: block;

    width: min(90%, 1200px);
    height: auto;

    margin: 0 auto;

    animation-delay: .2s;
}


/* 新品上市 */

.hero-new {
    position: absolute;

    top: 3%;
    left: 10%;

    z-index: 2;

    width: 14%;
    max-width: 180px;
    height: auto;

    animation-delay: .5s;
}


/* 日期 / 85折 */

.hero-date {
    position: absolute;

    top: 69%;
    left: 31%;

    z-index: 3;

    width: 35%;
    max-width: 500px;
    height: auto;

    animation-duration: 1.5s;
}


/* =====================================================
   06. Main
===================================================== */

.main-content {
    width: min(980px, calc(100% - 50px));

    margin: 0 auto;
}

.page-section {
    width: 100%;

    margin: 35px auto 90px;

    scroll-margin-top: 40px;
}


/* =====================================================
   07. Section Title
===================================================== */

.section-title {
    position: relative;

    z-index: 2;

    margin-bottom: -6px;

    text-align: center;

    opacity: 0;

    transform: translateY(120px);

    transition:
        opacity 1s ease-out,
        transform 1s ease-out;
}

.section-title img {
    display: inline-block;

    width: min(550px, 55%);
    height: auto;
}

.section-title.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =====================================================
   08. 共用內容區
===================================================== */

.content-panel {
    width: 100%;

    padding: 52px 50px 55px;

    background: rgba(255, 255, 255, .7);

    border: 7px solid #fff;
    border-radius: 14px;

    box-shadow: 0 8px 22px rgba(71, 48, 12, .10);
}


/* =====================================================
   09. 商品介紹
===================================================== */

.intro-copy {
    margin-bottom: 40px;

    text-align: center;
}

.intro-copy h2 {
    margin: 0 0 8px;

    color: #173d72;

    font-size: 35px;
    font-weight: 800;
}

.intro-copy p {
    margin: 0;

    font-size: 24px;
    line-height: 1.7;
}

.intro-copy strong {
    color: #e86c29;
}


/* =====================================================
   10. 四大發音
===================================================== */

.sub-section {
    margin-bottom: 55px;
}

.sub-title {
    margin-bottom: 24px;

    text-align: center;
}

.sub-title span {
    position: relative;

    display: inline-block;

    padding: 0 25px;

    color: #173d72;

    font-size: 23px;
    font-weight: 800;
}

.sub-title span::before,
.sub-title span::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 45px;
    height: 1px;

    background: #e6b72c;
}

.sub-title span::before {
    right: 100%;
}

.sub-title span::after {
    left: 100%;
}


/* 四欄 */

.phonics-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.phonics-item {
    margin: 0;
    padding-bottom: 12px;

    text-align: center;
}

.phonics-item img {
    display: block;

    width: 100%;
    height: auto;
}

.phonics-item figcaption {
    margin-top: 12px;

    color: #173d72;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.phonics-item figcaption small {
    display: block;

    font-size: inherit;
}


/* =====================================================
   11. 產品特色
===================================================== */

.feature-area {
    padding-top: 35px;

    border-top: 1px solid #f1c340;
}


/* 標題 */

.content-heading {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 25px;
}

.heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: #efb600;
    border-radius: 50%;

    color: #fff;

    font-size: 16px;
}

.content-heading h3 {
    margin: 0;

    color: #173d72;

    font-size: 25px;
}


/* 主特色 */

.feature-main {
    display: grid;

    grid-template-columns: 160px 1fr;

    align-items: center;

    margin-bottom: 14px;
    padding: 22px 25px;

    background: #173d72;
    color: #fff;
}

.feature-main-title {
    font-size: 20px;
    font-weight: 800;
}

.feature-main p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    text-align: left;
}


/* 其他特色 */

.feature-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid #dedede;
    border-left: 1px solid #dedede;
}

.feature-item {
    min-height: 90px;

    padding: 20px 22px;

    background: #fffdf7;

    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.feature-item h4 {
    position: relative;

    margin: 0 0 7px;
    padding-left: 17px;

    color: #173d72;

    font-size: 17px;
}

.feature-item h4::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 0;

    width: 7px;
    height: 7px;

    background: #eeb500;
    border-radius: 50%;
}

.feature-item p {
    margin: 0;
    padding-left: 17px;

    color: #555;

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   12. 商品規格
===================================================== */

.spec-layout {
    display: grid;

    grid-template-columns: 45% 55%;

    gap: 45px;

    align-items: center;
}


/* -------------------------
   Gallery
------------------------- */

.main-photo {
    width: 100%;

    overflow: hidden;

    background: #f5f5f5;

    border: 1px solid #e4e4e4;
}

.main-photo img {
    display: block;

    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
}


/* 縮圖 */

.thumb-list {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 7px;

    margin-top: 10px;
}

.thumb-item {
    margin: 0;
    padding: 3px;

    overflow: hidden;

    background: #fff;

    border: 2px solid transparent;

    cursor: pointer;
}

.thumb-item img {
    display: block;

    width: 100%;
    height: 75px;

    object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #e6b200;
}


/* -------------------------
   規格文字
------------------------- */

.spec-info {
    padding-right: 10px;

    text-align: left;
}

.eyebrow {
    margin: 0 0 6px;

    color: #e1782b;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.spec-info h2 {
    margin: 0 0 8px;

    color: #173d72;

    font-size: 26px;
    line-height: 1.35;
}

.spec-lead {
    margin: 0 0 25px;

    color: #444;

    font-size: 17px;
    line-height: 1.7;
}

.package-size {
    margin-bottom: 20px;
    padding: 13px 15px;

    background: #fff4d8;

    color: #493b28;

    font-size: 15px;
    font-weight: 700;
}

.package-size span {
    margin-left: 8px;

    color: #777;

    font-weight: 500;
}


/* 規格清單 */

.spec-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.spec-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 3px;

    border-bottom: 1px solid #ddd;
}

.spec-list li:first-child {
    border-top: 1px solid #ddd;
}

.spec-list strong {
    color: #173d72;

    font-size: 16px;
}

.spec-list small {
    display: block;

    margin-top: 8px;

    color: #777;

    font-size: 13px;
}

.spec-list b {
    flex: 0 0 auto;

    color: #e1762a;

    font-size: 17px;
}


/* =====================================================
   13. 商品價格 / 購買
===================================================== */

.spec-purchase {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-top: 28px;
    padding-top: 22px;

    border-top: 2px solid #173d72;
}


/* 價格 */

.spec-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

    gap: 7px 10px;
}

.price-label {
    color: #173d72;

    font-size: 14px;
    font-weight: 700;
}

.price-main {
    display: flex;
    align-items: baseline;

    color: #e76524;
}

.price-main small {
    margin-right: 3px;

    font-size: 15px;
    font-weight: 700;
}

.price-main strong {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.original-price {
    color: #999;

    font-size: 13px;

    text-decoration: line-through;
}


/* 購買按鈕 */

.spec-buy-btn {
    flex: 0 0 auto;

    min-width: 150px;

    padding: 13px 25px;

    background: #ef762c;

    border: 0;
    border-radius: 5px;

    color: #fff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.spec-buy-btn:hover {
    background: #d9601d;

    transform: translateY(-2px);
}


/* =====================================================
   14. 系列教材
===================================================== */

.book-intro {
    max-width: 850px;

    margin: 0 auto 35px;

    text-align: center;
}

.book-intro h2 {
    margin: 0 0 15px;

    color: #173d72;

    font-size: 26px;
}

.book-intro p,
.book-copy {
    color: #333;

    font-size: 15px;
    line-height: 1.9;

    text-align: justify;
}

.book-group + .book-group {
    margin-top: 60px;
    padding-top: 50px;

    border-top: 1px solid #ddd;
}

.book-group h3 {
    margin: 0 0 26px;

    color: #173d72;

    font-size: 22px;

    text-align: center;
}


/* 教材 Grid */

.book-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;

    padding: 0 20px;
}

.book-item {
    margin: 0;

    text-align: center;
}

.book-item img {
    display: block;

    width: 100%;
    height: auto;

    border: 1px solid #ededed;
}

.book-item figcaption {
    display: -webkit-box;

    min-height: 50px;

    margin: 10px 0;

    overflow: hidden;

    color: #173d72;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.book-item figcaption span {
    display: block;
}

.book-copy {
    max-width: 900px;

    margin: 30px auto 0;

    font-size: 16px;
}


/* 價格 */

.price {
    margin-bottom: 10px;
}

.price strong {
    display: block;

    margin-bottom: 13px;

    color: #e33c39;

    font-size: 15px;
}

.price span {
    display: block;

    color: #6c7b8d;

    font-size: 13px;
}


/* 一般購買按鈕 */

.buy-btn {
    display: inline-block;

    margin-top: 10px;
    padding: 10px;

    background: #f48924;

    border-radius: 8px;

    color: #fff;

    font-size: 1.1rem;
    font-weight: 700;

    text-align: center;

    transition: background .25s ease;
}

.buy-btn:hover {
    background: #ff6a00;
    color: #fff;
}


/* =====================================================
   15. 更多教具
===================================================== */

.more-heading {
    margin-bottom: 35px;

    text-align: center;
}

.more-heading span {
    padding: 0 5px;

    color: #e17126;

    font-weight: 800;
}

.more-heading h2 {
    margin: 0;

    color: #173d72;

    font-size: 26px;
}


/* =====================================================
   16. 購物車側欄
===================================================== */

.cart-panel {
    position: fixed;

    top: 0;
    right: -420px;

    z-index: 3000;

    display: flex;
    flex-direction: column;

    width: 350px;
    max-width: 90vw;
    height: 100vh;

    background: #fff;

    box-shadow: -5px 0 25px rgba(0, 0, 0, .18);

    transition: right .3s ease;
}

.cart-panel.open {
    right: 0;
}


/* 購物車 Header */

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 20px;

    background: #2376d8;
    color: #fff;
}

.cart-title {
    font-size: 18px;
    font-weight: 800;
}

.qty {
    margin-left: 5px;

    color: #ffd43b;
}

.cart-close {
    width: 35px;
    height: 35px;

    padding: 0;

    background: none;

    border: 0;

    color: #fff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/* 商品列表 */

.cart-content {
    flex: 1;

    overflow-y: auto;

    padding: 10px;
}

.cart-list {
    width: 100%;
}

.cart-item {
    display: grid;

    grid-template-columns: 30px 60px 1fr;

    align-items: center;

    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid #ddd;
}

.cart-no {
    color: #999;

    font-size: 13px;

    text-align: center;
}

.cart-item-image {
    display: block;

    width: 60px;
    height: 60px;

    object-fit: cover;

    border: 1px solid #eee;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-category {
    margin-bottom: 3px;

    color: #999;

    font-size: 12px;
}

.cart-item-name {
    color: #333;

    font-size: 15px;
    font-weight: 700;
}

.cart-item-price {
    margin-top: 10px;

    color: #e36b26;

    font-size: 15px;
    font-weight: 800;
}


/* 結帳 */

.checkout-area {
    padding: 15px 20px;

    border-top: 1px solid #ddd;
}

.cart-checkout-btn {
    display: block;

    width: 100%;

    padding: 13px;

    background: #ef762c;

    border-radius: 4px;

    color: #fff;

    font-size: 16px;
    font-weight: 800;

    text-align: center;
}


/* 注意事項 */

.event-notice {
    padding: 10px 20px;

    color: #777;

    font-size: 12px;
    line-height: 1.7;
}

.event-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #555;
}

.event-notice p {
    margin: 0;
}


/* 黑色遮罩 */

.cart-overlay {
    position: fixed;

    inset: 0;

    z-index: 2500;

    visibility: hidden;
    opacity: 0;

    background: rgba(0, 0, 0, .35);

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.cart-overlay.show {
    visibility: visible;
    opacity: 1;
}


/* 手機底部購物車：電腦隱藏 */

.mobile-cart-bar {
    display: none;
}


/* =====================================================
   17. 回頂端
===================================================== */

#TOP {
    position: fixed;

    right: 10px;
    bottom: 50px;

    z-index: 9;

    display: none;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    opacity: .65;

    text-align: center;

    box-shadow:
        rgba(60, 64, 67, .3) 0 1px 2px 0,
        rgba(60, 64, 67, .15) 0 2px 6px 2px;

    transition: opacity .5s ease;
}

.material-symbols-outlined {
    padding-top: 3px;

    font-size: 2.5rem;
}


/* =====================================================
   18. Footer
===================================================== */

.site-footer {
    padding: 12px 20px;

    background: #37424b;
    color: #fff;

    text-align: center;
}

.site-footer p {
    margin: 0;

    font-size: 13px;
}


/* =====================================================
   19. Tablet
   769px ～ 1024px
===================================================== */

@media screen and (min-width: 769px) and (max-width: 1024px) {

    body {
        background-image: url("images/bg_m.png");
    }

    .hero-title {
        width: min(85%, 1200px);
    }

    .main-content {
        width: min(94%, 1000px);
    }

    .content-panel {
        padding: 40px 35px;
    }

}


/* =====================================================
   20. Mobile
   768px 以下
===================================================== */

@media screen and (max-width: 768px) {

    /* ---------------------------------
       Base / Background
    --------------------------------- */

    body {
        padding-bottom: 120px;

        background-image: url("images/bg_m.png");
        background-size: 100% auto;

        /*
        如果手機 fixed 有問題，
        可以改為：
        background-attachment: scroll;
        */
    }


    /* ---------------------------------
       Header
    --------------------------------- */

    .header {
        height: 54px;
    }

    .header-inner {
        width: calc(100% - 20px);
        height: 54px;
    }

    .logo img {
        height: 38px;
    }


    /* ---------------------------------
       隱藏電腦右側購物車按鈕
    --------------------------------- */

    .floating-cart-btn {
        display: none;
    }


    /* ---------------------------------
       手機底部導覽
    --------------------------------- */

    .side-menu {
        position: fixed;

        top: auto;
        right: 0;
        bottom: 58px;
        left: 0;

        z-index: 1900;

        display: flex;
        flex-direction: row;

        width: 100%;

        gap: 6px;

        padding: 8px 10px;

        overflow-x: auto;
        overflow-y: hidden;

        background: rgba(255, 255, 255, .96);

        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;

        box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .side-menu::-webkit-scrollbar {
        display: none;
    }

    .side-menu a {
        flex: 0 0 auto;

        min-height: 0;

        padding: 8px 13px;

        background: #fff;

        border: 1px solid #ddd;
        border-radius: 18px;

        color: #173d72;

        font-size: 13px;
        font-weight: 700;

        white-space: nowrap;

        box-shadow: none;
    }

    .side-menu a::before {
        display: none;
    }

    .side-menu a:hover {
        background: #fff;
        color: #173d72;

        transform: none;
    }


    /* ---------------------------------
       Hero
    --------------------------------- */

    .hero-title {
        width: 100%;
    }

    .hero-new {
        top: 2%;
        left: 4%;

        width: 16%;
    }

    .hero-date {
        left: 25%;

        width: 50%;
    }


    /* ---------------------------------
       Main
    --------------------------------- */

    .main-content {
        width: calc(100% - 20px);
    }

    .page-section {
        margin: 20px auto 55px;

        scroll-margin-top: 80px;
    }

    .section-title {
        margin-bottom: -8px;
    }

    .section-title img {
        width: 72%;
    }

    .content-panel {
        padding: 30px 17px 32px;

        border-radius: 10px;
    }


    /* ---------------------------------
       Intro
    --------------------------------- */

    .intro-copy {
        margin-bottom: 30px;
    }

    .intro-copy h2 {
        font-size: 21px;
    }

    .intro-copy p {
        font-size: 15px;
    }


    /* ---------------------------------
       Phonics
    --------------------------------- */

    .phonics-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px 10px;
    }

    .phonics-item figcaption {
        font-size: 12px;
    }

    .sub-title span {
        font-size: 17px;
    }

    .sub-title span::before,
    .sub-title span::after {
        width: 22px;
    }


    /* ---------------------------------
       Feature
    --------------------------------- */

    .feature-main {
        display: block;

        padding: 18px;
    }

    .feature-main-title {
        margin-bottom: 7px;

        font-size: 17px;
    }

    .feature-main p {
        font-size: 13px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-item {
        min-height: auto;

        padding: 17px;
    }


    /* ---------------------------------
       Spec
    --------------------------------- */

    .spec-layout {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .thumb-item img {
        height: 58px;
    }

    .spec-info {
        padding: 0;
    }

    .spec-info h2 {
        font-size: 23px;
    }

    .spec-lead {
        font-size: 15px;
    }

    .package-size span {
        display: block;

        margin: 3px 0 0;
    }


    /* 價格 / 購買 */

    .spec-purchase {
        display: block;

        margin-top: 22px;
        padding-top: 18px;
    }

    .spec-price {
        margin-bottom: 15px;
    }

    .price-main strong {
        font-size: 32px;
    }

    .spec-buy-btn {
        width: 100%;
    }


    /* ---------------------------------
       Books
    --------------------------------- */

    .book-intro h2,
    .more-heading h2 {
        font-size: 21px;
    }

    .book-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 22px 20px;

        padding: 0;
    }

    .book-item figcaption {
        font-size: 12px;
    }

    .book-intro p,
    .book-copy {
        font-size: 14px;
        line-height: 1.8;
    }


    /* ---------------------------------
       手機底部購物車列
    --------------------------------- */

    .mobile-cart-bar {
        position: fixed;

        right: 0;
        bottom: 0;
        left: 0;

        z-index: 2000;

        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        height: 58px;

        padding: 0 12px 0 18px;

        background: #fff;

        border-top: 1px solid #ddd;

        box-shadow: 0 -3px 12px rgba(0, 0, 0, .12);
    }

    .mobile-cart-info {
        color: #444;

        font-size: 14px;
        font-weight: 500;
    }

    .mobile-cart-info strong {
        margin: 0 3px;

        color: #e76524;

        font-size: 18px;
        font-weight: 800;
    }

    .mobile-cart-btn {
        display: flex;
        align-items: center;

        gap: 7px;

        padding: 9px 15px;

        background: #173d72;

        border: 0;
        border-radius: 4px;

        color: #fff;

        font-family: inherit;
        font-size: 14px;
        font-weight: 700;

        cursor: pointer;
    }

    .cart-arrow {
        font-size: 21px;
        line-height: 1;
    }


    /* ---------------------------------
       手機購物車由左側滑出
    --------------------------------- */

    .cart-panel {
        right: auto;
        left: -100%;

        width: min(88vw, 340px);
        max-width: none;

        height: 100vh;
        max-height: 100dvh;

        padding-bottom: 60px;

        box-shadow: 5px 0 25px rgba(0, 0, 0, .2);

        transition: left .3s ease;
    }

    .cart-panel.open {
        right: auto;
        left: 0;
    }


    /* 購物車打開時隱藏底部兩列 */

    body.cart-open .mobile-cart-bar,
    body.cart-open .side-menu {
        display: none;
    }


    /* ---------------------------------
       回頂端
    --------------------------------- */

    #TOP {
        width: 50px;
        height: 50px;

        bottom: 12%;
    }

    .material-symbols-outlined {
        padding-top: 0;

        font-size: 2rem;
    }

}