﻿@charset "UTF-8";

/* =====================================================
   Reader’s Theater 專用 CSS — 整理版
   保留原有配色／票券版面／Finish 樣式
   新增手機底部橫向滑動選單
   ===================================================== */


/* =====================================================
   01 基本設定及背景
   ===================================================== */

body {
    background-image: url("images/bg.png") ;
    background-position: center top;
		background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    
}

.header {
  background: rgba(169,27,30,.96);
  border-bottom: 1px solid #b11a1c;
  box-shadow:
    0 4px 20px rgba(0,0,0,.36);
    
}


/* =====================================================
   02 桌面導覽選單
   ===================================================== */

.menu {
  gap: 20px;
}

.menu a {
  width: 100px;
    height: 41px;
  font-size: 16px;
  color: #FFF;
background: url("images/menu.webp") center / contain no-repeat;
    text-decoration: none;
}

.menu a:hover {
    color: #ffd900;
    font-weight:900;
   background: url("images/menu.png");
		background-repeat: no-repeat;
    background-position: center ;
}

.menu a:hover::after {
    display: none;
}


/* =====================================================
   03 舞台光束與主視覺
   ===================================================== */

.top-light{
    position: absolute;
    top: -20px;

    width:350px;
    height: 460px;

    transform-origin: 50% 0%;
    pointer-events: none;

    clip-path: polygon(
        48% 0,
        52% 0,
        100% 100%,
        0 100%
    );

    background: linear-gradient(
        to bottom,
        rgba(255,235,185,.42) 0%,
        rgba(255,235,185,.20) 45%,
        rgba(255,235,185,.08) 75%,
        transparent 100%
    );

    filter: blur(14px);
    opacity: .85;
    z-index: 1;
}

.light-left {
    margin-left: -80px;
  
    transform: rotate(-10deg);
        
}

.light-center {
    margin-left:320px;
    width: 500px;
    opacity: .85;

    animation: lightCenter 5s
        ease-in-out infinite alternate; 
        
       animation: none;


}

.light-right {
    margin-left: 910px;
  
 animation: lightRight 3s
        ease-in-out infinite alternate;
        
            animation: none;
    transform: rotate(10deg);

}

@keyframes lightLeft {
    from { transform: rotate(-16deg); }
    to   { transform: rotate(13deg); }
}

@keyframes lightCenter {
    from { transform: rotate(12deg); }
    to   { transform: rotate(-12deg); }
}

@keyframes lightRight {
    from { transform: rotate(15deg); }
    to   { transform: rotate(-15deg); }
}

.hero {
    position: static;
    height:280px;
    
    
}

.hero-online,
.hero-title,
.hero-subtitle,
.hero-teacher {
    position: absolute;
}

.hero-online {
    width: min(100%, 105px);
    margin:0 0 0 -600px;
}

.hero-title {
    width: min(100%, 780px);
    margin:35px 0 0 -480px;
    animation: titleReveal 1s ease-in-out .8s both;
}

.hero-subtitle {
    width: min(100%, 643px);
    margin: 200px 0 0 -420px;
    animation: subtitleUp .8s
        cubic-bezier(.22, 1, .36, 1)
        2.2s both;
}

.hero-teacher {
    width: min(100%, 250px);
    margin:70px 0 0 320px;
}

@keyframes titleReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes subtitleUp {
    from {
        opacity: 0;
        transform: translate3d(0, 25px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}


/* =====================================================
   04 舞台開場動畫
   ===================================================== */

.stage-opening {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    overflow: hidden;

    animation: stageHide 0s linear .9s forwards;
}

.stage-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);

    animation: stageLightUp .8s ease-out forwards;
}

.stage-curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;

    background: repeating-linear-gradient(
        90deg,
        #820008 0px,
        #bb101b 30px,
        #e3282c 65px,
        #a00510 100px,
        #820008 130px
    );

    box-shadow:
        inset 15px 0 30px rgba(0,0,0,.25),
        inset -15px 0 30px rgba(255,255,255,.12);

    will-change: transform;
}

.stage-curtain.curtain-left {
    left: 0;

    animation: stageOpenLeft .8s
        ease-in-out forwards;
}

.stage-curtain.curtain-right {
    right: 0;

    animation: stageOpenRight .8s
        ease-in-out forwards;
}

@keyframes stageLightUp {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes stageOpenLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-101%);
    }
}

@keyframes stageOpenRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(101%);
    }
}

@keyframes stageHide {
    to {
        visibility: hidden;
    }
}


/* =====================================================
   05 課程內容及區塊
   ===================================================== */

.course-page {
    padding: 26px 20px 40px ;
    background: transparent;
    color: #40332e;
    
    background-image: url("images/star.png") ;
		background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;

    
}

.course-page *, .course-page *::before, .course-page *::after {
 box-sizing: border-box; 
 
 }

.course-container {
    gap: 18px;
     position: relative;
}

.course-main, .course-sidebar { min-width: 0; overflow: visible; }

.course-main .course-hero,
.course-main .teacher-section,
.course-main .content-section,
.course-main .faq-section {
    background: #fffaf3;
    border: 1px solid rgba(243, 214, 184, .9);
    box-shadow: 0 8px 22px rgba(85, 21, 22, .12);
    margin: 0 0 40px;
    overflow: hidden;
    padding: 16px ;
}

.course-main .signup-form-card {
    background: #fffaf3;
    
}

.course-main .section-banner {
    display: block;
    height: auto;
    margin: 15px 0 14px;
    border-radius: 0;
}

.course-main .course-hero-img, 
.course-main .content-image
 {	
 
    width: min(100%, 1000px);

    margin: 0 auto ;
    display: block;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.course-main .lesson-card {
    margin: 16px 0 22px 0;
    border-color: #f1dac7;
    border-radius: 0;
}

.lesson-card.lesson-article:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(38, 61, 78, .07);
}

.course-main .lesson-label { color: #a93b41; }

.course-main .lesson-body h2 { color: #733035; }

.course-main .lesson-info span { background: #fbefe4; color: #845f50; }

.course-main .section-heading p {color: #8c7166; }

.course-main .faq-section{ margin: 0 0 ;}

.course-main .faq-list {
 border-color: #ecd9c6; padding: 10px 20px;}

.course-main .faq-item { border-color: #ecd9c6; }

.course-main .faq-question { color: #663c39; }

.course-main .faq-plus { color: #b43841; }

.course-main .faq-answer { color: #756760; }

.kids{
    position: relative;
	z-index:99;
    margin-top:-45px;
    margin-left:100px;
    width:700px;
}

.stage{
    position: absolute;
    margin-left:-820px;
    margin-top:300px;
    width:920px;
}

.site-footer {
    position: relative;
	z-index:9;
	margin-top:92px;
}


/* =====================================================
   06 課程票券式報名卡
   ===================================================== */

.course-sidebar { align-self: stretch; height: 100%; }

.course-sidebar .signup-card {
    position: sticky;
    top: 92px;
    width: 100%;
    height: fit-content;
    background: #fff9ed;
    border: 1px solid #f0d4b5;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(70, 10, 13, .17);
    overflow: hidden;
}

.course-sidebar .signup-header {
    padding: 25px 22px 19px;
    text-align: center;
    color: #5b3030;
    background: transparent;
    border: 0;
}

.course-sidebar .signup-tag {
    display: block;
    font-size: 10px;
    letter-spacing: .17em;
    font-weight: 800;
    color: #ac7551;
    margin: 0 0 9px;
}

.course-sidebar .signup-header h2 {
    font-size: 21px;
    line-height: 1.45;
    color: #56292b;
    margin: 0 0 8px;
    font-weight: 800;
}

.course-sidebar .signup-header p {
    font-size: 12px;
    line-height: 1.7;
    color: #b55453;
    margin: 0;
}

.course-sidebar .signup-details {
    margin: 0 18px 14px;
    padding: 4px 14px;
    border: 1px solid #f3e0cd;
    background: #fffdf8;
    border-radius: 14px;
}

.course-sidebar .signup-details .signup-detail {
    position: relative;
    padding: 13px 0 13px 43px;
    border-bottom: 1px dashed #e8d4bd;
}

.course-sidebar .signup-details .signup-detail:last-child { border-bottom: 0; }

.course-sidebar .signup-detail::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 31px;
    height: 31px;
    background: #fff0dc;
    border-radius: 50%;
}

.course-sidebar .signup-detail::after {
    content: "✦";
    position: absolute;
    top: 21px;
    left: 9px;
    font-size: 13px;
    color: #b82f3a;
}

.course-sidebar .signup-detail-date::after { content: "▦"; font-size: 17px; top: 19px; left: 8px; }

.course-sidebar .signup-detail-teacher::after { content: "●"; font-size: 14px; top: 20px; left: 10px; }

.course-sidebar .signup-detail-mode::after { content: "▶"; font-size: 12px; top: 21px; left: 10px; }

.course-sidebar .signup-detail .purchase-title {
    padding: 0;
    color: #ae7960;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 2px;
}

.course-sidebar .signup-detail .purchase-item {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.course-sidebar .signup-detail .purchase-name strong {
    color: #59443c;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.course-sidebar .bundle-box {
    margin: 14px 18px 16px;
    padding: 15px 15px 13px;
    border: 1px solid #f3d9a6;
    border-radius: 15px;
    background: linear-gradient(160deg, #fff4d5, #ffeabc);
}

.course-sidebar .bundle-top { margin-bottom: 7px; }

.course-sidebar .bundle-label {
    padding: 5px 14px;
    background: #be2337;
    color: white;
    font-size: 12px;
}

.course-sidebar .normal-price {
    padding: 7px 0 12px;
    border-bottom: 1px dashed #e9c99c;
    justify-content: space-between;
}

.course-sidebar .single-badge { background: #e7f1fa; color: #54759a; }

.course-sidebar .price-content small { font-size: 12px; color: #a43e47; }

.course-sidebar .normal-price .price-content strong { font-size: 27px; color: #c63341; }

.course-sidebar .group-price {
    margin-top: 11px;
    padding: 13px 13px 12px;
    background: rgba(255, 255, 255, .8);
    border-radius: 12px;
}

.course-sidebar .group-price-head { margin-bottom: 7px; }

.course-sidebar .group-badge { background: #427bb6; color: white; }

.course-sidebar .group-price .price-content strong {
    font-size: 35px;
    color: #c81b34;
}

.course-sidebar .group-price::after {
    content: "團報優惠";
    top: -9px;
    right: 10px;
    background: #da8a20;
}

.course-sidebar .main-buy-btn {
    display: flex;
    margin: 0 18px;
    min-height: 52px;
    border-radius: 12px;
    background: linear-gradient(180deg, #e23640, #b80e25);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 0 #8f0b1f, 0 8px 15px rgba(137, 17, 30, .14);
    text-decoration: none;
}

.course-sidebar .main-buy-btn:hover {
    background: linear-gradient(180deg, #e84550, #a90d20);
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 5px 0 #8f0b1f, 0 9px 18px rgba(137, 17, 30, .2);
}

.course-sidebar .signup-note {
    margin: 16px 18px 0;
    padding: 14px 0 18px;
    border-top: 1px dashed #ead3b7;
    color: #8b7462;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

.course-sidebar .signup-note span { color: #a54a45; }

.course-sidebar .signup-note .bundle-original { color: #946a43; }


/* =====================================================
   07 Finish 付款及訂單頁
   ===================================================== */

.finish-container {
    max-width: 1160px;
    margin: 0 auto;
}

.finish-status-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 24px 28px;
    margin-bottom: 26px;

    background: #fffaf3;
    border: 1px solid rgba(243, 214, 184, .9);
    box-shadow: 0 8px 22px rgba(85, 21, 22, .12);
    border-radius: 12px;
}

.finish-status-card.status-pending {
    border-left: 4px solid #d6a358;
}

.finish-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: #fff4e2;
    color: #b98233;

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

.finish-status-card h2 {
    margin: 0 0 9px;
    color: #34434c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.finish-status-card p {
    margin: 0;
    color: #788891;
    font-size: 14px;
    line-height: 1.9;
}

.finish-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr);
    align-items: start;
    gap: 24px;
}

.atm-card,
.finish-order-card {
    min-width: 0;
    padding: 28px;

    background: #fffaf3;
    border: 1px solid rgba(243, 214, 184, .9);
    box-shadow: 0 8px 22px rgba(85, 21, 22, .12);
}

.finish-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 24px;
}

.finish-card-title h2,
.finish-order-card > h2 {
    margin: 0;
    color: #34434c;
    font-size: 19px;
    font-weight: 700;
}

.payment-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    padding: 5px 12px;

    background: #fff6e9;
    color: #a8752b;
    border: 1px solid #f1dfbd;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 600;
}

.atm-amount-box {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 24px;
    padding: 21px 24px;

    background: #fff8f6;
    border: 1px solid #f4e2dc;
    border-radius: 10px;
}

.atm-amount-box span {
    color: #788891;
    font-size: 13px;
}

.atm-amount-box strong {
    color: #d65c53;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.atm-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.atm-info-item {
    min-width: 0;
    padding: 17px 18px;

    background: #fafbfc;
    border: 1px solid #e8ecef;
    border-radius: 9px;
}

.atm-info-item > span {
    display: block;
    margin-bottom: 10px;

    color: #788891;
    font-size: 13px;
}

.atm-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.atm-copy-row strong,
.atm-info-item > strong {
    min-width: 0;
    color: #34434c;
    font-size: 17px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.atm-account {
    font-size: 18px !important;
    letter-spacing: .5px;
    font-variant-numeric: tabular-nums;
}

.atm-deadline {
    grid-column: 1 / -1;
    background: #fffdf9;
    border-color: #f0e7d8;
}

.atm-deadline strong {
    color: #ae792e;
}

.atm-copy-row .copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: auto;
    min-width: 56px;
    height: 34px;
    padding: 6px 12px;

    background: #fff4f2;
    color: #c6534b;

    border: 1px solid #f0d1cc;
    border-radius: 7px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition: all .2s ease;
}

.atm-copy-row .copy-btn:hover {
    background: #fce5e1;
    border-color: #e5aca4;
    color: #b9433c;
}

.atm-copy-row .copy-btn:active {
    transform: translateY(1px);
}

.atm-guide {
    margin-top: 24px;
    padding: 20px 22px;

    background: #fafbfc;
    border: 1px solid #e8ecef;
    border-radius: 10px;
}

.atm-guide h3 {
    margin: 0 0 13px;
    color: #34434c;
    font-size: 15px;
    font-weight: 700;
}

.atm-guide ol {
    margin: 0;
    padding-left: 21px;
}

.atm-guide li {
    margin-bottom: 9px;
    color: #677781;
    font-size: 13px;
    line-height: 1.8;
}

.atm-guide li:last-child {
    margin-bottom: 0;
}

.atm-guide li strong {
    color: #d65c53;
}

.atm-bottom-actions {
    margin-top: 25px;
    text-align: center;
}

.atm-bottom-actions .check-payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 11px 26px;

    background: #d65c53;
    color: #fff;

    border: 1px solid #d65c53;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition: all .2s ease;
}

.atm-bottom-actions .check-payment-btn:hover {
    background: #bd4f47;
    border-color: #bd4f47;
    color: #fff;
    text-decoration: none;
}

.atm-bottom-actions p {
    margin: 15px 0 0;
    color: #89959c;
    font-size: 12px;
    line-height: 1.8;
}

.finish-order-card > h2 {
    margin-bottom: 20px;
}

.order-number {
    margin-bottom: 20px;
    padding: 12px 14px;

    background: #f7f9fa;
    border-radius: 8px;

    color: #788891;
    font-size: 13px;
}

.order-number strong {
    color: #34434c;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.finish-course-title {
    padding-bottom: 18px;
    margin-bottom: 6px;

    border-bottom: 1px solid #edf0f2;

    color: #34434c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.finish-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    padding: 12px 0;
    border-bottom: 1px solid #f0f2f4;

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

.finish-row > span {
    flex-shrink: 0;
    color: #89959c;
}

.finish-row > strong {
    color: #46565f;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.finish-invoice-note {
    margin-top: 12px;
    color: #89959c;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.finish-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid #e5e9ec;
    
    background: linear-gradient(180deg, #e23640, #b80e25);


}

.finish-total span {
    color: #46565f;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.finish-total strong {
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    white-space: nowrap;
}

.finish-status-card.status-success {
    border-left: 4px solid #55a77b;
}

.status-success .finish-status-icon {
    background: #eaf6ef;
    color: #288452;
    font-size: 21px;
}

.payment-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 13px;

    background: #eaf6ef;
    color: #288452;

    border: 1px solid #cde8d6;
    border-radius: 30px;

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

.success-amount-box {
    background: #f5faf7;
    border-color: #dcece2;
}

.success-amount-box strong {
    color: #b80e25;
}

.success-message {
    padding: 30px 20px;
    margin: 20px 0 24px;

    text-align: center;

    background: #fafcfb;
    border: 1px solid #e4eee8;
    border-radius: 10px;
}

.success-message-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0 auto 16px;

    background: #eaf6ef;
    color: #288452;

    border-radius: 50%;

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

.success-message h3 {
    margin: 0 0 10px;

    color: #34434c;
    font-size: 19px;
    font-weight: 700;
}

.success-message p {
    margin: 0;

    color: #788891;
    font-size: 14px;
    line-height: 1.9;
}

.success-guide {
    background: #fafcfb;
    border-color: #e4eee8;
}


/* =====================================================
   08 Finish 右側票券卡
   ===================================================== */

.finish-main .finish-order-card {
    display: block;

    align-self: start;
    height: auto;

    padding: 0;
    margin: 0;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    min-width: 0;
}

.finish-main .course-sidebar .signup-card {
    position: relative;
    top: auto;

    width: 100%;
    height: fit-content;

    background: #fff9ed;
    border: 1px solid #f0d4b5;
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(70, 10, 13, .17);

    overflow: hidden;
}

.finish-main .finish-signup-order {
    margin: 0 18px 14px;
    padding: 14px;

    background: #fffdf8;
    border: 1px solid #f3e0cd;
    border-radius: 14px;
}

.finish-main .finish-signup-title {
    margin: 0 0 10px;

    color: #56292b;
    font-size: 14px;
    font-weight: 800;
}

.finish-main .finish-signup-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
    padding: 9px 0;

    border-bottom: 1px dashed #e8d4bd;

    font-size: 13px;
    line-height: 1.6;
}

.finish-main .finish-signup-row:last-of-type {
    border-bottom: 0;
}

.finish-main .finish-signup-row span {
    flex-shrink: 0;
    color: #ae7960;
    font-weight: 600;
}

.finish-main .finish-signup-row strong {
    color: #59443c;
    font-weight: 700;

    text-align: right;
    overflow-wrap: anywhere;
}

.finish-main .finish-signup-invoice {
    margin-top: 10px;
    padding: 11px 12px;

    background: #fff4e7;
    border-radius: 9px;

    color: #8b7462;
    font-size: 12px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.finish-main .course-sidebar .finish-bundle-box {
    margin: 14px 18px 16px;
    padding: 15px 15px 13px;

    background: linear-gradient(160deg, #fff4d5, #ffeabc);

    border: 1px solid #f3d9a6;
    border-radius: 15px;
}

.finish-main .course-sidebar .finish-bundle-box .normal-price {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 7px 0;

    border-bottom: none;
}

.finish-main .course-sidebar .finish-bundle-box .price-content strong {
    color: #c63341;
    font-size: 30px;
    font-weight: 800;
}

.finish-main .finish-bundle-box .single-badge {
    background: #e7f1fa;
    color: #54759a;

    border-radius: 20px;
    padding: 5px 10px;

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

.finish-main .finish-bundle-box .single-badge.is-paid {
    background: #eaf6ef;
    color: #288452;
}

.finish-main .course-sidebar .signup-note {
    margin: 16px 18px 0;
    padding: 14px 0 18px;

    border-top: 1px dashed #ead3b7;

    color: #8b7462;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

.finish-member-names {
    display: block;
    flex: 1;

    color: #59443c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    text-align: right;
}


/* =====================================================
   09 折價券使用後的課程費用
   ===================================================== */

.course-sidebar .bundle-box.has-coupon .normal-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;

    padding: 7px 0 12px;
    border-bottom: 1px dashed #e9c99c;
}

.course-sidebar .bundle-box.has-coupon #pricePeopleLabel {
    display: none;
}

.course-sidebar .bundle-box.has-coupon .price-content {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
}

.course-sidebar .bundle-box.has-coupon .price-original {
    display: inline-block;
    margin-right: 6px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: line-through;
    white-space: nowrap;
}

.course-sidebar .bundle-box.has-coupon .price-content small {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
}

.course-sidebar .bundle-box.has-coupon .price-final {
    color: #c63341;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.course-sidebar .bundle-box.has-coupon #discountSaveText:not([hidden]) {
    display: block;
    margin: 0;
    padding-top: 12px;

    color: #fff45c;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
}


/* =====================================================
   10 原有響應式設定（保留媒體查詢規則）
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
    .stage-opening {
        display: none;
    }
}

@media (max-width: 900px) {

    .finish-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .finish-main {
        padding: 30px 18px 60px;
    }

}

@media (max-width: 600px) {

    .finish-main {
        padding: 20px 12px 45px;
    }

    .finish-status-card {
        gap: 12px;
        padding: 18px;
        margin-bottom: 18px;
    }

    .finish-status-icon {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .finish-status-card h2 {
        font-size: 17px;
    }

    .finish-status-card p {
        font-size: 13px;
    }

    .finish-layout {
        gap: 16px;
    }

    .atm-card,
    .finish-order-card {
        padding: 20px 17px;
        border-radius: 10px;
    }

    .finish-card-title h2,
    .finish-order-card > h2 {
        font-size: 17px;
    }

    .atm-amount-box {
        padding: 18px;
    }

    .atm-amount-box strong {
        font-size: 27px;
    }

    .atm-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .atm-deadline {
        grid-column: auto;
    }

    .atm-copy-row strong {
        font-size: 16px;
    }

    .atm-account {
        font-size: 16px !important;
    }

    .atm-guide {
        padding: 17px;
    }

    .atm-bottom-actions .check-payment-btn {
        width: 100%;
    }

    .finish-total strong {
        font-size: 21px;
    }

}

@media (max-width: 600px) {

    .success-message {
        padding: 24px 15px;
    }

    .success-message h3 {
        font-size: 17px;
    }

    .success-message p {
        font-size: 13px;
    }

}

@media (max-width: 900px) {

    .finish-layout {
        grid-template-columns: 1fr;
    }

    .finish-main .finish-order-card {
        width: 100%;
    }

    .finish-main .course-sidebar .signup-card {
        position: static;
        top: auto;
    }

}

@media (max-width: 600px) {

    .finish-main .course-sidebar .signup-header {
        padding: 22px 18px 17px;
    }

    .finish-main .course-sidebar .signup-header h2 {
        font-size: 20px;
    }

    .finish-main .finish-signup-order {
        margin: 0 14px 12px;
        padding: 13px;
    }

    .finish-main .course-sidebar .finish-bundle-box {
        margin: 12px 14px 14px;
    }

    .finish-main .course-sidebar .finish-bundle-box
    .price-content strong {
        font-size: 28px;
    }

}

@media (max-width: 600px) {

    .course-sidebar .bundle-box.has-coupon .price-original {
        font-size: 12px;
    }

    .course-sidebar .bundle-box.has-coupon .price-content small {
        font-size: 23px;
    }

    .course-sidebar .bundle-box.has-coupon .price-final {
        font-size: 27px;
    }

}

@media (max-width: 768px) {

.stage-opening, .stage-curtain, .kids, .stage, .top-light, .light-left, .light-center, .light-right {
		display: none;
}

.menu {
  gap: 15px;
  
    background: repeating-linear-gradient(
        90deg,
        #820008 0px,
        #bb101b 30px,
        #e3282c 65px,
        #a00510 100px,
        #820008 130px
    );
  
}
.menu a {
  width:65px;
    height: 35px;
  font-size: 13px;
    border:none;
}


.site-footer {
    position: relative;
	z-index:9;
	margin-top:5px;
}


}


/* =====================================================
   11 手機底部導覽與報名區
   適用前述 .mobile-course-buy / .mobile-course-menu HTML
   ===================================================== */
@media (min-width: 769px) {
    .mobile-course-buy { display: none; }
}
@media (max-width: 768px) {
    /* 避免固定底欄遮住頁面末端 */


}

/* =========================================
   新增同行者資料表格
========================================= */

.companion-table {
    width: 100%;
    max-width: 650px;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 0;

    background: #fffaf3;

    overflow: hidden;

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

.companion-table * {
    box-sizing: border-box;
}

/* =========================================
   表格標題
========================================= */

.companion-table thead td {
    padding: 17px 22px;

    background: #fff0dc;
    color: #733035;

    border-bottom: 1px solid #f0d4b5;

    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

/* =========================================
   欄位內容
========================================= */

.companion-table tbody th,
.companion-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f3e9dd;
}

.companion-table tbody th {
    width: 155px;

    color: #70554b;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.companion-table tbody td {
    background: #fffdf9;
}

/* 最後一行不需要底線 */
.companion-table tbody tr:last-child th,
.companion-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================================
   輸入欄位
========================================= */

.companion-table input[type="text"],
.companion-table input[type="email"],
.companion-table input[type="tel"] {
    display: block;

    width: 100%;
    height: 44px;
    padding: 10px 13px;

    background: #fff;
    color: #40332e;

    border: 1px solid #ddd6ce;
    border-radius: 8px;

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

    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.companion-table input:focus {
    border-color: #be2337;
    box-shadow: 0 0 0 3px rgba(190, 35, 55, .10);
}

/* =========================================
   送出按鈕
========================================= */

.companion-table tfoot td {
    padding: 20px;
    text-align: center;

    background: #fff9ed;
    border-top: 1px solid #f0d4b5;
}

.companion-table input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    min-height: 45px;
    padding: 11px 28px;

    background: linear-gradient(180deg, #e23640, #b80e25);
    color: #fff;

    border: 0;
    border-radius: 10px;

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

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

.companion-table input[type="submit"]:hover {
    background: #0875ad;
    transform: translateY(-1px);
}

.companion-table input[type="submit"]:active {
    transform: translateY(0);
}

/* =========================================
   手機版
========================================= */

@media (max-width: 600px) {

    .companion-table {
        margin: 15px auto;
        border-radius: 12px;
    }

    .companion-table thead td {
        padding: 15px 17px;
        font-size: 17px;
    }

    /* 手機版標籤與輸入框上下排列 */
    .companion-table tbody tr {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid #f3e9dd;
    }

    .companion-table tbody th,
    .companion-table tbody td {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
    }

    .companion-table tbody th {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .companion-table tbody td {
        background: transparent;
    }

    .companion-table input[type="text"] {
        height: 43px;
        font-size: 14px;
    }

    .companion-table tfoot td {
        padding: 16px;
    }

    .companion-table input[type="submit"] {
        width: 100%;
    }
}

/* ==============================================
   課程費用 - Reader's Theater
============================================== */

.course-sidebar .bundle-box {
    margin: 14px 18px 16px;
    padding: 16px;

    background: linear-gradient(160deg, #fff4d5, #ffeabc);
    border: 1px solid #f3d9a6;
    border-radius: 15px;
}

/* 課程費用標題 */
.course-sidebar .bundle-top {
    margin-bottom: 15px;
}

.course-sidebar .bundle-label {
    display: inline-block;
    padding: 5px 14px;

    background: #be2337;
    color: #fff;
    border-radius: 20px;

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

/* 金額主區塊 */
.course-sidebar .bundle-price {
    width: 100%;
}

.course-sidebar .normal-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 5px 0;
    border: none;
}

/* 報名人數標籤 */
.course-sidebar #pricePeopleLabel {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    padding: 5px 11px;
    border-radius: 20px;

    background: #e7f1fa;
    color: #54759a;

    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* 價格排列 */
.course-sidebar .price-content {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;

    min-width: 0;
    margin-left: auto;
}

/* NT$ */
.course-sidebar .price-content small {
    color: #a43e47;
    font-size: 13px;
    font-weight: 700;
}

/* 最終價格 */
.course-sidebar .price-final {
    color: #c63341;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}

/* 原價（預設隱藏） */
.course-sidebar .price-original {
    color: #a58b79;
    font-size: 14px;
    font-weight: 500;
    text-decoration: line-through;
    white-space: nowrap;
}

.course-sidebar .price-original[hidden],
.course-sidebar #discountSaveText[hidden] {
    display: none !important;
}

/* ==============================================
   使用折價券後
============================================== */

.course-sidebar .bundle-box.has-coupon .normal-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;

    padding: 4px 0 13px;
    border-bottom: 1px dashed #e4bf91;
}

/* 保留報名人數，放在價格上方 */
.course-sidebar .bundle-box.has-coupon #pricePeopleLabel {
    display: inline-flex;
}

/* 原價與優惠價 */
.course-sidebar .bundle-box.has-coupon .price-content {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;

    width: 100%;
    margin: 0;
}

/* 原價刪除線 */
.course-sidebar .bundle-box.has-coupon .price-original {
    display: inline-block;
    margin-right: 10px;

    color: #a58b79;
    font-size: 15px;
    font-weight: 600;
}

/* 折扣後 NT$ */
.course-sidebar .bundle-box.has-coupon .price-content small {
    color: #a43e47;
    font-size: 16px;
    font-weight: 800;
}

/* 折扣後價格 */
.course-sidebar .bundle-box.has-coupon .price-final {
    color: #c81b34;
    font-size: 36px;
    font-weight: 800;
}

/* 已折抵金額 */
.course-sidebar .bundle-box.has-coupon #discountSaveText:not([hidden]) {
    display: block;

    margin-top: 12px;
    padding: 0;

    color: #b80e25;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    text-align: left;
}

/* ==============================================
   手機版
============================================== */

@media (max-width: 600px) {

    .course-sidebar .bundle-box {
        margin: 12px 14px 14px;
        padding: 14px;
    }

    .course-sidebar .bundle-top {
        margin-bottom: 12px;
    }

    .course-sidebar .normal-price {
        gap: 8px;
    }

    .course-sidebar #pricePeopleLabel {
        font-size: 11px;
        padding: 5px 9px;
    }

    .course-sidebar .price-final {
        font-size: 28px;
    }

    .course-sidebar .bundle-box.has-coupon .price-original {
        font-size: 13px;
        margin-right: 5px;
    }

    .course-sidebar .bundle-box.has-coupon .price-content small {
        font-size: 14px;
    }

    .course-sidebar .bundle-box.has-coupon .price-final {
        font-size: 31px;
    }

    .course-sidebar .bundle-box.has-coupon #discountSaveText:not([hidden]) {
        font-size: 13px;
    }
}