/* -------------------- 彈窗 overlay ------------------- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 28, 40, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s ease;
}
.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}
/* 彈窗本體 */
.popup-card {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 1.5rem 1rem 1rem 1rem;
    border-radius: 32px;
    box-shadow: 0 30px 60px -20px rgba(0, 50, 30, 0.3);
    text-align: left;
    position: relative;
    transform: scale(0.98);
    transition: transform 0.2s ease;
    border: 1px solid rgba(124, 186, 61, 0.15);
    background: linear-gradient(145deg, #ffffff, #fafffc);
}
.popup-overlay.active .popup-card {
    transform: scale(1);
}
/* 頂部裝飾線 */
.popup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    background: linear-gradient(90deg, #7CBA3D, #008238, #7CBA3D);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
}
/* 關閉按鈕 */
.popup-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #94a9c2;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.15s;
    font-weight: 300;
}
.popup-close:hover {
    color: #008238;
}
/* 標題區 */
.offer-headline {
    font-size: 1.6rem;
    font-weight: 500;
    color: #0b2b44;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    padding-right: 1.5rem;
    letter-spacing: -0.01em;
    border-left: 4px solid #7CBA3D;
    padding-left: 1rem;
}
/* 副標/引言 */
.offer-sub {
    font-size: 1.1rem;
    color: #2b4059;
    margin: 1.2rem 0 1.2rem 0;
    background: #f5faf5;
    padding: 1.2rem 1.3rem;
    border-radius: 18px;
    border: 1px solid rgba(124, 186, 61, 0.2);
    line-height: 1.5;
}
/* 優惠高亮區塊 */
.offer-highlight {
    background: linear-gradient(135deg, #f6fbf3, #edf6e8);
    border-radius: 24px;
    padding: 1.2rem;
    margin: 1.8rem 0 1.5rem 0;
    border: 1px solid rgba(124, 186, 61, 0.3);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(0,130,56,0.05);
}
/* 日期標籤 */
.offer-dates {
    font-size: 1.2rem;
    font-weight: 450;
    color: #1e4a2e;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.offer-dates strong {
    font-weight: 600;
    background: white;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    color: #008238;
    border: 1px solid #7CBA3D;
    box-shadow: 0 2px 6px rgba(0,130,56,0.1);
    font-size: 1rem;
}
/* 優惠項目 */
.offer-item {
    font-size: 1rem;
    margin: 1rem 0 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}
.offer-item .check {
    color: #008238;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
    background: rgba(124, 186, 61, 0.1);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.offer-item-text {
    flex: 1;
    color: #113355;
}
.offer-item-text strong {
    font-weight: 600;
    color: #008238;
    background: rgba(124, 186, 61, 0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 40px;
    border: 1px solid rgba(124, 186, 61, 0.3);
    font-size: 1.1rem;
    display: inline-block;
}
/* 行動呼籲按鈕 */
.offer-cta {
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 550;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #7CBA3D, #008238);
    padding: 1rem 0.5rem;
    border-radius: 60px;
    border: none;
    box-shadow: 0 8px 18px -6px rgba(0,130,56,0.4);
    letter-spacing: 0.3px;
    transition: all 0.15s;
    cursor: default;
}
.offer-cta:hover {
    background: linear-gradient(135deg, #8cc94e, #009c42);
    box-shadow: 0 10px 22px -6px rgba(0,130,56,0.5);
}
/* 電話號碼區域 — 完全置中，可點擊撥打 */
.offer-phone {
    text-align: center;
    margin: 0.8rem auto 0.2rem auto;
    font-size: 1.3rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.offer-phone a {
    text-decoration: none;
    color: #0b2b44;
    background: #f2f8f2;
    padding: 0.7rem 1.5rem;
    border-radius: 60px;
    border: 1px solid rgba(124, 186, 61, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(0,70,30,0.08);
    letter-spacing: 1px;
}
.offer-phone a:hover {
    background: #e2f0e2;
    border-color: #008238;
    box-shadow: 0 4px 12px rgba(0,130,56,0.15);
    transform: translateY(-1px);
}
.offer-phone a:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0,130,56,0.1);
}
.offer-phone span {
    font-weight: 350;
    color: #4d6a4d;
    font-size: 1.1rem;
}
.offer-phone strong {
    font-weight: 600;
    color: #008238;
    font-size: 1.4rem;
}
.offer-cta a {
    display:block;
    color:#fff;
    text-decoration: none;
}