:root {
    --center-glow: 255, 250, 235;
    --centet-dot: 255, 196, 92;
}

.wrapper {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
}

section {
    padding: 60px 0;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}


h1,h2 {
    font-size: 30px;
    color: #7c4c00;
    letter-spacing: 0.025em;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow:
        2px 0px 0 #fff,
        -2px 0px 0 #fff,
        0px 2px 0 #fff,
        0px -2px 0 #fff,
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
    position: relative;
    z-index: 50;
}

.custom-title {
    color: #f28a00;
}

.section-desc {
    color: #262626;
    font-size: 18px;
    position: relative;
    z-index: 50;
}

.float_btn .float_action_btn {
    width: 92px;
    height: 54px;
    border-radius: 16px 0 0 16px;
    margin: 12px auto;
    z-index: 100;
    position: relative;
}



.float_btn_orange_light {
    background: #ffe9bc;
}

.float_btn_orange_light a {
    color: #007a7a !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.float_btn_orange_light:hover {
    background: rgba(255, 225, 166, 1);
}

@media screen and (max-width:767px) {
    .float_btn {
        right: 0;
    }

    .float_btn .float_action_btn {
        width: 76px;
    }
}


/*** 跑馬燈 ***/
.text-carousel-container {
    width: 100%;
    height: 48px;
    margin: 68px auto 0;
    overflow: hidden;
    background-color: #f4900b;
    text-align: center;
    padding: 12px 20px;
    text-align: center;
}


.slick-carousel-wrapper {
    height: 100%;
    align-items: center;
    text-align: center;
}

.text-slide {
    height: 48px;
    align-items: center;
    justify-content: center;
    /* 垂直居中 */
    padding: 0 15px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s;
}

.text-slide p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.slick-dots,
.slick-prev,
.slick-next {
    display: none !important;
}

@media screen and (max-width:800px) {
    .text-carousel-container {
        margin-top: 65px;
    }
}

@media screen and (max-width:576px) {
    .text-carousel-container{
        height: 40px;
        padding: 10px;
    }
    .text-slide p{
        font-size: 14px;
    }
}


/* ------------------------------------------- */
/* Deals-Discounts Page*/
/* ------------------------------------------- */
/*** KV***/
.hero-container {
    background-color: #fffaeb;
    height: 640px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: start;
    justify-content: center;
}

/* ------------------------------------------- */
/* 背景光線效果 */
/* ------------------------------------------- */
.background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 1. 滿版擴散的淡橘色光線 (中心擴散) */
.bg-rays {
    width: 100%;
    height: 100%;
    background:
        repeating-conic-gradient(from 0deg,
            #fffaeb 0deg 10deg,
            #fff4dd 10deg 20deg);
    animation: glow-animation 2s; 
}
@keyframes glow-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.bg-rays::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(360px, 70vw, 1000px);
    height: clamp(360px, 70vw, 1000px);
    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(var(--center-glow), 1) 0%,
            /* 中心 100% 不透明 */
            rgba(var(--center-glow), 0.80) 20%,
            rgba(var(--center-glow), 0.45) 40%,
            rgba(var(--center-glow), 0.20) 60%,
            rgba(var(--center-glow), 0.08) 75%,
            rgba(var(--center-glow), 0.00) 100%
            /* 外圈 0% 透明 */
        );
    mix-blend-mode: screen;
    opacity: 1;
    pointer-events: none;
}


#stage {
    position: absolute;
    width: 100vw;
    height: 100%;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;

  animation-name: float-animation;
  animation-iteration-count: infinite;
  animation-direction: alternate; 
  animation-timing-function: ease-in-out;
}

.cruller {
    background-color: transparent !important;
    border-style: solid;
}

/* 圓形輕微飄動的關鍵幀動畫 */
@keyframes float-animation {
    0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10px, 10px) scale(1.02); 
  }
  100% {
    transform: translate(-5px, 15px) scale(0.98); 
  }
}


/* ------------------------------------------- */
/* 內容 Flex 佈局 */
/* ------------------------------------------- */
.hero-discount-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 90%;
    max-width: 1000px;
    z-index: 10;
    padding: 40px 0;
    height: 100%;
}

.hero-left,
.hero-right {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.hero-discount-content .hero-left {
    position: relative;
    width: 100%;
    height: 110%;
}

.hero-discount-content .hero-left .kv-person {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.main-title-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
}

/* 這是螢幕閱讀器專用隱藏技巧 (Recommended for Accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero-discount-content .hero-right {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-discount-content .hero-right .kv-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    padding-bottom: 100px;
    max-width: 420px;
}





/* ------------------------------------------- */
/* 響應式調整 (手機佈局) */
/* ------------------------------------------- */
@media (max-width: 767px) {
    .hero-discount-content {
        flex-direction: column;
        /* 堆疊佈局 */
        text-align: center;
        padding: 20px 0 60px;
    }

    .hero-discount-content .hero-left {
        order: 2;
        height: 300px;
    }

    .hero-discount-content .hero-right {
        order: 1;
        padding-bottom: 0;
        padding-top: 0;
    }

    .hero-discount-content .hero-right .kv-title {
        padding-bottom: 0;
        width: 100%;
        height: 100%;
    }

    .hero-discount-content .hero-left .kv-person {
        top: 0;
        height: 150%;
    }
}

@media screen and (max-width:577px) {
    .hero-container{
        height: 540px;
    }

    .hero-discount-content .hero-right .kv-title {
        padding-bottom: 0;
        width: 90%;
        height: 100%;
    }
}

.kv-wave {
    background-image: url('../img/kv-wave.svg');
    position: absolute;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    left: 0;
    bottom: 0;
    z-index: 50;
}


/*** Intro ***/

.intro {
    position: relative;
    margin-top: 80px;
}

.intro-card {
    position: relative;
}

.intro .intro-decro {
    background-image: url('../img/intro_img5.svg');
    width: 340px;
    height: 380px;
    background-repeat: no-repeat;
    position: absolute;
    left: 15%;
    top: 0;
}

.intro .intro-content {
    max-width: 1000px;
    justify-self: end;
}

.intro-card .card {
    padding: 16px;
    pointer-events: none;
}


.card-type {
    position: absolute;
    top: 20px;
    left: 12px;
    z-index: 30;
    padding: 8px 20px;
    border-radius: 0 20px 20px 0;
    font-size: 16px;
    font-weight: bold;
    color: white;
    display: block;
    background-color: #00a19b;

}

.intro-card .card:hover {
    transform: none;
    box-shadow: 2px 2px 20px #e3e3e3;
}

.intro-card .card-body {
    padding: 10px 4px 10px;
}

.intro-card .card-body .card-logo {
    margin-bottom: 10px;
    width: auto;
    height: auto;
}

.intro-card .card-body .card-logo img {
    width: 100%;
    height: 100%;
}

.svg-container {
    position: absolute;
    width: 1920px;
    height: auto; 
    z-index: 0;
    
}
.svg-container[data-type="skew-l"]{

    transform-origin: top right;
    transform: skewY(-5deg); 
    top: -10px;
    right: 15%;
}
.svg-container[data-type="skew-r"]{
    transform-origin: top left;
    transform: skewY(5deg); 
    top: 60px;
    left: 15%;
}

@media screen and (max-width:767px) {
    .intro .intro-decro {
        left: 10%;
        opacity: 0.7;
        width: 45%;
    }

    .svg-container[data-type="skew-l"]{
        right: 5%;
    }
    .svg-container[data-type="skew-r"]{
        left: 5%;
    }
}


/*** Event ***/


.event {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 80px;
}

.bg-orange-light {
    background-color: #fff2d7;
}

.bg-orange-light::before {
    content: "";
    background-image: url("../img/bg-pattern.svg");
    background-repeat: repeat;
    background-size: 150px 150px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event h2,
.event p {
    position: relative;
}

.event a {
    text-decoration: none;
}

.event .no-discount{
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.event .no-discount img{
    display: inline-block;
    width: 80px;
    height: 80px;
}
.event .no-discount p{
    font-size: 28px;
    opacity: 0.8;
    padding: 20px;
    margin: 0;
    font-weight: bold;
    display: inline-block;
}

.event .no-discount:hover{
    transform: none;
    box-shadow: 1px 1px 4px #e3e3e3;
}

.star[data-type="star1"] {
    position: absolute;
    background: url('../img/event-star1.svg')no-repeat;
    background-size: contain;
    width: 15%;
    height: 10%;
    left: 25%;
    top: 5%;
    animation-delay: 0.5s;
    z-index: 50;
    animation: flicker-animation 5s infinite alternate; 

}


.star[data-type="star2"] {
    position: absolute;
    background: url('../img/event-star2.svg')no-repeat;
    background-size: contain;
    width: 6%;
    height: 10%;
    right: 25%;
    top: 7%;
    animation-delay: 0.5s;
    z-index: 50;
    animation: flicker-animation 5s infinite alternate; 
    animation-delay: 2s;
}

@keyframes flicker-animation {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.2; 
    }
    75% {
        opacity: 0.8;
    }
    
}

@media screen and (max-width:577px) {
    .star[data-type="star1"]{
        left: 5%;
    }
    .star[data-type="star2"]{
        width: 15%;
        right: 5%;
        top: 4%;
    }
    
}

.swiper {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 24px;
}

.swiper-wrapper {
    width: 100%;
    height: 860px;
    margin-bottom: 20px;
    align-items: stretch;
}


.swiper-slide {
    text-align: center;
    font-size: 18px;
    height: calc((100% - 30px) / 2) !important;
    display: flex;
    height: auto;
}

.swiper-pagination-bullet {
    --swiper-theme-color: #00a19b;
    width: 10px;
    height: 10px;
}

@media screen and (max-width:992px) {
    .swiper-wrapper{
        height: 800px;
        /* max-height: 800px; */
    }
}

@media screen and (max-width: 768px) {
    .swiper{
        padding: 16px
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-wrapper{
        height: 840px;
    }

}


@media screen and (max-width:576px) {
            .swiper-wrapper{
        height: 100%;
        max-height: 960px;
        margin-bottom: 40px;
    }
}


/* 卡片主容器 */
.card {
    width: 100%;
    border: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 1px 1px 4px #e3e3e3;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 圖片區塊 */
.card-image-container {
    width: 100%;
    height: 0;
    padding-top: 66.66%;
    position: relative;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* 內容區塊 */
.card-content {
    text-align: left;
    padding-top: 20px;
    z-index: 20;
}

/* 標題 */
.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
        display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.33;
}

/* 活動期間 (內文) */
.card-meta {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* 按鈕樣式 */
.card-button-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    padding: 8px 15px;
    background-color: #1cada4;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 12px;
    transition: background-color 0.2s, transform 0.2s;
    pointer-events: none;
}

/* 讓懸停效果作用在整個卡片上 */
.card:hover .card-button-visual {
    background-color: #00a19b;
    transform: translateY(-1px);
}

/* 箭頭圖示 (不變) */
.arrow-icon {
    margin-left: 2px;
    font-size: 1.1em;
    font-weight: 400;
    transition: margin-left 0.2s;
}

/* 讓懸停效果作用在整個卡片上 */
.card:hover .arrow-icon {
    margin-left: 4px;
}

/* 覆蓋整個卡片的連結層 */
.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.swiper-button-next,
.swiper-button-prev {
    color: #00a19b;
    width: 40px;
    height: 40px;
    transform: scale(0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 40px;
    font-weight: bold;
}


@media screen and (max-width: 576px) {
    .swiper .card{
        width: 80%;
        text-align: center;
        margin: 0 auto;
    }

    .event .no-discount {
        padding: 20px;
    }
    .event .no-discount img{
        width: 60px;
        height: 60px;
    }
    .event .no-discount p{
        font-size: 24px;
    }
}


/* ---------------------------------------------------- */
/* 【新增】HOT 標籤樣式與定位 */
/* ---------------------------------------------------- */

/* 標籤基礎樣式 */
.card-badge {
    position: absolute;
    top: 6px;
    left: 15px;
    z-index: 30;
    padding: 18px 10px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    display: none;
    width: 60px;
    height: 60px;
}

/* HOT 標籤的特定樣式 */
.hot-badge {
    background-color: #ed6435;
}

/* 【關鍵】當卡片有 .is-hot class 時，顯示標籤 */
.card.is-hot .hot-badge {
    display: block;
}

@media screen and (max-width:767px) {
    .card-meta {
        font-size: 14px;
    }

    .swiper {
        padding: 0;
    }
}



/*** Guide ***/
.guide {
    width: 100%;
    position: relative;
    padding: 180px 0 80px;
    /* 增加頂部填充 */
    overflow: hidden;
}
.guide .nav {
    position: relative;
    z-index: 10;
    justify-content: center;
    margin-top: 40px
}

.guide .tab-content {
    position: relative;
    z-index: 10;
}

.nav-pills .nav-link {
    background-color: #fff;
    font-size: 16px;
    color: #434343;
    padding: 10px 20px;
    width: 200px;
    height: 60px;
    line-height: 1.25;
    border-radius: 20px;
    margin: 0 10px;
    box-shadow: 2px 2px 20px #e3e3e3;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #00a19b;
    font-weight: bold;
}

.tab-content {
    max-width: 1000px;
    margin: 0 auto;
    
}

.img-phone {
    width: 100%;
    max-width: 280px;
    height: 500px;
    overflow: hidden;
    margin: 0 auto;
}

.guide-step-content {
    text-align: left;
    min-height: 72px;
}

.guide-step-content p {
    padding: 0;
    margin: 0 20px;
}
.coupon-guide .guide-step-content {
    min-height: 48px;
}


.guide-step-content span{
    color: #00a19b;
}
.img-phone .phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

}

.guide-step-img {
    width: 124px;
    height: 45px;
    margin: 0 auto 10px;
}


@media screen and (max-width:767px) {
    .guide-step-content {
        text-align: center;
        min-height: 0;
    }

    .guide .skew-background {
        top: 100px;
        left: 5%;
    }

    .nav-pills .nav-link {
        width: 160px;
        padding: 10px 4px;
        margin: 8px 4px;
    }
    .coupon-guide .guide-step-content{
        min-height: 0;
    }
}


@media screen and (max-width:576px) {
    .img-phone{
        max-width: 500px;
    }
}


/* ------------------------------------------- */
/* Coupons-Vouchers Page*/
/* ------------------------------------------- */

/*** KV ***/
/* ----------------------------------- */
/* 1. 背景人物圖層 (background-image, Z-index: 1) */
/* ----------------------------------- */
.figure {
    position: absolute;
    width: 100%; 
    height: 100%;
    bottom: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom center; 
    z-index: 51;
}

.figure[data-type="coupon-lperson"]{
    width: 220px;
    height: 100%;
    background-size: contain;
        right: 65%;
    background-image: url('../img/kv-coupon_person_l.png'); 
    transform: rotate(-5deg);
}
.figure[data-type="coupon-rperson"]{
    width: 180px;
    height: 100%;
    background-size: contain;
        left: 65%;
    background-image: url('../img/kv-coupon_person_r.png'); 
}

@media screen and (max-width: 992px) {
    .figure[data-type="coupon-lperson"]{
        right: 70%;
    }
    .figure[data-type="coupon-rperson"]{
        left: 70%;
    }
}

@media screen and (max-width:1920px) {
    .figure[data-type="coupon-lperson"]{
        right: 75%;
    }
        .figure[data-type="coupon-rperson"]{
        left: 75%;
    }
}

@media screen and (max-width: 577px) {
    .figure{
        bottom: -40%;
        z-index: 50;
    }
    .figure[data-type="coupon-lperson"]{
        width: 160px;
        right: 75%;
        transform: rotate(-15deg);
    }
    .figure[data-type="coupon-rperson"]{
        width: 130px;
        left: 65%;
        transform: rotate(5deg);
    }
}


/* ----------------------------------- */
/* 3. 中間主要內容區 (Flexbox, Z-index: 10) */
/* ----------------------------------- */
.center-content {
    position: relative;
    width: 80%;
    max-width: 420px;
    height: auto;
    margin: 0 auto; 
    z-index: 52;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 80px 0 20px;
}

.section-top{
    position: relative;
    width: 60%;
    height: auto;
    margin: 0 auto;
}
/* ----------------------------------- */
/* 3-2. 中間優惠券區 */
/* ----------------------------------- */
.section-middle {
    padding: 40px 0;
    margin: 30px 0;
}

.coupon-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0px;
}

.coupon-img {
    width: 150px; 
    height: auto;
    transform: rotate(-45deg) ;
    backface-visibility: hidden;
    
}

@media screen and (max-width: 577px) {
    .section-middle{
        padding: 0;
        margin: 30px 0;
    }
    .coupon-group{
        justify-content: center; 
        flex-wrap: wrap;
        gap: 10px;
    }
    .coupon-img {
        transform: rotate(0deg) !important;
    }
    .center-content{
        width: 75%;
        padding-top: 40px;
    }

    .coupon-img{
        width: 135px;
    }
}

/* ----------------------------------- */
/* 3-3. 底部按鈕區 */
/* ----------------------------------- */
.action-button {
    position: relative;
    padding: 12px 30px;
    font-size: 20px;
    color: #753a00;
    background-color: #ffc364;
    border: none;
    cursor: pointer;
    border-radius: 50px; 
    box-shadow: 0 4px 0 rgba(186, 97, 0, 1);
}

.action-button .action-arrow{
    color: #ef4343;
    display: inline-block;
    font-size: 18px;
    transition: transform 0.3s ease-out; 
}
.action-button:hover .action-arrow{
    transform: translateX(4px);
}


#canvas {
    position: absolute;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    z-index: 50;
}


/* 基礎彩帶樣式 */
.confetti {
position: absolute;
}




/*** COUPON FUNCTION ***/
.full-width-image-wrapper {
    margin-top: 30px;
}

.main-banner-image {
    width: 35%;
    height: auto;
}

.grid-item-image {
    margin-bottom: 15px;
    border-radius: 20px;
    box-shadow:
        2px 2px 20px #e3e3e3;
}

.grid-item-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

@media screen and (max-width: 1200px) {
    .main-banner-image {
        width: 50%;
    }
}

@media screen and (max-width:767px) {
    .main-banner-image {
        width: 75%;
    }

    .grid-item-image {
        width: 80%;
        margin: 0 auto 15px;
    }
}

/*** COUPON EVENT ***/

/* --- 1. 整體佈局 (2x2 Grid) --- */
.coupon-grid-container {
    max-width: 880px;
    margin: 0 auto;
}

.coupon-grid-container a {
    text-decoration: none;
}

/* --- 2. 卡片基礎樣式與 Hover 效果 --- */
.coupon-card {
    position: relative;
    display: flex;
    text-decoration: none;
    height: auto;
    clip-path: path("M430.7,0H0v70.7c17.2,0,31.1,13.9,31.1,31.1s-13.9,31.1-31.1,31.1v66.9h880.7V0Z");
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow:
        2px 2px 20px #e3e3e3;
    min-height: 200px;
}

.coupon-card:hover {
    transform: translateY(-5px);
}
.coupon-card.no-coupon{
    padding: 0;
}
.coupon-card.no-coupon:hover {
    transform: none;
}

.coupon-card.no-coupon .coupon-main-content{
    justify-content: center;
}

.coupon-card.no-coupon .coupon-title{
    font-size: 24px;
}




/* --- 3. 內容 8:2 比例分割 --- */

.coupon-main-content {
    flex: 8;
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    min-height: 120px;
    text-align: left;
    margin-left: 40px;
}

.coupon-action-area {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9ac12;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    padding: 10px 0;
    margin: 10px;
}

.coupon-action-area:hover {
    background-color: #f9ac12;
}

/* --- 4. 左側文字細節樣式 --- */

.coupon-type {
    font-size: 16px;
    color: #262626;
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.cupon-type-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    margin-right: 8px;
}

.coupon-title {
    font-size: 20px;
    margin: 0;
    color: #262626;
    font-weight: bold;
    line-height: 1.33;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

.coupon-time,
.coupon-description {
    font-size: 16px;
    color: #7c7c7c;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 1px 0;
}


@media screen and (max-width:992px) {
        .coupon-grid-container {
        gap: 20px;
    }

        .coupon-card {
        height: 100%;
        clip-path: path("M900.7,0H0v70.7c17.2,0,31.1,13.9,31.1,31.1s-13.9,31.1-31.1,31.1v66.9h900.7V0Z");
    }
}

@media screen and (max-width:768px) {
    .coupon-card{
        clip-path: path("M900.7,0H0v60.7c17.2,0,31.1,13.9,31.1,31.1s-13.9,31.1-31.1,31.1v66.9h900.7V0Z");
    }
    .coupon-title {
        font-size: 16px;
    }

    .coupon-time,
    .coupon-description {
        font-size: 14px;
    }

    .coupon-card{
        min-height: 180px;
    }
    .coupon-card.no-coupon{
        min-height: 180px;
    }
    .coupon-card.no-coupon .coupon-title{
    font-size: 20px;
}
}

/* --- 5. 右側按鈕文字直立效果 --- */

.action-text {
    line-height: 1.5;
}

.coupon-card .action-arrow {
    color: #ef4343;
    font-size: 10px;
    margin-top: 5px;
    transform: rotate(90deg);
    transition: transform 0.3s ease-out; 
}

.coupon-card:hover .action-arrow {
    transform: rotate(90deg) translateX(6px);
}






/* ------------------------------------------- */
/* FAQ */
/* ------------------------------------------- */

.faq-wrapper {
    background-color: #fff2d7;
    position: relative;
    z-index: 0;
    background-image: url('../img/bg-glow.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.faq {
    width: 100%;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}


.faq .nav {
    position: relative;
    z-index: 10;
    justify-content: center;
    margin-top: 40px
}

.faq .tab-content {
    position: relative;
    z-index: 10;
}

.faq-content {
    background: #fff;
    color: #262626;
    margin-bottom: 16px;
    border-radius: 16px;
}

.toggle-color {
    color: #00a19b;
}

.faq-content .qa-click {
    background: #fff;
    border-radius: 16px;
    height: auto;
    cursor: pointer;
    padding: 20px;
    font-size: 1.125rem;
    line-height: 1.5em;
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    vertical-align: top;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.faq-content .qa-click p {
    margin: 0;
    padding-right: 12px;
}

.faq-content .qa-click img {
    margin-top: 8px;
    float: right;
}

.faq-content .arrow {
    position: relative;
    width: 20px;
    height: 12px;
}

.faq-content .qa-answer {
    display: none;
    font-size: 1rem;
    color: #434343;
}

.faq-content .qa-answer a {
    color: #f9ac12;
}

.faq-content .qa-answer span {
    color: #007a7a;
}

.faq-content .qa-answer ul {
    padding-left: 0;
}

.faq-content .qa-answer ul li {
    line-height: 1.5;
    text-align: justify;
    word-wrap: break-word;
    text-justify: inter-ideograph;
    word-break: normal;
    list-style: none;
    padding: 0 20px 20px 20px;
}

.faq-content .rotate {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.faq-content .rotate-reset {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    .faq-content .qa-click p {
        font-size: 16px;
    }
}