/*======================================
//--//-->   STYLES GENERALES
======================================*/

body {
    font-family: '微軟正黑體', 'Arial', 'Poppins', sans-serif;
    color: #555555;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
}

a {
    color: #000000;
    transition: all 0.5s ease;
}

    a:hover {
        color: #03a9f4;
        text-decoration: none;
    }

.color-a {
    color: #000000;
}

.color-b {
    color: #03a9f4;
}

.color-d {
    color: #adadad;
}

.txt-d {
    color: #adadad !important;
}

.color-text-a {
    color: #555555;
    padding-left: 5px;
}

.color-text-b {
    color: #e97323;
    padding-left: 5px;
}



/*------/ Bg Image /------*/

.bg-image {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

/*------/ Space Padding /------*/

.section-t10 {
    padding-top: 10rem;
}

.section-t8 {
    padding-top: 8rem;
}

.section-t6 {
    padding-top: 6rem;
}

.section-t4 {
    padding-top: 4rem;
}

.section-t3 {
    padding-top: 3rem;
}

.section-b2 {
    padding-bottom: 2rem;
}

.section-tb85 {
    padding: 8rem 0 5rem 0;
}

/*------/ Title  樣式/------*/

/* 副標 左方直線樣式*/
.title-box-b {
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

    .title-box-b .title-b {
        font-weight: 600;
        font-size: 1.6rem; /*2rem*/
        padding-left: 18px;
    }

        .title-box-b .title-b::before {
            content: '';
            position: absolute;
            width: 10px;
            height: 50%;
            background-color: #03a9f4;
            left: 0px;
            border-radius: 2px;
        }

@media (max-width: 767px) {
    .title-box-b .title-b {
        font-size: 1.4rem;
    }

    .title-box-b {
        margin-bottom: 0;
    }
}

/* 副標 下方橫線樣式*/
.title-box-d {
    padding-bottom: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
}

    .title-box-d .title-d {
        font-weight: 600;
        font-size: 1.6rem; /*2rem*/
    }

        .title-box-d .title-d:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background-color: #03a9f4;
            bottom: 20px;
            left: 0;
        }

/*------/ Display Table & Table Cell /------*/

.display-table {
    width: 100%;
    height: 100%;
    display: table;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

/* Prelaoder */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

    #preloader:before {
        content: '';
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #f2f2f2;
        border-top: 6px solid #03a9f4;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        -webkit-animation: animate-preloader 1s linear infinite;
        animation: animate-preloader 1s linear infinite;
    }

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*======================================
//--//-->   NAVBAR
======================================*/

.navbar-default {
    transition: all 0.5s ease-in-out;
    background-color: #ffffff;
    padding-top: 10.5px;
    padding-bottom: 10.5px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 1px 2px 15px rgba(100, 100, 100, 0.3);
}

    .navbar-default .nav-search {
        color: #000000;
        font-size: 1.5rem;
    }

    .navbar-default.navbar-reduce {
        box-shadow: 1px 2px 15px rgba(100, 100, 100, 0.3);
    }

    .navbar-default.navbar-trans,
    .navbar-default.navbar-reduce {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-bottom: 5px solid #03a9f4;
    }

        .navbar-default.navbar-trans .nav-item,
        .navbar-default.navbar-reduce .nav-item {
            position: relative;
            padding-right: 10px;
            padding-bottom: 8px;
            margin-left: 0;
        }

        .navbar-default.navbar-trans .nav-link,
        .navbar-default.navbar-reduce .nav-link {
            font-size: 1rem;
            color: #000000;
            /*font-weight: 600;*/
            letter-spacing: 0.03em;
            transition: all 0.1s ease-in-out;
            position: relative;
            padding-left: 0;
            padding-right: 0;
        }

@media (max-width: 974px) {
    .navbar-default.navbar-trans .nav-link,
    .navbar-default.navbar-reduce .nav-link {
        margin: auto 2rem;
    }

    .navbar-nav {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
}

@media (max-width: 560px) {
    .navbar-default.navbar-trans .nav-link,
    .navbar-default.navbar-reduce .nav-link {
        margin: auto 3rem;
    }
}

@media (max-width: 360px) {
    .navbar-default.navbar-trans .nav-link,
    .navbar-default.navbar-reduce .nav-link {
        margin: auto 1rem;
    }
}

.navbar-default.navbar-trans .nav-link:before,
.navbar-default.navbar-reduce .nav-link:before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 0;
    background-color: #03a9f4;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    transform-origin: right;
    transition: opacity 0.2s ease-out 0.3s, -webkit-transform 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out 0.3s;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out 0.3s, -webkit-transform 0.2s ease-out;
}

.navbar-default.navbar-trans .nav-link:hover,
.navbar-default.navbar-reduce .nav-link:hover {
    color: #000000;
}

    .navbar-default.navbar-trans .nav-link:hover:before,
    .navbar-default.navbar-reduce .nav-link:hover:before {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        -webkit-transform-origin: left;
        transform-origin: left;
    }

.navbar-default.navbar-trans .show > .nav-link:before,
.navbar-default.navbar-trans .active > .nav-link:before,
.navbar-default.navbar-trans .nav-link.show:before,
.navbar-default.navbar-trans .nav-link.active:before,
.navbar-default.navbar-reduce .show > .nav-link:before,
.navbar-default.navbar-reduce .active > .nav-link:before,
.navbar-default.navbar-reduce .nav-link.show:before,
.navbar-default.navbar-reduce .nav-link.active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.navbar-default.navbar-trans .nav-link:before {
    background-color: #03a9f4;
}

.navbar-default.navbar-trans .nav-link:hover {
    color: #000000;
}

.navbar-default.navbar-trans .show > .nav-link,
.navbar-default.navbar-trans .active > .nav-link,
.navbar-default.navbar-trans .nav-link.show,
.navbar-default.navbar-trans .nav-link.active {
    color: #000000;
}

.navbar-default.navbar-reduce {
    transition: all 0.5s ease-in-out;
    padding-top: 19px;
    padding-bottom: 19px;
}

@media (max-width: 767px) {
    .navbar-default.navbar-reduce {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

.navbar-default.navbar-reduce .nav-link {
    color: #000000;
}

    .navbar-default.navbar-reduce .nav-link:before {
        background-color: #03a9f4;
    }

    .navbar-default.navbar-reduce .nav-link:hover {
        color: #000000;
    }

    .navbar-default.navbar-reduce .show > .nav-link,
    .navbar-default.navbar-reduce .active > .nav-link,
    .navbar-default.navbar-reduce .nav-link.show,
    .navbar-default.navbar-reduce .nav-link.active {
        color: #000000;
    }

.navbar-default.navbar-reduce .navbar-brand {
    color: #000000;
}

.navbar-default .dropdown .dropdown-menu {
    border-top: 0;
    border-left: 4px solid #03a9f4;
    border-right: 0;
    border-bottom: 0;
    -webkit-transform: translate3d(0px, -40px, 0px);
    transform: translate3d(0px, -40px, 0px);
    opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.3, 0.65, 0.355, 1) 0s, opacity 0.31s ease 0s, height 0s linear 0.36s;
    margin: 0;
    border-radius: 0;
    padding: 12px 0;
}

    .navbar-default .dropdown .dropdown-menu .dropdown-item {
        padding: 12px 18px;
        transition: all 500ms ease;
        font-weight: 600;
        min-width: 220px;
    }

        .navbar-default .dropdown .dropdown-menu .dropdown-item:hover {
            background-color: #ffffff;
            color: #2eca6a;
            transition: all 500ms ease;
        }

        .navbar-default .dropdown .dropdown-menu .dropdown-item.active {
            background-color: #ffffff;
            color: #2eca6a;
        }

.navbar-default .dropdown:hover .dropdown-menu {
    -webkit-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
    visibility: visible;
    opacity: 1;
    filter: alpha(opacity=1);
}

/*------/ Hamburger Navbar /------*/

.navbar-toggler {
    position: relative;
}

    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: 0;
    }

    .navbar-toggler span {
        display: block;
        background-color: #000000;
        height: 3px;
        width: 25px;
        margin-top: 4px;
        margin-bottom: 4px;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        left: 0;
        opacity: 1;
    }

        .navbar-toggler span:nth-child(1),
        .navbar-toggler span:nth-child(3) {
            transition: -webkit-transform 0.35s ease-in-out;
            transition: transform 0.35s ease-in-out;
            transition: transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
        }

    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        position: absolute;
        left: 12px;
        top: 10px;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        opacity: 0.9;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        height: 12px;
        visibility: hidden;
        background-color: transparent;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        position: absolute;
        left: 12px;
        top: 10px;
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
        opacity: 0.9;
    }

/*======================================
//--//-->   BOX COLAPSE
======================================*/

.box-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
    background-color: #ffffff;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: all 0.6s ease;
}

    .box-collapse .title-box-d {
        top: 30px;
        left: 60px;
        opacity: 0;
        transition: all 1s ease;
        transition-delay: 0.3s;
    }

.box-collapse-wrap {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 6.5rem;
    bottom: 5rem;
    padding-left: 10%;
    padding-right: 10%;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    -webkit-transform: translateY(3rem);
    transform: translateY(3rem);
    transition: opacity 0.5s 0.5s ease, -webkit-transform 0.5s 0.5s ease;
    transition: transform 0.5s 0.5s ease, opacity 0.5s 0.5s ease;
    transition: transform 0.5s 0.5s ease, opacity 0.5s 0.5s ease, -webkit-transform 0.5s 0.5s ease;
}

.box-collapse-open .click-closed {
    visibility: visible;
}

.box-collapse-open .box-collapse {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    box-shadow: 0 0 65px rgba(0, 0, 0, 0.07);
    opacity: 1;
}

    .box-collapse-open .box-collapse .title-box-d {
        -webkit-transform: translate(0);
        transform: translate(0);
        opacity: 1;
    }

.box-collapse-open .box-collapse-wrap {
    -webkit-transform: translate(0);
    transform: translate(0);
    opacity: 1;
}

.box-collapse-closed .box-collapse {
    opacity: 0.7;
    transition-delay: 0s;
}

    .box-collapse-closed .box-collapse .title-box-d {
        opacity: 0;
        transition-delay: 0s;
    }

    .box-collapse-closed .box-collapse .form-a {
        opacity: 0;
        transition-delay: 0s;
    }

.click-closed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    z-index: 1035;
    background-color: #000000;
    opacity: 0.4;
}

.close-box-collapse {
    position: absolute;
    z-index: 1050;
    top: 2rem;
    font-size: 3.5rem;
    line-height: 1;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.right-boxed {
    right: 4.2857rem;
}

/*======================================
//--//-->   商城 Index
======================================*/
.in-banner {
    padding-top: 70px;
}

    .in-banner img {
        display: block;
        width: 100%;
        height: auto;
    }

    .in-banner .mb {
        display: none;
    }

.in-game .col-md-4 {
    padding: 1rem 2.5rem 2rem 2.5rem; /*1rem 2rem*/
}

.in-game a {
    width: 100%;
    cursor: pointer;
    display: inline-block; /*table;*/
    margin-bottom: 3rem;
    clip-path: polygon(10% 0%, 100% 0, 100% 90%, 90% 100%, 0 100%, 0% 10%);
}

    .in-game a:hover {
        cursor: pointer;
        /*box-shadow: 7px 9px 0px -3px #0993d2;*/
        box-shadow: 7px 9px 0px -3px #fff;
        clip-path: polygon(10% 0%, 100% 0, 100% 90%, 90% 100%, 0 100%, 0% 10%);
        /*transform: translate(-3px,-3px);
        -moz-transform: translate(-3px,-3px);
        -webkit-transform: translate(-3px,-3px);
        -o-transform: translate(-3px,-3px);
        -ms-transform: translate(-3px,-3px);*/
    }

@media (max-width: 767px) {
    .in-game .col-md-4 {
        padding: 1rem 3rem 1rem 3rem; /*1rem 2rem*/
    }

    .in-game a {
        margin-bottom: 1rem;
    }
}

/** 首頁-CARD **/

.card-box-a {
    position: relative;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .card-box-a .img-a {
        transition: 0.8s all ease-in-out;
    }

.card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card-shadow {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.in-game a:hover .card-shadow:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    /*background: linear-gradient(to bottom, rgb(201 226 233 / 13%) 0%,rgb(97 98 98 / 57%) 30%, rgb(22 22 22 / 82%) 90%);*/
    /*background:linear-gradient(to bottom, rgb(253 253 253 / 20%) 0%,rgb(251 252 252 / 73%) 30%, rgb(253 251 251) 90%) ;*/
    background: linear-gradient( to bottom, rgb(253 253 253 / 10%) 65%, rgb(251 252 252 / 80%) 80%, rgb(253 251 251 / 50%) 155% );
}

.card-overlay-a-content {
    transition: all 0.5s ease-in;
    position: absolute;
    width: 100%;
    bottom: 0px;
    z-index: 2;
}

.card-footer-a {
    width: 100%;
    height: 140px;
    position: absolute;
    z-index: 2;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 27%, rgba(0, 0, 0, 0.65) 90%);*/
    /*background:linear-gradient(to bottom, rgb(251 251 251 / 13%) 0%, rgb(248 247 247 / 88%) 27%, #fdfcfc 90%);*/
    background: linear-gradient( to bottom, rgb(251 251 251 / 3%) 0%, rgb(248 247 247 / 100%) 70%, #fdfcfc 100% );
}

.card-footer-a {
    padding: 1.8rem 1rem;
}

    .card-footer-a .card-title {
        font-size: 20px;
        /*color: #fff;*/
        color: #000;
        font-weight: 600;
    }

    .card-footer-a p {
        /*color: #fff;*/
        color: #000;
        font-size: 15px;
    }

@media (max-width: 991px) {
    .in-banner .pc {
        display: none;
    }

    .in-banner .mb {
        display: block;
    }
}

@media (max-width: 767px) {
    .in-game .title .title-box-b {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .in-game .col-md-4 {
        width: 50%;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .in-game .col-md-4 {
        width: 100%;
        padding-right: 3rem;
        padding-left: 3rem;
    }
}

/** 首頁-CARD (完售樣式) **/

.card-finish .sell_out {
    position: absolute;
    width: 100%;
    z-index: 9;
    top: calc(28% - 30px);
    text-align: center;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .card-finish .sell_out img {
        width: 70%;
    }

.card-finish .img-box-a::before {
    content: '';
    background-color: #ffffff9c;
    color: #00000052;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.card-finish .card-overlay {
    display: none;
}

/*-----------------------------------------------
|   Backgrounds
-----------------------------------------------*/
.bg-holder {
    position: absolute;
    width: 100%;
    /*min-height: 100%;*/
    height: 500px;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    z-index: 0;
}

.bg-right {
    margin-top: 28rem;
    background-size: 150px auto;
}

/*.bg-left {
    margin-top: 70rem;
}*/

@media (max-width: 1200px) {
    .bg-right {
        background-size: 130px auto;
        margin-top: 18rem;
    }

    .bg-left {
        margin-top: 55rem;
    }
}

@media (max-width: 991px) {
    .bg-right {
        background-size: 130px auto;
        margin-top: 28rem;
    }
}

@media (min-width: 768px) {
    .bg-holder {
        display: block;
    }
}

@media (max-width: 767px) {
    .bg-holder {
        display: none;
    }
}

/*======================================
//--//-->   注意事項 (通用)
======================================*/

.note-all ul {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, transparent 15px, #f3f3f3 0), linear-gradient(45deg, transparent 15px, #03a9f4 0);
    font-size: 14.5px;
}

.note-all li {
    border-bottom: 1px dotted #ddd;
    line-height: 30px;
    list-style: decimal;
    padding-left: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    text-align: justify;
    margin-left: 15px;
}

    .note-all li span {
        color: #e49057;
        font-weight: 600;
    }

    .note-all li a {
        color: #03a9f4;
        margin-left: 5px;
        margin-right: 5px;
        border-bottom: 1px solid #03a9f4;
    }

        .note-all li a:hover {
            color: #e49057;
            border-bottom: 1px solid #e49057;
        }

.note-all.ul-circle li {
    list-style: circle;
}

/*======================================
//--//-->   Button (通用)
======================================*/

.btn {
    transition: 0.5s ease;
}

    .btn.btn-bl,
    .btn.btn-og,
    .btn.btn-gy {
        width: 100%;
        border-radius: 5px;
        letter-spacing: 0.05rem;
        text-align: center;
        /* white-space: pre-wrap; */
        padding: 1rem 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .btn.btn-bl {
        background-color: #4a94b5;
        color: #ffffff;
    }

        .btn.btn-bl:hover {
            background-color: #e49057;
            color: #ffffff;
        }

    .btn.btn-og {
        background-color: #e49057;
        color: #ffffff;
    }

        .btn.btn-og:hover {
            background-color: #ccc;
            color: #ffffff;
        }

    .btn.btn-gy {
        background-color: #aaa;
        color: #ffffff;
    }

        .btn.btn-gy:hover {
            background-color: #ccc;
            color: #ffffff;
        }

    /*目前尚未用到*/
    .btn.btn-b-n {
        background-color: #03a9f4;
        color: #ffffff;
        border-radius: 0;
        display: block !important;
    }

        .btn.btn-b-n:hover {
            background-color: #26a356;
            color: #ffffff;
        }

/* Back to top button */
.back-to-top {
    position: fixed;
    display: none;
    background: #03a9f4;
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

    .back-to-top i {
        font-size: medium;
        color: #fff;
        padding-right: 0;
        padding-top: 12px;
        border-radius: 50%;
        transition: background 0.5s;
    }

        .back-to-top:hover,
        .back-to-top i:hover {
            background: #ddd;
        }

@media (max-width: 767px) {
    .btn {
        font-size: 14px;
    }
}

/*======================================
//--//-->   From 填寫欄位 (通用)
======================================*/

.form-a label {
    color: #000000;
    position: relative;
}

.form-sharing-out,
.form-sharing-in {
    width: 100%;
    border-radius: 0;
    padding: 0.375rem 0.2rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-a select.form-sharing-out:not([size]):not([multiple]),
.form-a select.form-sharing-in:not([size]):not([multiple]) {
    height: 3.5rem;
}

/*會員專區*/
.form-sharing-out {
    height: 3.5rem;
    font-size: 0.975rem;
}

/*內頁*/
.form-sharing-in {
    height: 40px;
    font-size: 0.875rem;
    margin-right: 1rem;
    margin-left: 1rem;
}

    .form-sharing-out:focus,
    .form-sharing-in:focus {
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
    }

@media (max-width: 767px) {
    .form-sharing-out {
        font-size: 0.875rem;
    }
}

/*======================================
//--//-->   選購福袋內頁
======================================*/
section.shopping-single-a {
    padding-top: 10rem;
}

.shopping-top-img img {
    max-width: 100%;
    height: auto;
}

.shopping-contect-a {
    margin-left: 1rem;
}

@media (max-width: 767px) {
    section.shopping-single-a {
        padding-top: 8rem;
    }

    .shopping-contect-a {
        margin-left: 0rem;
    }

    .shopping-top-img {
        text-align: center;
    }

        .shopping-top-img img {
            width: 100%;
            max-width: 300px;
            height: auto;
            padding-bottom: 1.8rem;
        }
}

.shopping-single-a .col-md-10 .btn {
    width: auto;
    min-width: 200px;
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.shopping-contect-a .title-shopping {
    text-align: justify;
    font-weight: 600;
}

.shopping-contect-a p {
    padding-left: 5px;
    line-height: 32px;
    text-align: justify;
}

    .shopping-contect-a p.note {
        color: #e49057;
    }

ul.shopping-list {
    line-height: 2;
    color: #000000;
    padding-left: 0;
    list-style: none;
    font-size: 15px;
}

    ul.shopping-list li {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

        ul.shopping-list li:nth-child(1) {
            flex-direction: column;
            margin-left: 0;
            padding-inline-start: 0;
        }

/* 購買量 加減 數字填寫欄 */
.shopping-single-a .form-fill-in {
    width: 70px;
    text-align: center;
}

.btn.btn-plus-minus {
    width: 40px;
    height: 40px;
    text-align: center;
    background-color: #fff;
    color: #aaa;
    border: 1px solid #ddd;
    border-radius: 0;
    display: block !important;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
}

    .btn.btn-plus-minus:hover {
        background-color: #ccc;
        color: #fff;
    }

    .btn.btn-plus-minus .fa {
        font-size: initial;
        padding-right: 0px;
    }

ul.shopping-list li .surplus {
    padding-left: 10px;
    color: #e49057;
}

/* 付款方式 下拉式 */
ul.shopping-list .payment {
    width: 60%;
    margin-left: 0rem;
    white-space: normal !important;
    box-sizing: border-box !important;
}
    /* 強制 dropdown panel 跟 select 同寬 */
    ul.shopping-list .payment::-webkit-dropdown {
        width: 270px !important;
    }

ul.shopping-list .money h4 {
    text-align: right;
}

@media (max-width: 767px) {
    .shopping-contect-a .title-shopping {
        font-size: 24px;
    }

    .shopping-contect p {
        font-size: 14px;
    }

    /* 購買量 加減 數字填寫欄 */
    .shopping-single-a .form-fill-in {
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }

    /* 付款方式 下拉式 */
    ul.shopping-list li,
    ul.shopping-list select option,
    select:not(:-internal-list-box) option {
        font-size: 14px !important;
        min-inline-size: 14px !important;
    }

    ul.shopping-list .form-sharing-in {
        line-height: 1;
        margin-right: 0;
        font-size: 14px !important;
    }

    ul.shopping-list .money {
        font-size: 20px;
    }

        ul.shopping-list .money h4 {
            text-align: right;
        }
}

.shopping-single-a .btn.btn-gy:hover {
    background-color: #aaa;
    cursor: auto;
}

/* 售完按鈕下方備註 */
.soldout-note {
    margin-top: -0.25rem;
    font-size: 14px;
    color: #888;
    text-align: center;
    text-wrap: nowrap;
}

.shopping-contect-a .btn.btn-og {
    margin-top: 2rem;
}

/* 福袋資訊 頁籤 */
/* Nav Pills */
.shopping-single-b {
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-top: 2rem;
    margin-bottom: -50px;
    background: #f6f6f6f6;
    border-bottom: 5px solid #ddd;
}

.nav-pills-a.nav-pills .nav-link {
    color: #999;
    position: relative;
    font-weight: 600;
    background-color: #ddd;
    border-radius: 0;
    width: 140px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 1.5rem;
    margin-left: 7px;
    margin-right: 7px;
}

    .nav-pills-a.nav-pills .nav-link.active,
    .nav-pills-a.nav-pills .nav-link:hover {
        color: #fff;
        background-color: transparent;
        background-color: #03a9f4;
    }

        .nav-pills-a.nav-pills .nav-link.active:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 100%;
            height: 2px;
            background-color: #03a9f4;
            z-index: 2;
        }

.shopping-single-b .tab-content {
    font-size: 14.5px;
    padding: 1.5rem;
    border: 1px solid #ddd;
    line-height: 32px;
    background: #fff;
}

@media (max-width: 767px) {
    .shopping-single-b .tab-content {
        font-size: 14px;
    }
}

/*======================================
//--//-->   選購福袋內頁(完售樣式)
======================================*/

.shopping-single-a .shopping_finish::before {
    content: '';
    background: #ffffffab;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.shopping_finish .sell_out {
    position: absolute;
    width: 100%;
    text-align: center;
    padding-right: 5.5%;
    padding-top: 4rem;
    z-index: 9;
}

    .shopping_finish .sell_out img {
        max-width: 350px;
    }

        .shopping_finish .sell_out img::after {
            background: #00000094;
            position: absolute;
            width: 100%;
        }

@media (max-width: 1200px) {
    .shopping_finish .sell_out {
        padding-right: 7%;
        padding-top: 2rem;
    }
}

@media (max-width: 991px) {
    .shopping_finish .sell_out {
        padding-right: 10%;
    }

        .shopping_finish .sell_out img {
            max-width: 100%;
        }
}

@media (max-width: 767px) {
    .shopping_finish .sell_out {
        padding-top: 3rem;
        padding-right: 6%;
    }

        .shopping_finish .sell_out img {
            max-width: 250px;
        }
}

/*======================================
//--//-->   會員登入頁
======================================*/

.email-code .btn.btn-og {
    margin-top: 0;
    margin-bottom: 0;
}

.sign-in a.forget {
    padding-top: 10px;
    margin-bottom: 10px;
    float: right;
    text-decoration: none;
    color: #03a9f4;
    border-bottom: 1px solid #03a9f4;
    font-size: 0.875rem;
}

    .sign-in a.forget:hover {
        cursor: pointer;
        color: #e49057;
        border-bottom: 1px solid #e49057;
    }

@media (max-width: 767px) {
    .sign-in-contect .col-md-6.sign-btn {
        max-width: 50%;
    }

    .sign-in-contect .btn {
        margin-top: 0.5rem;
    }
}

/*======================================
//--//-->   發票資訊頁/訂單完成頁-通用
======================================*/

.shopping-receipt-0,
.shopping-finish-0 {
    padding-top: 8rem;
}

.receipt-contect-0,
.finish-content-0 {
    display: flex;
}

    /*進度條*/
    .receipt-contect-0 div,
    .finish-content-0 div {
        display: inline-block;
        width: 100%;
        height: auto;
        margin: auto 15px;
        padding: 0.7rem 10px;
        text-align: center;
        border: 1px solid #ddd;
        color: #666;
    }

    .shopping-receipt-0 .fa,
    .finish-content-0 .fa {
        font-size: initial;
        color: #03a9f4;
    }

    .receipt-contect-0 div.bread-on,
    .finish-content-0 div.bread-on {
        border: 1px solid #ddd;
        font-weight: 600;
    }

    .receipt-contect-0 div.bread-off,
    .finish-content-0 div.bread-off {
        background-color: #ccc;
        color: #fff;
    }

.shopping-receipt-a,
.shopping-finish-a {
    padding-top: 4rem;
}

.shopping-receipt-b,
.shopping-finish-b {
    padding-top: 5rem;
}

.shopping-receipt-c {
    padding-top: 3rem;
}

.receipt-contect-a,
.finish-content-a {
    background: linear-gradient(135deg, transparent 15px, #f3f3f3 0), linear-gradient(45deg, transparent 15px, #03a9f4 0);
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}

    .receipt-contect-a .title-receipt,
    .finish-content-a .title-finish {
        font-weight: 600;
    }

ul.receipt-list,
ul.finish-list {
    line-height: 2;
    color: #000000;
    padding-left: 0;
    list-style: none;
    margin-top: 1rem;
}

    ul.receipt-list li,
    ul.finish-list li {
        line-height: 32px;
    }

@media (max-width: 767px) {
    .receipt-contect-0 div,
    .finish-content-0 div {
        font-size: 14px;
        margin: auto 7px;
        padding: 0.7rem 10px;
    }

    .shopping-receipt-a,
    .shopping-finish-a {
        display: none;
    }

    .shopping-receipt-b,
    .shopping-finish-b {
        padding-top: 4rem;
    }
}

/*======================================
//--//-->   發票資訊頁
======================================*/

.receipt-content-b .form-a {
    border: 1px solid #ddd;
    padding: 2.5rem 2.5rem 0.5rem 2.5rem;
    margin-bottom: 2rem;
}

.receipt-content-b .form-sharing-in {
    margin-left: 0;
}

.receipt-content-b ul.receipt-list li {
    line-height: 30px;
    padding: 10px 5px;
    font-size: 14.5px;
}

.receipt-content-b p {
    font-size: 13px;
    padding-left: 18px;
    text-align: justify;
}

/* TW 地址 */
.city,
.town {
    width: 100%;
    max-width: 223px !important;
    height: 40px !important;
    font-size: 0.875rem !important;
    display: inline-block !important;
    margin-right: 1rem !important;
    margin-top: 7px;
}

/*勾選項*/
.receipt-check input[type='checkbox'] {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: justify;
}

.receipt-check a {
    color: #03a9f4;
    border-bottom: 1px solid #03a9f4;
    margin-left: 5px;
    margin-right: 5px;
}

    .receipt-check a:hover {
        color: #e49057;
        border-bottom: 1px solid #e49057;
    }

/*注意事項*/
.receipt-content-b ul.note-all {
    background: linear-gradient(135deg, transparent 15px, #f3f3f3 0), linear-gradient(45deg, transparent 15px, #03a9f4 0);
    padding: 2rem 2rem;
    font-size: 14.5px;
    line-height: 38px;
}

/*按鈕*/
.receipt-content-b button {
    margin-top: 2rem !important;
}

@media (max-width: 991px) {
    .receipt-content-b {
        margin-top: 2.5rem;
    }
}

@media (max-width: 767px) {
    .shopping-receipt-b {
        font-size: 14px;
    }

        .shopping-receipt-b .receipt-content-b {
            margin-top: 0.5rem;
        }

    .receipt-content-b .form-a {
        border: none;
        background: #f4f4f4;
        padding: 2.5rem 1.8rem 0.5rem 2rem;
    }

    .receipt-content-b ul.receipt-list li {
        font-size: 14px;
        line-height: 24px;
        padding: 7px 0;
    }

    .receipt-content-b ul.note-all {
        padding-top: 1rem;
    }

        .receipt-content-b ul.note-all li {
            font-size: 14px;
            line-height: 25px;
            padding: 10px 0;
        }

    .receipt-content-c .col-md-6 {
        max-width: 50%;
    }

    /* TW 地址 */
    .city,
    .town,
    .add {
        max-width: 100% !important;
        margin-right: 0rem !important;
    }
}

/*======================================
//--//-->   訂單完成頁
======================================*/

/*大標-大標-訂單編號*/
.finish-content-b .title-d {
    text-align: center;
    line-height: 30px;
    padding-bottom: 1.5rem;
}

/*訂單表格*/
.finish-content-b table {
    width: 100%;
}

.finish-content-b td,
.finish-content-b th {
    border: 1px solid #ddd;
}

.finish-content-b th {
    width: 150px;
    text-align: center;
    padding: 10px;
}

.finish-content-b td {
    padding: 10px 20px;
}

    .finish-content-b td span.letter-space {
        letter-spacing: 1px;
    }

    .finish-content-b td span.color-text-b {
        font-weight: 600;
        color: #e97323;
        font-size: 17px;
    }

    /*按鈕*/
    /*copy*/
    .finish-content-b td button.copy {
        background-color: #e49057;
        color: #fff;
        border: none;
        font-size: 14px;
        padding: 3px 30px;
        margin-left: 1rem;
        cursor: pointer;
        border-radius: 5px;
    }

        .finish-content-b td button.copy:hover {
            background-color: #ced4da;
            color: #fff;
        }

.finish-content-b .btn,
.shopping-finish-c .btn {
    width: 200px;
    margin: 2rem auto;
}

@media (max-width: 991px) {
    .finish-content-b .title-d {
        font-size: 18px;
        text-align: left;
        padding-bottom: 1rem;
    }

    .finish-content-b th,
    .finish-content-b td {
        font-size: 14px;
    }

    .finish-content-b th {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .finish-content-b th {
        width: 50px;
    }

    .finish-content-b td {
        padding: 10px 7px;
    }
}

/*======================================
//--//-->   訂單查詢頁
======================================*/

/*登入前畫面*/
.order-search-a .order-content-a {
    padding-top: 8rem;
}

    .order-search-a .order-content-a p {
        text-align: center;
    }

    .order-search-a .order-content-a button {
        max-width: 200px;
        margin: 6rem auto 8rem auto;
    }

/*登入後畫面*/

.order-search-a,
.order-search-b {
    padding-top: 8rem;
}

.order-content-b .form-a .col-md-3 {
    float: right;
}

.order-content-b .form-a .form-sharing-out {
    font-size: 14px;
    height: 2.5rem !important;
}

/*登入後畫面-表格*/
.order-content-b table {
    width: 100%;
}

.order-content-b tr.finish {
    background-color: #efefef;
}

.order-content-b th,
.order-content-b td {
    padding: 1.5rem 2rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.order-content-b th {
    width: 180px;
    vertical-align: top;
}

/*登入後畫面-表格內按鈕*/
.order-content-b td .order-btn {
    float: right;
}

.order-content-b .order-btn .btn-og,
.order-content-b .order-btn .btn-bl {
    width: fit-content;
    min-width: 120px;
    padding: 0.5rem;
    margin: 0;
    font-size: 14.5px;
    border-radius: 25px;
    display: inline-block;
    float: right;
}

.order-content-b .order-btn span.get-order {
    color: #4a94b5;
    padding: 8px 12px;
    margin-left: 7px;
    margin-right: 7px;
    font-size: 14px;
    border: 1px solid #4a94b5;
    border-radius: 50px;
    display: inline-block;
    float: left;
}

/*登入後畫面-表格內條列式*/
ul.order-list {
    font-size: 14px;
    color: #000000;
    padding-left: 0;
    list-style: none;
}

    ul.order-list li {
        line-height: 20px; /*28px*/
        padding: 5px 0;
    }

@media (min-width: 991px) {
    .order-content-b th {
        width: 220px;
    }
}

@media (max-width: 767px) {
    .order-content-b th {
        display: none;
    }

    ul.order-list {
        font-size: 13.5px;
    }

        ul.order-list li {
            line-height: 24px;
            padding: 5px 0;
        }
}

/*======================================
//--//-->   序號領取頁
======================================*/

/*登入前畫面*/
.serial-number-a .serial-content-a {
    padding-top: 6rem;
}

    .serial-number-a .serial-content-a p {
        text-align: center;
        margin-bottom: 3rem;
    }

    .serial-number-a .serial-content-a button {
        display: block;
        max-width: 200px;
        margin: 2rem auto 4rem auto;
    }

    /**** 更新帳號綁定的 Email  ****/
    .serial-number-a .serial-content-a a.fix_email {
        display: block;
        width: max-content;
        font-size: 0.875rem !important;
        border-bottom: 1px solid #adadad !important;
        margin: auto;
    }

        .serial-number-a .serial-content-a a.fix_email:hover,
        .serial-number-a .serial-content-a a.fix_email:active {
            cursor: pointer;
            color: #e97323 !important;
            border-bottom: 1px solid #e97323 !important;
        }
/**** 更新帳號綁定的 Email end ****/

/*登入後畫面*/

.serial-number-a,
.serial-number-b {
    padding-top: 8rem;
}

.row.serial-contect-b {
    padding: 2rem;
    margin: 1rem;
    background: linear-gradient(135deg, transparent 15px, #f3f3f3 0), linear-gradient(45deg, transparent 15px, #03a9f4 0);
}

.serial-content-a .again a {
    padding-top: 10px;
    float: right;
    text-decoration: none;
    color: #03a9f4;
    border-bottom: 1px solid #03a9f4;
    font-size: 0.875rem;
}

    .serial-content-a .again a:hover {
        cursor: pointer;
        color: #e49057;
        border-bottom: 1px solid #e49057;
    }

/*登入後畫面-表格*/
.serial-content-b table {
    width: 100%;
    margin-top: 3rem;
}

.serial-content-b th,
.serial-content-b td {
    font-size: 14px;
    border: 1px solid #ddd;
    word-break: break-all;
}

.serial-content-b th {
    background: #4a94b5;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
}

.serial-content-b td {
    padding: 8px 10px;
}

    .serial-content-b th.number,
    .serial-content-b td.number {
        width: 50px;
        text-align: center;
    }

    .serial-content-b td.card-num,
    .serial-content-b td.password {
        text-align: center;
    }

/*登入後畫面-表格內條列式*/
ul.serial-list {
    font-size: 14.5px;
    color: #000000;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

    ul.serial-list li {
        padding: 5px 0;
    }

@media (max-width: 767px) {
    .row.serial-contect-b {
        padding: 1rem;
        margin: 0;
    }

        .row.serial-contect-b .col-md-2 {
            display: none;
        }

    .serial-content-b th.name {
        width: 150px;
    }

    .serial-content-b .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .serial-content-b th,
    .serial-content-b td {
        font-size: 13px;
        padding-left: 7px;
        padding-right: 7px;
    }

        .serial-content-b th.number,
        .serial-content-b td.number {
            width: 40px;
            padding-left: 5px;
            padding-right: 5px;
        }

    ul.serial-list {
        font-size: 13px;
    }

        ul.serial-list li {
            line-height: 24px;
            padding: 5px 0;
        }
}

/*======================================
//--//-->   福袋內容頁
======================================*/

.lucky-bag {
    padding-top: 8rem;
}

.row.bag-content {
    padding: 2rem;
    margin: 1rem;
}

.bag-content table {
    width: 100%;
}

.bag-content th,
.bag-content td {
    font-size: 14px;
    border: 1px solid #ddd;
    word-break: break-all;
}

.bag-content th {
    background: #4a94b5;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
}

.bag-content td {
    padding: 8px 8px;
}

    .bag-content td:nth-of-type(1) {
        text-align: center;
        width: 50px;
    }

    .bag-content td:nth-of-type(2) {
        text-align: center;
        width: 130px;
    }

    .bag-content td:nth-of-type(3) {
        width: 180px;
    }

    .bag-content td:nth-of-type(4) {
        width: 60px;
        text-align: center;
    }

    .bag-content td:nth-of-type(5) {
        text-align: justify;
    }

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    .bag-content table,
    .bag-content thead,
    .bag-content tbody,
    .bag-content th,
    .bag-content td,
    .bag-content tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin: 0 0 1rem 0;
    }

        tr:nth-child(odd) {
            /*background: #ecf8fd;*/
        }

    .bag-content td {
        border: none;
        border-bottom: 1px solid #add1e1a3;
        position: relative;
        padding: 10px;
        padding-left: 35%;
        width: 100%;
        font-size: 13px;
    }

        .bag-content td:nth-of-type(1) {
            width: 100%;
            text-align: left;
            border-top: 1px solid #03a9f4;
            background: #4a94b5;
            color: #fff;
        }

        .bag-content td:nth-of-type(2) {
            width: 100%;
            text-align: left;
        }

        .bag-content td:nth-of-type(3) {
            width: 100%;
            text-align: left;
        }

        .bag-content td:nth-of-type(4) {
            width: 100%;
            text-align: left;
        }

        .bag-content td:nth-of-type(5) {
            border-bottom: 1px solid #4a94b5;
        }

        .bag-content td:before {
            position: absolute;
            left: 6px;
            width: 30%;
            font-size: 13px;
            padding-right: 10px;
            white-space: nowrap;
        }

        .bag-content td:nth-of-type(1):before {
            content: '編號';
            background: #4a94b5;
            color: #fff;
            /*display: none;*/
        }

        .bag-content td:nth-of-type(2):before {
            content: '包裝獎項名稱'; /*包裝獎項名稱*/
        }

        .bag-content td:nth-of-type(3):before {
            content: '完整獎項內容'; /*完整獎項內容*/ /*top: 0;*/
        }

        .bag-content td:nth-of-type(4):before {
            content: '獲獎機率'; /*獲獎機率*/
        }

        .bag-content td:nth-of-type(5):before {
            content: '額外說明'; /*額外說明*/
            top: 0;
        }

    .order-content-b th,
    .order-content-b td {
        padding: 1.5rem 1.5rem;
    }
}

@media only screen and (max-width: 760px) {
    .shopping-contect-a .title-shopping {
        font-size: 1.5em;
    }

    .shopping-contect-a p {
        font-size: 14px;
        line-height: 26px;
    }

    .money h4 {
        font-size: 1em;
    }

    .order-content-b .order-btn .btn-og,
    .order-content-b .order-btn .btn-bl {
        font-size: 14px;
        width: 110px;
    }

    .order-content-b .order-btn span.get-order {
        margin-left: 0px;
    }
}

/*======================================
//--//-->  購買須知 Rule
======================================*/

section.rule {
    padding-top: 8rem;
}

.rule-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0;
    margin-bottom: 7px;
}

    .rule-card a:hover {
        background: #03a9f4;
        color: #fff;
    }

.rule-card-header {
    background: linear-gradient(135deg, transparent 7px, #f3f3f3 0), linear-gradient(45deg, transparent 7px, #03a9f4 0);
    border: 1px solid #f3f3f3;
    font-weight: 600;
    padding: 1.2rem 1.25rem 1.2rem 2rem;
    margin-bottom: 0;
}

    .rule-card-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
    }

    .rule-card-header:hover,
    .rule-card-header:active,
    .rule-card-header:focus {
        background: #bbb;
        color: #fff;
    }

.rule-card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem 2rem;
    font-size: 14px;
}

    .rule-card-body a {
        color: #03a9f4;
        border-bottom: 1px solid #03a9f4;
    }

    .rule-card-body span {
        color: #e97323;
    }

    .rule-card-body .padding-left {
        padding-left: 2.5rem;
    }

    /*ul list*/
    .rule-card-body ul {
        padding-left: 1.5rem;
    }
        /*list 樣式*/
        .rule-card-body ul.list-style-a {
            list-style-type: disc;
            padding-left: 2.5rem;
        }

        .rule-card-body ul.list-style-b {
            list-style-type: decimal;
        }

            .rule-card-body ul.list-style-b li {
                padding-left: 5px;
            }

    /*內部表格*/
    .rule-card-body table {
        width: 100%;
        margin-bottom: 7px;
    }

    .rule-card-body td {
        font-size: 14px;
        border: 1px solid #ddd;
        padding: 10px 5px;
    }

    .rule-card-body tr.td-title td {
        background-color: #4a94b5;
        color: #fff;
    }

@media (max-width: 767px) {
    .rule-card {
        font-size: 14px;
    }

    .rule-card-header {
        padding: 1rem 1.25rem 1rem 1.5rem;
    }

    .rule-card-body h6 {
        font-size: 14.5px;
    }

    .rule-card-body {
        font-size: 13.5px;
    }

        .rule-card-body td {
            font-size: 12px;
        }
}

/*======================================
//--//-->   分頁 (通用)
======================================*/

nav.pagination-all {
    padding-top: 4rem;
}

.pagination-all .pagination .page-link {
    margin: 0 0.2rem;
    border-color: transparent;
    padding: 0.5rem 0.8rem;
    color: #000000;
}

    .pagination-all .pagination .page-link:hover,
    .pagination-all .pagination .page-link:active,
    .pagination-all .pagination .page-link:focus {
        background-color: #03a9f4;
        color: #fff;
    }

    .pagination-all .pagination .page-link span {
        font-size: 1.2rem;
    }

.pagination-all .pagination .next .page-link {
    padding: 0.4rem 0.9rem;
}

.pagination-all .pagination .page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.pagination-all .pagination .page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.pagination-all .pagination .page-item.disabled .page-link {
    padding: 0.4rem 0.9rem;
    color: #555555;
}

.pagination-all .pagination .page-item.active .page-link {
    background-color: #03a9f4;
    color: #fff;
}

/*======================================
//--//-->   FOOTER
======================================*/

footer {
    background: #f3f3f3;
    text-align: center;
    padding: 20px 0 10px 0;
    margin-top: 50px;
    font-size: 15px;
}

    footer .copyright {
        border-top: 1px solid #ddd;
        padding-top: 20px;
    }

        footer .copyright p {
            color: #555555;
            word-break: break-all;
            word-wrap: break-word;
            line-height: 26px;
        }

    footer .list-inline-item:not(:last-child) {
        margin-right: 0;
    }

    footer span {
        color: #acacac;
    }

@media (max-width: 767px) {
    footer .copyright,
    .nav-footer {
        font-size: 14px;
    }
}

/****************************************************************************
								Fancy效果
 ***************************************************************************/
/* The Modal (background) */
#id01.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4) !important; /* Black w/ opacity */
    padding-top: 75px; /* 100px Location of the box */
    background: #00000069;
}

.modal-container {
    padding: 16px;
    text-align: center;
    margin: auto;
    color: #555;
    text-shadow: none;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    padding: 30px;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    border-radius: 10px;
    width: 70%; /* Could be more or less, depending on screen size */
    max-width: 500px;
    line-height: 26px;
    box-shadow: 9px 9px 20px rgba(34, 34, 34, 0.5);
    text-align: center;
}

    .modal-content p {
        text-align: justify;
        font-size: 15px;
        margin: 2rem auto;
    }

    .modal-content .btn {
        width: 45%;
        font-size: 15px;
    }

@media (max-width: 767px) {
    .modal-container {
        padding: 5px;
    }

    .modal-content {
        padding: 10px;
        width: 70%;
        max-width: 300px;
    }

        .modal-content p {
            margin: 1.5rem auto 1.5rem auto;
        }

        .modal-content .btn {
            padding: 10px;
            margin: auto 3px;
        }
}



/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .navbar-default.navbar-trans .nav-item,
    .navbar-default.navbar-reduce .nav-item {
        margin-left: 15px;
    }

    .navbar-default .dropdown .dropdown-menu {
        border-top: 4px solid #03a9f4;
        border-left: 0;
        display: block;
        position: absolute;
        box-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(20, 19, 18, 0.1);
    }

    .box-collapse {
        width: 50%;
    }

    .card-box-a:hover .img-a {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    /*index-game-hover 底部黑塊*/
    .card-box-a:hover .card-overlay-a-content {
        bottom: 95px;
    }

    .card-overlay-a-content {
        bottom: -20px;
    }
}

@media (min-width: 768px) and (min-width: 768px) {
    /*index-game-hover 底部黑塊*/
    .card-box-a:hover .card-overlay-a-content {
        bottom: 125px; /*bottom: 60px;*/
    }

    .card-footer-a .card-title {
        font-size: 15px;
    }

    .card-footer-a p {
        /*font-size: 20px;*/
        font-weight: 600;
    }
}

@media (min-width: 768px) and (min-width: 992px) {
    /*index-game-hover 底部黑塊*/
    .card-box-a:hover .card-overlay-a-content {
        bottom: 115px; /*bottom: 64px;*/
    }
}

@media (min-width: 992px) {
    .card-overlay-a-content {
        bottom: 0px;
    }
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 15px;
    }

    .section-t10 {
        padding-top: 5rem;
    }

    .section-t8 {
        padding-top: 4rem;
    }

    .section-t4 {
        padding-top: 2rem;
    }

    .section-md-t3 {
        padding-top: 3rem;
    }

    .section-tb85 {
        padding: 4rem 0 2.5rem 0;
    }

    /*index-game-hover 底部黑塊*/
    .card-box-a:hover .card-overlay-a-content {
        bottom: 120px;
    }

    .card-box-a .card-overlay-a-content {
        bottom: 0px;
    }

    .card-footer-a .card-title {
        font-size: 15px;
    }

    .card-footer-a p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .in-game {
        padding-top: 4rem;
    }

    .box-collapse .title-box-d {
        left: 35px;
    }

        .box-collapse .title-box-d .title-d {
            font-size: 1.3rem;
        }
}

/* Header language selector: global platform visual reference, independent dropdown. */
.navbar-default .language-picker {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
    order: 3;
}

.language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #666666;
    cursor: pointer;
    transition: color .2s, background-color .2s;
}

    .language-toggle:hover .fa-globe, .language-toggle[aria-expanded="true"] .fa-globe {
        color: #03a9f4;
    }

    .language-toggle .fa-globe {
        font-size: 22px;
        line-height: 1;
        transition: color .2s;
    }

.language-caret {
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}

.language-toggle[aria-expanded="true"] .language-caret {
    transform: rotate(225deg);
    margin-top: 3px;
}

.language-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1100;
    width: 164px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,.12);
}

    .language-options[hidden] {
        display: none;
    }

    .language-options button {
        display: block;
        width: 100%;
        padding: 11px 18px;
        border: 0;
        background: transparent;
        text-align: left;
        font: inherit;
        font-size: 15px;
        color: #222;
        cursor: pointer;
    }

        .language-options button:hover, .language-options button[aria-pressed="true"] {
            background: #eef9fe;
            color: #008bc9;
        }

            .language-options button[aria-pressed="true"]::after {
                content: '\2713';
                float: right;
            }

        .language-toggle:focus, .language-options button:focus {
            outline: none;
            box-shadow: none;
        }

.language-toggle:focus-visible .fa-globe {
    color: #03a9f4;
}

.language-options button:focus-visible {
    background: #eef9fe;
    color: #008bc9;
}

@media (max-width: 991.98px) {
    .navbar-default .navbar-toggler {
        order: 0;
    }

    .navbar-default .navbar-brand {
        order: 1;
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-default .language-picker {
        order: 2;
        margin-left: 0;
    }

    .navbar-default .navbar-collapse {
        order: 3;
    }
}


/*======================================
//--//-->   Auth / 會員登入共用
======================================*/

.sign-in .auth-panel {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 3rem;
}

    .sign-in .auth-panel form {
        width: 100%;
    }

    .sign-in .auth-panel label {
        display: block;
        margin: 0.8rem 0 0.5rem;
    }

    .sign-in .auth-panel input {
        width: 100%;
    }

    .sign-in .auth-panel .btn-bl {
        display: block;
        width: 100%;
        margin: 1.5rem 0 1rem;
    }

.sign-in .auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 1.5rem 0;
    color: #888;
    font-size: 0.85rem;
    white-space: nowrap;
}

    .sign-in .auth-divider::before,
    .sign-in .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #ddd;
    }

.sign-in .auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #444;
    font-size: 1rem;
    cursor: pointer;
}

    .sign-in .auth-google .fa-google {
        font-size: 22px;
    }

    .sign-in .auth-google:hover {
        border-color: #03a9f4;
        color: #008bc9;
    }

.sign-in .auth-panel .verification-help {
    margin-top: 0.75rem;
    color: #757575;
    font-size: 0.8125rem;
    line-height: 1.65;
}

/*======================================
//--//-->   Email verification (shared)
======================================*/

/* Keep sign-mb-verify the same usable width as serial-number.html. */
.email-verification-panel {
    max-width: 540px;
    margin: 0 auto 3rem;
}

    .email-verification-panel input {
        width: 100%;
    }

    /* Shared supporting copy under the Email code field. */
    p.verification-help,
    .serial-number-a .serial-content-a p.verification-help,
    .email-verification-panel p.verification-help {
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
        font-size: 0.8125rem;
        font-weight: 400;
        line-height: 1.65;
        color: #757575;
        text-align: left;
    }

/* Resend link: same layout and behavior on both pages. */
.auth-resend-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.email-verification-block .auth-resend,
.serial-number-a .serial-content-a .email-verification-block .auth-resend {
    display: inline-block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 2px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: #03a9f4;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
    cursor: pointer;
}

    .email-verification-block .auth-resend:disabled,
    .serial-number-a .serial-content-a .email-verification-block .auth-resend:disabled {
        color: #757575;
        cursor: default;
        pointer-events: none;
        opacity: 1;
        transform: none !important;
    }

    .email-verification-block .auth-resend:not(:disabled):hover,
    .serial-number-a .serial-content-a .email-verification-block .auth-resend:not(:disabled):hover {
        color: #e49057;
        border-bottom-color: #e49057;
    }

    .email-verification-block .auth-resend:focus-visible,
    .serial-number-a .serial-content-a .email-verification-block .auth-resend:focus-visible {
        outline: 2px solid #03a9f4;
        outline-offset: 3px;
    }

/* Main action spacing on sign-mb-verify. */
.email-verification-panel .btn-bl {
    display: block;
    width: 100%;
    margin: 1.5rem 0 1rem;
}

/* Update linked Email: same visual treatment on both pages. */
.serial-number-a .serial-content-a a.fix_email,
.email-verification-panel a.fix_email {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: auto;
    font-size: 0.875rem !important;
    color: #adadad !important;
    border-bottom: 1px solid #adadad !important;
}

    .serial-number-a .serial-content-a a.fix_email:hover,
    .serial-number-a .serial-content-a a.fix_email:active,
    .email-verification-panel a.fix_email:hover,
    .email-verification-panel a.fix_email:active {
        cursor: pointer;
        color: #e97323 !important;
        border-bottom-color: #e97323 !important;
    }

@media (max-width: 575.98px) {
    .email-verification-block .auth-resend,
    .serial-number-a .serial-content-a .email-verification-block .auth-resend {
        font-size: 0.8125rem;
        white-space: normal;
    }
}


/* Button 點擊縮小效果 */
button,
.btn,
.auth-google {
    transition: transform 0.12s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    button:not(:disabled):active,
    .btn:not(:disabled):active,
    .auth-google:not(:disabled):active {
        transform: scale(0.97);
    }

    /* 移除醜醜的黑色 focus 外框 */
    button:focus,
    .btn:focus,
    .auth-google:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    button:focus-visible,
    .btn:focus-visible,
    .auth-google:focus-visible {
        outline: 2px solid #03a9f4;
        outline-offset: 2px;
    }

/* 複製按鈕 */
.finish-content-b td button.copy {
    transition: transform 0.12s ease;
}

    .finish-content-b td button.copy:not(:disabled):active {
        transform: scale(0.95);
    }

    .finish-content-b td button.copy:focus {
        outline: none;
        box-shadow: none;
    }

/* =========================================================
   UJ Store - Standard Modal
   ========================================================= */

body.uj-modal-open {
    overflow: hidden;
}

.uj-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

    .uj-modal.is-open {
        display: flex;
    }

.uj-modal-dialog {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.uj-modal-content {
    position: relative;
    width: 100%;
    padding: 32px 28px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: ujModalIn 0.2s ease-out;
}

.uj-modal-message {
    margin: 0 0 28px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.uj-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

    .uj-modal-actions .btn {
        width: auto;
        min-width: 120px;
        margin: 0;
    }

@keyframes ujModalIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575px) {
    .uj-modal {
        padding: 16px;
    }

    .uj-modal-content {
        padding: 26px 18px;
    }

    .uj-modal-message {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .uj-modal-actions {
        flex-direction: column;
    }

        .uj-modal-actions .btn {
            width: 100%;
        }
}

/* ======================================
   Pagination
====================================== */

.pagination-all {
    margin-top: 30px;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0;
}

    .pagination .page-item {
        margin: 0;
    }

    .pagination .page-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        color: #555;
        background: #fff;
        border: 0px solid #ddd;
        border-radius: 6px !important;
        font-size: 14px;
        line-height: 1;
        text-align: center;
        box-shadow: none;
        transition: all 0.2s ease;
    }

        /* hover */
        .pagination .page-link:hover {
            color: #00a7e8;
            background: #f4fbfe;
            border-color: #00a7e8;
            text-decoration: none;
        }

        /* focus / active click */
        .pagination .page-link:focus,
        .pagination .page-link:active {
            outline: none;
            box-shadow: none;
        }

    /* 當前頁 */
    .pagination .page-item.active .page-link {
        color: #fff;
        background: #00a7e8;
        border-color: #00a7e8;
        cursor: default;
    }

    /* disabled */
    .pagination .page-item.disabled .page-link {
        color: #bbb;
        background: #f5f5f5;
        border-color: #e2e2e2;
        cursor: default;
    }

    /* 左右箭頭 */
    .pagination .page-link .fa {
        font-size: 13px;
    }

/* ======================================
   Login Form
====================================== */

.auth-panel .auth-field {
    margin-bottom: 16px;
}

.auth-panel .form-sharing-out {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    color: #444;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    /* placeholder */
    .auth-panel .form-sharing-out::placeholder {
        color: #555;
        opacity: 1;
    }

/* select 還沒選時 */
.auth-panel select.form-sharing-out:invalid {
    color: #555;
}

/* 選到實際項目後 */
.auth-panel select.form-sharing-out:valid {
    color: #444;
}

/* focus */
.auth-panel .form-sharing-out:focus {
    outline: none;
    border-color: #00a7e8;
    box-shadow: 0 0 0 3px rgba(0, 167, 232, 0.1);
}

/* 登入按鈕 */
.auth-panel .auth-login-btn {
    width: 100%;
    margin-top: 8px;
}

/* 商品卡片 hover 名稱框：高度跟著文字長度，避免英文長名稱底部被切掉（2026/11/10） */
.card-footer-a {
    position: relative;
    height: auto;
    min-height: 140px;
}

.card-overlay-a-content {
    bottom: 0 !important;
    transform: translateY(100%);
    transition: transform .5s ease-in;
}

.card-box-a:hover .card-overlay-a-content {
    transform: translateY(0);
}
