/* DBJ CSP inline-style migration — 2026-09-17 */
.dbj-csp-hidden { display: none; }
.dbj-force-hidden { display: none !important; }

.dbj-logistics-dash-vertical { width: 2px; background-image: url('/assets/dashed_rows.png'); }
.dbj-logistics-dash-horizontal { height: 2px; background-image: url('/assets/dashed.png'); }
.dbj-contact-honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.dbj-home-slider-shell { width: 100%; max-width: 1400px; margin: 0 auto; }
.dbj-autofill-decoy { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.dbj-text-security-disc { -webkit-text-security: disc; }
.dbj-filter-category-list-reset { padding: 0; margin: 0; list-style: none; display: block; }
.dbj-runtime-bg { background-color: transparent; }
.dbj-runtime-width-percent { width: 0; }

.dbj-top-divider-spacing { margin: 0 20px !important; }
.dbj-tool-search-link { margin-left: 5px !important; margin-right: 0 !important; display: inline-flex; align-items: center; }
.dbj-tool-account-link, .dbj-tool-cart-link { margin-left: 15px !important; margin-right: 0 !important; display: inline-flex; align-items: center; position: relative; }
.dbj-svg-current-color { fill: currentColor; }
.dbj-cart-svg { fill: currentColor; position: relative; top: -1px; }
.dbj-search-svg { fill: #999; }
.dbj-footer-auth-link { color: #0082c5; }
.dbj-footer-social-icon { fill: currentColor; vertical-align: middle; }
.dbj-footer-login-primary { background: #98d3f4; }
.dbj-order-recorder-spacer { margin-left: auto; margin-right: auto; margin-top: 20px; }


/* ===== moved from #Html/cookie_policy.html ===== */
.cookie-policy-page .db-legal-content{
        width: calc(100% - 48px);
        max-width: 1040px;
        margin: 0 auto;
        padding: 58px 0 72px;
        color: #3A4051;
    }
.cookie-policy-page .db-legal-content h1{
        font-size: 34px;
        line-height: 1.35;
        letter-spacing: .035em;
        margin: 0 0 12px;
        font-weight: 700;
    }
.cookie-policy-page .db-legal-lead{
        max-width: 880px;
        margin: 0;
        color: #555b68;
        font-size: 15px;
        line-height: 1.85;
    }
.cookie-policy-page .db-legal-updated{
        font-size: 13px;
        color: #8b8b8b;
        margin: 10px 0 30px;
    }
.cookie-policy-page .db-legal-summary{
        margin: 0 0 34px;
        padding: 20px 22px;
        border: 1px solid #e4e6eb;
        border-radius: 12px;
        background: #fafbfc;
        color: #555b68;
        font-size: 14px;
        line-height: 1.75;
    }
.cookie-policy-page .db-legal-summary strong{
        color: #3A4051;
    }
.cookie-policy-page .db-legal-toc{
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 22px;
        list-style: none;
    }
.cookie-policy-page .db-legal-toc a{
        color: #555b68;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
.cookie-policy-page .db-legal-section{
        scroll-margin-top: 110px;
        margin-top: 34px;
        line-height: 1.85;
        font-size: 15px;
        color: #555b68;
    }
.cookie-policy-page .db-legal-section h2{
        font-size: 20px;
        line-height: 1.45;
        color: #3A4051;
        margin: 0 0 12px;
        font-weight: 700;
    }
.cookie-policy-page .db-legal-section h3{
        font-size: 16px;
        line-height: 1.5;
        color: #3A4051;
        margin: 20px 0 8px;
        font-weight: 700;
    }
.cookie-policy-page .db-legal-section p{
        margin: 10px 0;
    }
.cookie-policy-page .db-legal-section ul{
        margin: 10px 0 0 20px;
        padding: 0;
    }
.cookie-policy-page .db-legal-section li + li{
        margin-top: 7px;
    }
.cookie-policy-page .db-legal-note{
        margin-top: 16px;
        padding: 16px 18px;
        border-left: 4px solid #3A4051;
        background: #f7f8fa;
    }
.cookie-policy-page .db-legal-note p:first-child{
        margin-top: 0;
    }
.cookie-policy-page .db-legal-note p:last-child{
        margin-bottom: 0;
    }
.cookie-policy-page .db-legal-table-wrap{
        width: 100%;
        margin-top: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
.cookie-policy-page .db-legal-table{
        width: 100%;
        min-width: 680px;
        border-collapse: collapse;
        font-size: 14px;
    }
.cookie-policy-page .db-legal-table th, .cookie-policy-page .db-legal-table td{
        border: 1px solid #e4e6eb;
        padding: 12px 14px;
        vertical-align: top;
        text-align: left;
    }
.cookie-policy-page .db-legal-table th{
        background: #f7f7f7;
        color: #3A4051;
        font-weight: 700;
    }
.cookie-policy-page .db-legal-actions{
        margin-top: 24px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
.cookie-policy-page .db-legal-btn{
        display: inline-block;
        padding: 11px 18px;
        border-radius: 999px;
        border: 1px solid #3A4051;
        color: #3A4051;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .03em;
        background: #fff;
        cursor: pointer;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
    }
.cookie-policy-page .db-legal-btn:hover, .cookie-policy-page .db-legal-btn:focus{
        background: #3A4051;
        color: #fff;
        transform: translateY(-1px);
    }
.cookie-policy-page .db-legal-content a:not(.db-legal-btn){
        color: #3A4051;
        overflow-wrap: anywhere;
    }
@media (max-width: 767px){.cookie-policy-page .db-legal-content{
            width: calc(100% - 36px);
            padding: 42px 0 56px;
        }
.cookie-policy-page .db-legal-content h1{
            font-size: 28px;
        }
.cookie-policy-page .db-legal-toc{
            grid-template-columns: 1fr;
        }
.cookie-policy-page .db-legal-summary{
            padding: 17px 18px;
        }
.cookie-policy-page .db-legal-section{
            margin-top: 30px;
        }
.cookie-policy-page .db-legal-table{
            font-size: 13px;
        }}

/* ===== moved from #Html/privacy_rights_request.html ===== */
.privacy-rights-page .db-legal-content{
        width: calc(100% - 48px);
        max-width: 1040px;
        margin: 0 auto;
        padding: 58px 0 72px;
        color: #3A4051;
    }
.privacy-rights-page .db-legal-content h1{
        font-size: 34px;
        letter-spacing: .04em;
        margin-bottom: 12px;
        font-weight: 700;
    }
.privacy-rights-page .db-legal-updated{
        font-size: 13px;
        color: #8b8b8b;
        margin-bottom: 34px;
    }
.privacy-rights-page .db-legal-section{
        margin-top: 30px;
        line-height: 1.85;
        font-size: 15px;
        color: #555b68;
    }
.privacy-rights-page .db-legal-section h2{
        font-size: 20px;
        color: #3A4051;
        margin-bottom: 12px;
        font-weight: 700;
    }
.privacy-rights-page .db-legal-card{
        margin-top: 18px;
        padding: 22px;
        border: 1px solid #e6e6e6;
        background: #fafafa;
        border-radius: 12px;
    }
.privacy-rights-page .db-legal-section ul{
        margin: 12px 0 0 20px;
        padding: 0;
    }
.privacy-rights-page .db-legal-actions{
        margin-top: 24px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
.privacy-rights-page .db-legal-btn{
        display: inline-block;
        padding: 11px 18px;
        border-radius: 999px;
        border: 1px solid #3A4051;
        color: #3A4051;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .03em;
        background: #fff;
        cursor: pointer;
    }
.privacy-rights-page .db-legal-btn:hover{
        background: #3A4051;
        color: #fff;
    }
.privacy-rights-page .db-legal-template{
        white-space: pre-line;
        background: #fff;
        border: 1px solid #e6e6e6;
        padding: 16px;
        margin-top: 12px;
        border-radius: 10px;
        font-size: 13px;
        color: #555b68;
        line-height: 1.7;
    }
@media (max-width: 767px){.privacy-rights-page .db-legal-content{
            width: calc(100% - 36px);
            padding: 42px 0 56px;
        }
.privacy-rights-page .db-legal-content h1{
            font-size: 28px;
        }}

/* ===== moved from #Html/member_coupon.html ===== */
.member-coupon-page .content.coupon-content{
            padding-top: 35px;
            margin-bottom: 70px;
        }
.member-coupon-page .coupon-wrap{
            width: 100%;
            max-width: 920px;
            margin: 0 auto;
            padding: 0 18px 20px;
        }
.member-coupon-page .coupon-summary{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-bottom: 28px;
        }
.member-coupon-page .coupon-summary-card{
            display: block;
            border: 1px solid #d5d5d5;
            background: #fff;
            text-align: center;
            padding: 18px 12px;
            text-decoration: none;
            transition: border-color .2s ease, background .2s ease, transform .2s ease;
        }
.member-coupon-page .coupon-summary-card:hover{
            border-color: #9e9388;
            transform: translateY(-1px);
        }
.member-coupon-page .coupon-summary-card.active{
            border-color: #8f4b20;
            background: #fbf8f4;
            box-shadow: inset 0 -3px 0 #8f4b20;
        }
.member-coupon-page .coupon-summary-card strong{
            display: block;
            font-size: 24px;
            color: #222;
            margin-bottom: 7px;
            font-weight: 700;
        }
.member-coupon-page .coupon-summary-card span{
            font-size: 12px;
            color: #555;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
.member-coupon-page .coupon-summary-card.active strong, .member-coupon-page .coupon-summary-card.active span{ color: #8f4b20; }
.member-coupon-page .coupon-list{
            display: flex;
            flex-direction: column;
            gap: 18px;
        }
.member-coupon-page .coupon-page-nav{
            margin-top: 44px;
            text-align: center;
        }
.member-coupon-page .coupon-card{
            border: 1px solid #cfcfcf;
            background: #fff;
            display: grid;
            grid-template-columns: 210px 1fr;
            min-height: 142px;
        }
.member-coupon-page .coupon-discount{
            display: flex;
            align-items: center;
            justify-content: center;
            border-right: 1px dashed #cfcfcf;
            padding: 24px 20px;
            text-align: center;
        }
.member-coupon-page .coupon-discount strong{
            display: block;
            font-size: 26px;
            line-height: 1.1;
            color: #222;
            font-weight: 700;
        }
.member-coupon-page .coupon-main{
            padding: 22px 24px;
        }
.member-coupon-page .coupon-head{
            display: flex;
            justify-content: space-between;
            gap: 18px;
            align-items: flex-start;
            margin-bottom: 12px;
        }
.member-coupon-page .coupon-name{
            font-size: 17px;
            color: #111;
            font-weight: 700;
            letter-spacing: .8px;
            line-height: 1.35;
            text-transform: uppercase;
        }
.member-coupon-page .coupon-status{
            flex: 0 0 auto;
            border: 1px solid #cfcfcf;
            padding: 5px 10px 4px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .8px;
            color: #555;
        }
.member-coupon-page .coupon-status.available{ border-color: #9e9388; color: #6e5b4b; }
.member-coupon-page .coupon-status.pending{ border-color: #c7a46a; color: #8b681f; }
.member-coupon-page .coupon-status.used, .member-coupon-page .coupon-status.expired, .member-coupon-page .coupon-status.disabled, .member-coupon-page .coupon-status.unavailable{ color: #999; }
.member-coupon-page .coupon-reward-source{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            margin: -2px 0 13px;
            color: #6e5b4b;
            font-size: 12px;
            line-height: 1.5;
        }
.member-coupon-page .coupon-reward-type{
            font-weight: 700;
            letter-spacing: .5px;
            text-transform: uppercase;
        }
.member-coupon-page .coupon-new-badge{
            display: inline-flex;
            align-items: center;
            min-height: 22px;
            padding: 3px 8px 2px;
            border-radius: 11px;
            background: #8f4b20;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .8px;
            line-height: 1;
            text-transform: uppercase;
        }
.member-coupon-page .coupon-reward-detail{
            width: 100%;
            color: #777;
            font-size: 11px;
        }
.member-coupon-page .coupon-meta{
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 7px 18px;
            color: #555;
            font-size: 12px;
            line-height: 1.35;
            margin-bottom: 16px;
        }
.member-coupon-page .coupon-action-row{
            display: flex;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #eeeeee;
            padding-top: 14px;
        }
.member-coupon-page .coupon-use-note{
            color: #555;
            font-size: 12px;
            line-height: 1.45;
        }
.member-coupon-page .coupon-checkout-btn{
            height: 38px;
            border: 1px solid #9e9388;
            background: #fff;
            color: #333;
            padding: 0 16px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .8px;
            text-transform: uppercase;
            transition: all .2s ease;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
.member-coupon-page .coupon-checkout-btn:hover{
            background: #b5a798;
            color: #fff;
        }
.member-coupon-page .coupon-unavailable-note{
            color: #999;
            font-size: 12px;
            border-top: 1px solid #eeeeee;
            padding-top: 14px;
        }
.member-coupon-page .coupon-empty{
            border: 1px solid #d6d6d6;
            text-align: center;
            padding: 58px 20px;
            color: #333;
        }
.member-coupon-page .coupon-empty h2{
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }
.member-coupon-page .coupon-back{
            display: inline-block;
            margin-top: 24px;
            color: #8f4b20;
            font-weight: 600;
        }
@media only screen and (max-width: 767px){.member-coupon-page .content.coupon-content{
                padding-top: 24px;
            }
.member-coupon-page .coupon-wrap{
                padding: 0 22px 10px;
            }
.member-coupon-page .coupon-summary{
                grid-template-columns: 1fr 1fr 1fr;
                gap: 8px;
            }
.member-coupon-page .coupon-summary-card{
                padding: 14px 8px;
            }
.member-coupon-page .coupon-summary-card strong{
                font-size: 20px;
            }
.member-coupon-page .coupon-card{
                grid-template-columns: 1fr;
            }
.member-coupon-page .coupon-discount{
                border-right: none;
                border-bottom: 1px dashed #cfcfcf;
                padding: 22px 16px;
            }
.member-coupon-page .coupon-head{
                flex-direction: column;
                gap: 8px;
            }
.member-coupon-page .coupon-meta{
                grid-template-columns: 1fr;
            }
.member-coupon-page .coupon-action-row{
                flex-direction: column;
                align-items: flex-start;
            }}

/* ===== moved from #Html/member_login.html ===== */
.login-page .content.login-content{
            padding-top: 0;
            margin-bottom: 70px;
        }
.login-page-wrap{
            width: 100%;
            max-width: 560px;
            margin: 0 auto;
            padding: 0 18px 20px;
        }
.login-page .login-form-label{
            display: block;
            font-family: "Josefin Sans", sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .5px;
            color: #111;
            margin: 22px 0 15px;
            text-transform: uppercase;
        }
.login-page .login-input{
            width: 100%;
            height: 48px;
            border: 1px solid #d6d6d6;
            padding: 0 18px;
            font-size: 13px;
            color: #333;
            background: #fff;
            margin-bottom: 25px;
        }
.login-page .login-input:focus{
            border-color: #b6a899;
        }
.login-page .login-options{
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 6px 0 25px;
            font-size: 13px;
            color: #111;
        }
.login-page .login-remember{
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }
.login-page .login-remember input{
            appearance: checkbox;
            -webkit-appearance: checkbox;
            width: 14px;
            height: 14px;
            margin: 0;
            border: 1px solid #bbb;
        }
.login-page .login-forgot{
            color: #111;
        }
.login-page .login-forgot:hover, .login-page .login-create a:hover{
            color: #9e8277;
        }
.login-page .login-submit{
            width: 100%;
            height: 54px;
            border: 1px solid #cfcfcf;
            background: #8e97a8;
            color: #fff;
            text-align: center;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: all .25s ease;
        }
.login-page .login-submit:hover{
            background: #747c91;
            color: #fff;
            border: 1px solid #525252;
        }
.login-page .login-or{
            display: flex;
            align-items: center;
            gap: 18px;
            margin: 25px 0;
            color: #555;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
.login-page .login-or:before, .login-page .login-or:after{
            content: "";
            height: 1px;
            background: #ededed;
            flex: 1;
        }
.login-page .dbj-google-login{
            width: 100%;
            min-height: 52px;
            position: relative;
        }
.login-page .dbj-google-button-host{
            width: 100%;
            min-height: 44px;
            display: flex;
            justify-content: center;
        }
.login-page .dbj-google-login.is-busy .dbj-google-button-host{
            opacity: .55;
            pointer-events: none;
        }
.login-page .dbj-google-login-status{
            min-height: 20px;
            margin: 10px 0 0;
            text-align: center;
            font-size: 12px;
            line-height: 1.55;
            color: #596273;
        }
.login-page .dbj-google-login-status.is-error{
            color: #a13c32;
        }
.login-page .dbj-google-login-status.is-success{
            color: #2f6b48;
        }
.login-page .dbj-google-unavailable{
            padding: 14px 16px;
            border: 1px solid #dedede;
            background: #fafafa;
            color: #666;
            text-align: center;
            font-size: 13px;
            line-height: 1.6;
        }
.login-page body.dbj-google-modal-open{
            overflow: hidden;
        }
.login-page .dbj-google-link-modal[hidden]{
            display: none !important;
        }
.login-page .dbj-google-link-modal{
            position: fixed;
            z-index: 10050;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22px;
            background: rgba(20, 22, 27, .62);
        }
.login-page .dbj-google-link-dialog{
            width: 100%;
            max-width: 470px;
            padding: 28px;
            border: 1px solid #d8d8d8;
            background: #fff;
            box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
        }
.login-page .dbj-google-link-title{
            margin: 0 0 12px;
            color: #1f2530;
            font-family: "Josefin Sans", sans-serif;
            font-size: 21px;
            font-weight: 700;
            letter-spacing: .3px;
        }
.login-page .dbj-google-link-description, .login-page .dbj-google-link-email, .login-page .dbj-google-link-note{
            margin: 0 0 14px;
            color: #535b68;
            font-size: 13px;
            line-height: 1.7;
        }
.login-page .dbj-google-link-email strong{
            color: #222;
            word-break: break-all;
        }
.login-page .dbj-google-link-error{
            min-height: 22px;
            margin: 8px 0 12px;
            color: #a13c32;
            font-size: 12px;
            line-height: 1.55;
        }
.login-page .dbj-google-link-actions{
            display: flex;
            gap: 10px;
            margin-top: 18px;
        }
.login-page .dbj-google-link-actions button{
            min-height: 44px;
            flex: 1;
            border: 1px solid #c8c8c8;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .4px;
            transition: all .2s ease;
        }
.login-page .dbj-google-link-confirm{
            background: #8e97a8;
            color: #fff;
        }
.login-page .dbj-google-link-confirm:hover{
            background: #747c91;
        }
.login-page .dbj-google-link-cancel{
            background: #fff;
            color: #333;
        }
.login-page .dbj-google-link-cancel:hover{
            background: #f4f4f4;
        }
.login-page .login-create{
            text-align: center;
            margin-top: 34px;
            margin-bottom: 42px;
            color: #111;
            font-size: 13px;
        }
.login-page .login-create a{
            color: #8f4b20;
            margin-left: 8px;
            font-weight: 600;
        }
@media only screen and (max-width: 767px){.login-page .content.login-content{
                padding-top: 0;
            }
.login-page-wrap{
                max-width: 100%;
                padding: 0 24px 10px;
            }
.login-page .login-options{
                align-items: flex-start;
                gap: 12px;
            }}

/* ===== moved from #Html/member_orderlist.html ===== */
.member-orders-page .dbj-order-btn-cancel{border-color:#BFBFBF;color:#ADADAD!important;background:#F5F5F5;}
.member-orders-page .dbj-order-btn-cancel:hover{background:#F5F5F5;color:#6B6B6B!important;}
.member-orders-page .dbj-order-btn-disabled, .member-orders-page .dbj-order-btn-disabled:hover{border-color:#d5d8df!important;background:#f3f4f6!important;color:#9aa1ad!important;cursor:not-allowed!important;}
.member-orders-page .dbj-order-modal-overlay{position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(32,38,56,.62);}
.member-orders-page .dbj-order-modal-overlay.is-active{display:flex;}
.member-orders-page .dbj-order-modal{width:100%;max-width:720px;max-height:88vh;overflow:auto;background:#fff;border:1px solid #c8ccd4;box-shadow:0 18px 45px rgba(0,0,0,.22);font-family:"Open Sans","微軟正黑體",sans-serif;color:#222;}
.member-orders-page .dbj-order-modal-small{max-width:620px;}
.member-orders-page .dbj-order-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid #d4d8df;}
.member-orders-page .dbj-order-modal-head h2{margin:0;color:#222;font-family:"Montserrat","微軟正黑體",sans-serif;font-size:20px;line-height:1.4;font-weight:700;letter-spacing:1px;text-transform:uppercase;}
.member-orders-page .dbj-order-modal-close{border:0;background:transparent;color:#777;font-size:28px;line-height:1;cursor:pointer;padding:0;}
.member-orders-page .dbj-order-modal-close:hover{color:#000;}
.member-orders-page .dbj-order-modal-body{padding:22px 24px;font-size:14px;line-height:1.8;color:#555;}
.member-orders-page .dbj-order-modal-body p{margin:0 0 12px;}
.member-orders-page .dbj-order-modal-body ul{margin:10px 0 0 20px;padding:0;list-style:disc;}
.member-orders-page .dbj-order-modal-body li{margin:0 0 10px;}
.member-orders-page .dbj-order-modal-warning{padding:12px 14px;margin:0 0 14px;border:1px solid #d4d8df;background:#f7f8fa;color:#3a4051;font-weight:700;}
.member-orders-page .dbj-order-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:18px 24px 22px;border-top:1px solid #d4d8df;}
.member-orders-page .dbj-order-modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;}
.member-orders-page .dbj-order-modal-field{display:block;}
.member-orders-page .dbj-order-modal-field-full{grid-column:1 / -1;}
.member-orders-page .dbj-order-modal-field span{display:block;margin-bottom:6px;color:#3a4051;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;}
.member-orders-page .dbj-order-modal-field input, .member-orders-page .dbj-order-modal-field textarea{width:100%;border:1px solid #cfd3db;background:#fff;color:#222;font-size:14px;line-height:1.5;padding:11px 12px;font-family:"Open Sans","微軟正黑體",sans-serif;}
.member-orders-page .dbj-order-modal-field textarea{min-height:92px;resize:vertical;}
.member-orders-page .dbj-order-modal-field input:focus, .member-orders-page .dbj-order-modal-field textarea:focus{border-color:#3a4051;outline:none;}
.member-orders-page .dbj-order-modal-dev-note{margin-top:12px;color:#888;font-size:12px;line-height:1.6;}
@media screen and (max-width:767px){.member-orders-page .dbj-order-modal-overlay{padding:14px;}
.member-orders-page .dbj-order-modal-head, .member-orders-page .dbj-order-modal-body, .member-orders-page .dbj-order-modal-actions{padding-left:16px;padding-right:16px;}
.member-orders-page .dbj-order-modal-form-grid{grid-template-columns:1fr;}
.member-orders-page .dbj-order-modal-actions .dbj-order-btn{width:100%;}}

/* ===== moved from #Html/member-orderlist-detail.html ===== */
.member-order-detail-page .dbj-order-toast{position:fixed;top:18px;left:50%;z-index:10050;display:none;max-width:calc(100% - 32px);padding:11px 18px;border:1px solid #cfd8e3;background:#222;color:#fff;font-size:13px;line-height:1.5;font-weight:700;letter-spacing:.4px;box-shadow:0 8px 24px rgba(0,0,0,.18);transform:translate(-50%,-10px);opacity:0;transition:opacity .25s ease,transform .25s ease;}
.member-order-detail-page .dbj-order-toast.is-active{display:block;opacity:1;transform:translate(-50%,0);}
.member-order-detail-page .dbj-order-toast.is-error{background:#8a2f2f;border-color:#8a2f2f;}
.member-order-detail-page .dbj-order-message-form.is-sending textarea, .member-order-detail-page .dbj-order-message-form.is-sending button, .member-order-detail-page .dbj-order-message-form.is-sending label{opacity:.65;pointer-events:none;}
.member-order-detail-page .dbj-order-btn-cancel{border-color:#d1d1d1;color:#adadad!important;background:#eeeeee;}
.member-order-detail-page .dbj-order-btn-cancel:hover{background:#e7e7e7;color:#777777!important;}
.member-order-detail-page .dbj-order-btn-disabled, .member-order-detail-page .dbj-order-btn-disabled:hover{border-color:#d5d8df!important;background:#f3f4f6!important;color:#9aa1ad!important;cursor:not-allowed!important;}
.member-order-detail-page .dbj-order-modal-overlay{position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(32,38,56,.62);}
.member-order-detail-page .dbj-order-modal-overlay.is-active{display:flex;}
.member-order-detail-page .dbj-order-modal{width:100%;max-width:720px;max-height:88vh;overflow:auto;background:#fff;border:1px solid #c8ccd4;box-shadow:0 18px 45px rgba(0,0,0,.22);font-family:"Open Sans","微軟正黑體",sans-serif;color:#222;}
.member-order-detail-page .dbj-order-modal-small{max-width:620px;}
.member-order-detail-page .dbj-order-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid #d4d8df;}
.member-order-detail-page .dbj-order-modal-head h2{margin:0;color:#222;font-family:"Montserrat","微軟正黑體",sans-serif;font-size:20px;line-height:1.4;font-weight:700;letter-spacing:1px;text-transform:uppercase;}
.member-order-detail-page .dbj-order-modal-close{border:0;background:transparent;color:#777;font-size:28px;line-height:1;cursor:pointer;padding:0;}
.member-order-detail-page .dbj-order-modal-close:hover{color:#000;}
.member-order-detail-page .dbj-order-modal-body{padding:22px 24px;font-size:14px;line-height:1.8;color:#555;}
.member-order-detail-page .dbj-order-modal-body p{margin:0 0 12px;}
.member-order-detail-page .dbj-order-modal-body ul{margin:10px 0 0 20px;padding:0;list-style:disc;}
.member-order-detail-page .dbj-order-modal-body li{margin:0 0 10px;}
.member-order-detail-page .dbj-order-modal-warning{padding:12px 14px;margin:0 0 14px;border:1px solid #d4d8df;background:#f7f8fa;color:#3a4051;font-weight:700;}
.member-order-detail-page .dbj-order-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:18px 24px 22px;border-top:1px solid #d4d8df;}
.member-order-detail-page .dbj-order-modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;}
.member-order-detail-page .dbj-order-modal-field{display:block;}
.member-order-detail-page .dbj-order-modal-field-full{grid-column:1 / -1;}
.member-order-detail-page .dbj-order-modal-field span{display:block;margin-bottom:6px;color:#3a4051;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;}
.member-order-detail-page .dbj-order-modal-field input, .member-order-detail-page .dbj-order-modal-field textarea, .member-order-detail-page .dbj-order-modal-field select{width:100%;border:1px solid #cfd3db;background-color:#fff;color:#222;font-size:14px;line-height:1.5;padding:11px 12px;font-family:"Open Sans","微軟正黑體",sans-serif;border-radius:0;box-shadow:none;}
.member-order-detail-page .dbj-order-modal-field select{height:45px;background-image:url(../img/arrow.png);background-repeat:no-repeat;background-position:right center;}
.member-order-detail-page .dbj-order-modal-field textarea{min-height:92px;resize:vertical;}
.member-order-detail-page .dbj-order-modal-field input:focus, .member-order-detail-page .dbj-order-modal-field textarea:focus, .member-order-detail-page .dbj-order-modal-field select:focus{border-color:#3a4051;outline:none;}
.member-order-detail-page .dbj-order-modal-custom-wrap{display:none;margin-top:8px;}
.member-order-detail-page .dbj-order-modal-custom-wrap.is-active{display:block;}
.member-order-detail-page .dbj-order-modal-field select.dbj-placeholder-select.is-placeholder{color:#aaa!important;}
.member-order-detail-page .dbj-order-modal-field select.dbj-placeholder-select option{color:#222;}
.member-order-detail-page .dbj-order-modal-field select.dbj-placeholder-select option[value=""]{color:#aaa!important;}
.member-order-detail-page .dbj-order-modal-dev-note{margin-top:12px;color:#888;font-size:12px;line-height:1.6;}
@media screen and (max-width:767px){.member-order-detail-page .dbj-order-modal-overlay{padding:14px;}
.member-order-detail-page .dbj-order-modal-head, .member-order-detail-page .dbj-order-modal-body, .member-order-detail-page .dbj-order-modal-actions{padding-left:16px;padding-right:16px;}
.member-order-detail-page .dbj-order-modal-form-grid{grid-template-columns:1fr;}
.member-order-detail-page .dbj-order-modal-actions .dbj-order-btn{width:100%;}}
