@charset "UTF-8";
/* PINEAL RING 7日簽到活動｜視覺改版 v2，僅作用於 active-luxury */
.active-luxury{--cream:#F7F0E3;--gold:#B58B4B;--gold-dark:#9B713B;--ink:#29221F;--red:#B92D32;background:#F7F0E3 url("../../images/ac/background_luxury.png") center 500px / 100% auto no-repeat;color:var(--ink);font-family:"Noto Sans TC","Source Han Sans TC","Microsoft JhengHei",sans-serif}
.active-luxury .bn6{height:500px;margin:0 0 42px;background:url("../../images/ac/banner_luxury_1920x500.jpg") center center / cover no-repeat}
.active-luxury .m47 .a45,.active-luxury .m49 .a14{width:min(1200px,calc(100% - 40px))}
.active-luxury .m47 .a45 .c20{width:min(600px,100%);background:linear-gradient(125deg,#C69B59,#9B713B);border:1px solid #E7CE97;border-radius:12px;padding:16px 22px;box-shadow:0 8px 22px #9b713b30;margin-bottom:26px}

html, body.active-luxury {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
}

/* 全面強制所有文字、標題、清單全面使用黑體，徹底壓制 style.css 的 Noto Serif TC（宋體/明體） */
.active-luxury,
.active-luxury div,
.active-luxury p,
.active-luxury span,
.active-luxury a,
.active-luxury li,
.active-luxury h1,
.active-luxury h2,
.active-luxury h3,
.active-luxury h4 {
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
}
/* 結帳頁面標題與價格強制使用思源黑體 */
.active-luxury .bgt7,
.active-luxury .c18 .d4 .t113,
.active-luxury .c18 .d4 .t114,
.active-luxury .st6b,
.active-luxury .ls42 .t115 {
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
}

/* active.asp 等頁面預設（電腦版）：顯示 bn2.jpg (1920x500) */
.active-luxury .bn6,
.bn6 {
    background-image: url("../../images/ac/bn2.jpg") !important;
}
/* 商品結帳頁（active_car.asp）與 活動明細頁（active_c.asp）：專屬顯示 bn1.jpg (1920x500) */
.active-luxury .bn6.bn-car,
.bn6.bn-car,
.active-luxury .bn6.bn-c,
.bn6.bn-c {
    background-image: url("../../images/ac/bn1.jpg") !important;
}

/* 1. 外層金底卡片：啟用 Flex，讓內部內容自動水平置中、垂直置中 */
.active-luxury .m47 .a45 .c20 {
    width: min(600px, 100%);
    background: linear-gradient(125deg, #C69B59, #9B713B);
    border: 1px solid #E7CE97;
    border-radius: 12px;
    padding: 14px 28px;
    box-shadow: 0 8px 22px #9b713b30;
    margin: 0 auto 26px;
    display: flex !important;
    align-items: center !important;       /* 垂直對齊中線 */
    justify-content: center !important;  /* 整體置中 */
    gap: 28px !important;               /* 兩側適中距離 */
    box-sizing: border-box;
}
/* 2. 左側姓名（李曉彤）：解除 float，寬度自適應，右側附帶精緻分隔虛線 */
.active-luxury .m47 .a45 .c20 .t117 {
    float: none ;
    width: auto ;
    margin: 0 !important;
    padding: 0 28px 0 0 !important;
    border-right: 2px dotted rgba(255, 255, 255, 0.35) !important; /* 中間點狀分隔線 */
    display: flex !important;
    align-items: center !important;
    font: 600 24px/1.3 "Noto Sans TC", sans-serif;
    color: #fff;
    white-space: nowrap !important;
}
.active-luxury .m47 .a45 .c20 .t117 img {
    height: 26px !important;
    width: auto !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
}
/* 3. 右側點數（累積點數：5,000）：解除 float，與左側鎖定在同一行 */
.active-luxury .m47 .a45 .c20 .t118 {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    font: 600 20px/1.3 "Noto Sans TC", sans-serif;
    color: #fff;
    white-space: nowrap !important;
}
.active-luxury .m47 .a45 .c20 .t118 img {
    height: 28px !important;
    width: auto !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}
.active-luxury .m47 .a45 .c20 .t118 span {
    font: 800 28px/1.2 "Noto Sans TC", sans-serif;
    color: #fff;
    margin-left: 4px;
}
.active-luxury .m47 .a45 .c20 .t117{margin-left: 50px}
.active-luxury .m47 .a45 .c20 .t117,.active-luxury .m47 .a45 .c20 .t118{font:600 22px/38px "Noto Sans TC",sans-serif;color:#fff}
.active-luxury .m47 .a45 .c20 .t118 span{font:800 30px/38px "Noto Sans TC",sans-serif;color:#fff}

.active-luxury .m47 .a45 .b46 .c12{height:64px;background:none}
.active-luxury .m47 .a45 .b46 .c12 .lk3{height:64px}
.active-luxury .m47 .a45 .b46 .c12 .lk3 a{height:58px;margin-top:6px;background:linear-gradient(#f9f1df,#e7ce97);color:var(--gold-dark);font:700 19px/58px "Noto Sans TC",sans-serif;border-radius:12px 12px 0 0;padding:0 28px}
.active-luxury .m47 .a45 .b46 .c12 .lk3 a.active{height:64px;margin:0;background:linear-gradient(#C83A3C,#A91825);color:#fff;line-height:64px}
/* 簽到進度：選中狀態或按下去時，自動更換圖示為白色版 */
.active-luxury .m47 .a45 .b46 .c12 .lk3 a.active img,
.active-luxury .m47 .a45 .b46 .c12 .lk3 a:active img {
    content: url("../../images/ac/ic4b.png") !important;}
/* 簽到紀錄：選中狀態或按下去時，自動更換為白色圖示 */
.active-luxury .m47 .a45 .b46 .c12 .lk3 a.active img[src*="ic6"],
.active-luxury .m47 .a45 .b46 .c12 .lk3 a:active img[src*="ic6"] {
    content: url("../../images/ac/ic6.png") !important;}
.active-luxury .m47 .a45 .b47{background:#fffaf0ed;border:2px solid #d7b579;border-radius:16px;box-shadow:0 8px 24px #9b713b24;padding:0 22px 22px;margin-bottom:20px}
.active-luxury .m47 .a45 .b47 .not3{background:transparent;font:600 20px/34px "Noto Sans TC",sans-serif;color:var(--ink);margin:0 auto 22px;padding:15px 0 4px;max-width:100%}
.active-luxury .m47 .a45 .b47 .not3 span{font:800 28px/34px "Noto Sans TC",sans-serif;color:var(--red)}
.active-luxury .ls34{margin-bottom:20px}
.active-luxury .ls34>a,.active-luxury .ls34c>a{background:#fff;border:1px solid #E7CE97;border-radius:12px;padding:14px 2px}
.active-luxury .ls34:last-of-type>a{background:#fff1df}
.active-luxury .ls34 .dt1{font:700 16px/25px "Noto Sans TC",sans-serif;color:var(--ink)}
.active-luxury .ls34 .pt2{font:800 23px/27px "Noto Sans TC",sans-serif;color:var(--red)}
.active-luxury .ls34 .t94{font:600 13px/25px "Noto Sans TC",sans-serif;color:var(--ink);letter-spacing:0}
.active-luxury .ls34 .not4 a{font:600 13px/28px "Noto Sans TC",sans-serif;background:var(--red)}
.active-luxury .m47 .a45 .b47 .c13 .t108{font:500 17px/28px "Noto Sans TC",sans-serif;color:var(--ink);white-space:normal}
/* 修改「立即簽到」按鈕寬度 */
.active-luxury .bt36 {width: 360px !important; margin: 0 auto 16px;}
.active-luxury .bt36 a{background:linear-gradient(#ce3840,#ac1728)!important;color:#fff!important;border-radius:100px!important;font-family:"Noto Sans TC",sans-serif!important;font-size:19px!important}
.active-luxury .m47 .a45 .t20{font:500 16px/1.8 "Noto Sans TC",sans-serif;color:var(--ink);margin:22px auto 36px}
.active-luxury .m47 .a45 .t20 h4{font:700 22px/1.7 "Noto Sans TC",sans-serif;color:var(--gold-dark)}
.active-luxury .m47 .a45 .t20 h4 span{font:500 16px/1.7 "Noto Sans TC",sans-serif}
.active-luxury .luxury-section-title,.active-luxury .st8.luxury-section-title{background:linear-gradient(90deg,transparent,#caa467 22%,#caa467 78%,transparent) center 24px / 100% 1px no-repeat;text-align:center;margin:0 auto 20px;overflow:visible}
.active-luxury .luxury-section-title span,.active-luxury .st8.luxury-section-title span{display:inline-block;width:auto;height:auto;min-width:260px;padding:0 22px;background:var(--cream);border-radius:0;color:var(--ink);font:700 34px/1.45 "Noto Sans TC",sans-serif;letter-spacing:1px;margin:0}
.active-luxury .luxury-section-title p{font:500 18px/1.6 "Noto Sans TC",sans-serif;color:var(--gold-dark);margin:3px 0 0}
.active-luxury .m49 .a14{padding:20px 0 42px}
.active-luxury .m49 .a14 .b20.luxury-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:24px 0 16px;overflow:visible}
.active-luxury .luxury-steps .ls36{float:none;display:block;width:100%;margin:0;text-align:center}
.active-luxury .luxury-steps .luxury-step-icon{width:156px;height:156px;max-width:100%;margin:0 auto 12px;display:grid;place-items:center;aspect-ratio:1;border-radius:50%;border:3px double #b58b4b;background:radial-gradient(circle at 35% 25%,#fffdf6,#f2ddb3);box-shadow:inset 0 0 0 8px #fff8e9,0 5px 15px #9b713b25;color:#9b713b}
.active-luxury .luxury-steps .luxury-step-icon svg{width:74px;height:74px}
.active-luxury .luxury-steps .t38{height:auto;overflow:visible;font:400 16px/1.8 "Noto Sans TC",sans-serif;color:var(--ink);text-align:left;letter-spacing:0}
.active-luxury .ls36 .t38 h4 {
    /* 1. Step 底色（漸層或純色，目前為香檳金棕漸層） */
    background: linear-gradient(#d7b579, #9b713b) ; 
    
    /* 2. Step 外框線條顏色 */
    border: 2px solid #b58b4b ;                    
    
    /* 3. Step 文字顏色 */
    color: #fff ;                                  
    
    font: 700 17px/1.4 "Noto Sans TC", sans-serif ;
    border-radius: 30px ;
    padding: 5px 22px ;
}
.active-luxury .luxury-steps .t38 p{margin:0}
.active-luxury .luxury-shop .a45{padding-bottom:35px}
.active-luxury .luxury-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:20px;background:#fff9ecde;border:1px solid #ebd6ac;border-radius:18px}
.active-luxury .luxury-product{min-width:0;background:#fff;border:1px solid #ead9bb;border-radius:13px;overflow:hidden;box-shadow:0 4px 12px #9b713b19;transition:transform .2s,box-shadow .2s}
.active-luxury .luxury-product:hover{transform:translateY(-4px);box-shadow:0 10px 25px #9b713b2b}
.active-luxury .luxury-product-image{aspect-ratio:1/1;background:#f5f2ec;overflow:hidden}
.active-luxury .luxury-product-image img{width:100%;height:100%;object-fit:cover}
.active-luxury .luxury-product-body{padding:14px 12px 16px;text-align:center}
.active-luxury .luxury-product-body h3{font:600 16px/1.55 "Noto Sans TC",sans-serif;color:var(--ink);height:50px;overflow:hidden;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.active-luxury .luxury-product-price{font:800 20px/1.4 "Noto Sans TC",sans-serif;color:var(--red);margin-bottom:12px}
.active-luxury .luxury-product-action{display:block;background:linear-gradient(#ce3840,#ad1728);border-radius:30px;color:#fff!important;font:700 16px/1.5 "Noto Sans TC",sans-serif;padding:10px 5px;text-decoration:none}
.active-luxury .luxury-product-action:hover{filter:brightness(1.1)}
.active-luxury .luxury-product-action.disabled{background:#a49c91;cursor:not-allowed}
.active-luxury .is-unavailable .luxury-product-image img{filter:grayscale(.6);opacity:.7}
.active-luxury .luxury-product-placeholder{aspect-ratio:1;background:linear-gradient(145deg,#fbf7ee,#ead8b6);display:grid;place-items:center;color:var(--gold-dark);font:600 18px "Noto Sans TC",sans-serif}
.active-luxury .m49 .a14 .st2{background:linear-gradient(90deg,transparent,#caa467 30%,#caa467 70%,transparent) center /100% 1px no-repeat;margin:18px 0}
.active-luxury .m49 .a14 .st2 span{width:auto;height:auto;min-width:240px;padding:7px 26px;margin:0;background:linear-gradient(#cba465,#9b713b);border-radius:8px;font:700 22px/1.5 "Noto Sans TC",sans-serif;color:#fff}
.active-luxury .m49 .a14 .b21>ul>li,.active-luxury .m49 .a14 .b21 ul>li>ul>li{font:400 20px/1.85 "Noto Sans TC",sans-serif;color:var(--ink);margin-bottom:6px}

/* ==========================================================================
   控制「活動流程說明」區塊與上方簽到區的垂直距離
   ========================================================================== */
.active-luxury .m49-2 {
    margin-top: 20px ; /* 👈 數值越大距離越遠（如 40px、60px、80px） */
}

/* ==========================================================================
   健康點數兌換專區（4 欄 × 2 列，共 8 個商品）
   ========================================================================== */
.active-luxury .m47-2 {
    margin-top: 50px ; /* 控制兌換區塊與上方整個區塊的垂直距離 */
    }

/* 4x2 網格容器 */
.active-luxury .m47-2 .a45 .b47 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 36px;
}
.active-luxury .m47-2 .ls35 {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100% !important; /* 用來對抗 style2.css 的 45%!important */
  float: none;
  margin: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.active-luxury .m47-2 .ls35:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #DDD;
}

/* 1. 強制清除舊版 style.css 寫在 <a> 上的 #999 灰色背景 */
.active-luxury .m47-2 .ls35 > a,
.active-luxury .m47-2 .ls35b > a,
.active-luxury .m47-2 .ls35c > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: transparent; /* 消除灰色色塊 */
  border: none ;
}
.active-luxury .m47-2 .ls35 > a:hover,
.active-luxury .m47-2 .ls35b > a:hover,
.active-luxury .m47-2 .ls35c > a:hover {
  background: transparent ;
}

.active-luxury .m47-2 .ls35 > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.active-luxury .m47-2 .ls35 .im15 {
  background: #ECEEF0;
  border-radius: 10px;
  aspect-ratio: 1/1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 0;
  box-sizing: border-box;
}
.active-luxury .m47-2 .ls35 .im15 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.active-luxury .m47-2 .ls35 .c14 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0;
  text-align: left;
}
.active-luxury .m47-2 .ls35 .t97 {
  font: 700 18px/1.4 "Noto Sans TC", sans-serif;
  color: #222;
    text-align: left;
  padding: 0 !important;
  margin-left:20px ;
  height: auto;
  overflow: visible;
}
.active-luxury .m47-2 .ls35 .t96 {
  font: 400 13px/1.3 "Noto Sans TC", sans-serif;
  color: #888;
  text-align: left;
  padding: 0 !important;
  margin-left:20px ;
}
.active-luxury .m47-2 .ls35 .t98 {
  font: 800 20px/1.2 'Verdana', 'Noto Sans TC', sans-serif;
  color: #B92D32;
  text-align: left;
  padding: 0 !important;
  margin-left:20px ;
}
.active-luxury .m47-2 .ls35 .bt-redeem {
  background: #B92D32;
  color: #fff;
  font: 700 15px/1.2 "Noto Sans TC", sans-serif;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 12px 0;
  min-height: 44px;
  text-align: center;
  width: 85%;
  margin: 4px auto 0;
  display: block;
  box-sizing: border-box;
  transition: all .2s ease;
}
.active-luxury .m47-2 .ls35:hover .bt-redeem {
  background: #A02025;
}

/*  橫線顏色（修改兩側漸層的顏色代碼，目前為香檳金 #caa467） */
.active-luxury .st8 {
  background: linear-gradient(90deg, transparent, #666 22%, #666 78%, transparent) center center / 100% 1px no-repeat ;
  text-align: center;
  margin: 0 auto 20px;
  overflow: visible ; /* 解除裁切！標籤頂部不再被切平 */
  padding: 8px 0;        /* 預留上下緩衝空間 */
}
/* 標籤：使用 Flex 完美垂直居中，消除寫死的 66px 高度 */
.active-luxury .st8 span {
  display: inline-flex ;
  align-items: center ;  
  justify-content: center ; 
  height: auto;            
  min-height: 50px;         
  padding: 6px 24px ;    
  background: #000;   
  color: #fff ;             
  border-radius: 8px ;      
  font: 700 28px/1.2 "Noto Sans TC", sans-serif  ;
  letter-spacing: 1px;
  gap: 10px;               /* 圖示與文字的距離 */
  overflow: visible ;
  position: relative;
  top: 0; 
}
/* 圖示：清除舊版多餘的下內距，確保圖示與文字在同一條水平中線上  */
.active-luxury .st8 img,
.active-luxury .st8 span img {
  height: 28px ;
  width: auto ;
  padding: 0  ;              /* 清除舊版 style.css 的 padding-bottom: 5px */
  margin: 0 ;
  vertical-align: middle ;
}

/* 活動流程說明：4步驟網格排版 */
.active-luxury .m49 .a14 .b20 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 24px 0 16px;
    overflow: visible;               /* 解除外層裁切 */
}
.active-luxury .ls36 {
    float: none;
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    position: relative;  
    overflow: visible;   
}
/* 四步驟 ICON 圓框縮小 */
.active-luxury .ls36 .im14 {
    width: 100px;  
    height: 100px;   
    max-width: 100%;
    margin: 0 auto 16px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 3px solid #B58B4B;    
    box-shadow: 0 4px 15px rgba(181, 139, 75, 0.22);
    overflow: hidden;      
    box-sizing: border-box;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}
.active-luxury .ls36:hover .im14 {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(181, 139, 75, 0.35);
}
.active-luxury .ls36 .im14 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 四個步驟之間的金色三角指示箭頭 */
.active-luxury .ls36:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    top: 55px;                   
    right: -15px;                   
    transform: translate(50%, -50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #B58B4B; 
    filter: drop-shadow(0 2px 4px rgba(181, 139, 75, 0.3));
    pointer-events: none;
    z-index: 2;
}

/* 卡片維持白底，取消整張卡片變灰 */
.active-luxury .m47-2 .ls35.ls35b,
.active-luxury .m47-2 .ls35b {
  background: #fff !important;
  border-color: #ECECEC !important;
  cursor: default;
}
.active-luxury .m47-2 .ls35b:hover {
  transform: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
}

.active-luxury .luxury-steps .t38 h4 {
  background: linear-gradient(#d7b579, #9b713b); 
  color: #fff;                                  
  border-radius: 30px;
  padding: 5px 20px;
}

/* 灰色只出現在「商品圖片區域」 */
.active-luxury .m47-2 .ls35b .im15 {
  background: #ECEEF0 !important;  
  border-radius: 8px;
  position: relative;
}
.active-luxury .m47-2 .ls35b .im15 img {
  filter: grayscale(100%);          /* 圖片轉黑白灰階*/
  opacity: 0.6;
}
/* 下方文字全部維持正常清晰顏色（不被灰色覆蓋） */
.active-luxury .m47-2 .ls35b .t97 {
  color: #222 !important;           /* 商品名稱維持深色文字 */
}
.active-luxury .m47-2 .ls35b .t96 {
  color: #888 !important;
}
.active-luxury .m47-2 .ls35b .t98 {
  color: #B92D32 !important;        /* 點數價格維持紅色文字 */
}
/* 4. 立即兌換按鈕改為灰色，並禁止點擊 */
.active-luxury .m47-2 .ls35b .bt-redeem {
  background: #CCC !important;
  color: #fff !important;
  pointer-events: none;
  cursor: not-allowed;
}
/* 5. 隱藏舊版 .cv4 覆蓋標籤，避免遮擋卡片文字 */
.active-luxury .m47-2 .ls35 > .cv4 {
  display: none !important;
}

/* ==========================================================================
   彈出視窗（商品兌換結帳狀況 / 簽到結果 .m50）顏色設定
   ========================================================================== */
/* 1. 整個彈窗的內容區底色與外框 */
.active-luxury .m50 .modal-content {
    background: #FFFDF9 !important;          /* 👈 視窗主體底色（原本是粉膚色 #f7d4c8） */
    border: 2px solid #D7B579 !important;    /* 👈 視窗外框線顏色 */
}
/* 2. 上方標題列（商品兌換結帳狀況）底色與底線 */
.active-luxury .m50 .modal-header {
    background: linear-gradient(125deg, #C69B59, #9B713B) !important; /* 👈 標題列底色（原本是 #e89f84） */
    border-bottom: 1px solid #E7CE97 !important;
}
/* 3. 上方標題文字（「商品兌換結帳狀況」）顏色 */
.active-luxury .m50 .modal-title {
    color: #FFFFFF !important;               /* 👈 標題文字顏色 */
}
/* 4. 中間結果文字（「結帳成功! / 結帳失敗!」）與說明文字顏色 */
.active-luxury .m50 .modal-body .t102 h4 {
    color: #29221F !important;               /* 👈 大字標題顏色 */
}
.active-luxury .m50 .modal-body .t102 {
    color: #555555 !important;               /* 👈 下方提示小字顏色 */
}
/* 5. 下方分隔線與底部按鈕（「重新結帳 / 關閉視窗」）顏色 */
.active-luxury .m50 .modal-footer {
    border-top: 1px solid #EBD6AC !important;
}
.active-luxury .m50 .bt31 {
    background: linear-gradient(#CE3840, #AC1728) !important; /* 👈 按鈕底色（原本是黑色 #111） */
    color: #FFFFFF !important;                                /* 👈 按鈕文字顏色 */
}

/* 商品兌換明細 (active_order.asp) 與 結帳頁 (active_car.asp)：拉開內容與金色線框的距離 */
.active-luxury .m47 .a45 .b47.b47-2 {
    padding: 35px 35px !important; /* 👈 第一個數值 35px 是上下距離，第二個 35px 是左右距離 */
}
/* 修正錨點跳轉畫面偏上：將錨點定位點往上提，預留頂部常駐選單與標題的空間 */
.active-luxury a[name="01"],
.active-luxury a[name="02"],
.active-luxury a[name="04"] {
    display: block !important;
    position: relative !important;
    top: -150px !important;   /* 👈 負值越大（如 -150px、-180px），跳轉後畫面越往下留白，不會再偏上被切掉 */
    height: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
/* ==========================================================================
   響應式 RWD 設定
   ========================================================================== */

/* 1. 平板／小螢幕（992px 以下） */
@media (max-width: 992px) {
    .active-luxury .m47-2 .a45 .b47 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 900px) {
    .active-luxury .bn6 {
        height: clamp(220px, 26vw, 500px);
        background-size: cover;
    }
    .active-luxury .luxury-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .active-luxury .ls34 {
        width: 13.28%;
        margin-left: .5%;
        margin-right: .5%;
    }
    .active-luxury .ls34 .t94 {
        font-size: 10px;
    }
    .active-luxury .ls34 .im9 {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .active-luxury .m47-2 .a45 .b47 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* 2. 手機版（600px 以下）及核心樣式調整 */
@media (max-width: 600px) {
	    .active-luxury .bn6 {
        height: 230px;
        background-size: auto 230px;  /* 此設定讓圖片依高度縮放 */
    }

    /* 手機版 Banner 設定：active.asp 使用 bn2-2.jpg（1200x500） */
    .bn6,
    .active-luxury .bn6 {
        width: 100% !important;
        background-image: url("../../images/ac/bn2-2.jpg") !important; /* active.asp 手機版 Banner */
        height: 250px !important;                                    /* 手機版 Banner 高度 */
        background-size: cover !important;                           /* 強制背景圖片填滿區域，覆蓋前面的尺寸設定 */
        background-position: center top !important;                  /* 背景圖片對齊上方中央 */
        background-repeat: no-repeat !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;                                 /* 取消下方間距，避免與內容產生空隙 */
    }

    /* 手機版 active_c.asp 與 active_car.asp 改用 bn1-2.jpg（1200x500） */
    .active-luxury .bn6.bn-car,
    .bn6.bn-car,
    .active-luxury .bn6.bn-c,
    .bn6.bn-c {
        background-image: url("../../images/ac/bn1-2.jpg") !important;
    }

    .active-luxury .bn6 {
        width: 100% !important;
        height: 280px !important;     /* 可調整手機版 Banner 高度，例如 250px */
        background-size: cover !important;   /* 讓背景圖片填滿區域，可能裁切邊緣 */
        background-position: 46% center !important;
        margin-bottom: 0px !important;      /* 調整 Banner 與下方內容的距離 */  
    }

    /* 移除 body 背景，改由 .m47 區塊顯示背景 */
    .active-luxury {
        background-image: none;
    }
    .active-luxury .m47 {
        background: url("../../images/ac/background_luxury.png") center top / 100% auto no-repeat;
        padding-top: 20px;
    }
	
	    /* 手機版：健康點數兌換專區（拉開與上方距離，並露出更多上方底圖金幣彩帶） */
    .active-luxury .m47-2 {
        margin-top: 15px !important;    /* 👈 與上方 Step4 拉開距離（原本是 -50px 會往上貼） */
        padding-top: 70px !important;   /* 👈 關鍵！數值越大，上方露出的底圖金幣彩帶越多（建議 60px~80px） */
    }

    /* TOP「健康點數」按鈕 */
    .active-luxury .bt28b a {
        background: linear-gradient(#ce3840, #ac1728);
        color: #fff;
        border: none;
        box-shadow: 0 3px 10px rgba(185, 45, 50, 0.35);
    }

    /* 會員資訊卡片（姓名、累積點數） */
    .active-luxury .m47 .a45,
    .active-luxury .m49 .a14 {
        width: calc(100% - 24px);
    }
    .active-luxury .m47 .a45 .c20 {
        padding: 10px 12px;
    }
    .active-luxury .m47 .a45 .c20 .t117,
    .active-luxury .m47 .a45 .c20 .t118 {
        font-size: 20px;
        line-height: 30px;
    }
    .active-luxury .m47 .a45 .c20 .t118 span {
        font-size: 20px;
    }

    /* 四步驟改為垂直排列，並增加上下間距 */
    .active-luxury .m49 .a14 .b20 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding: 10px 0 0px;
        overflow: visible;
    }
    .active-luxury .ls36 {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        position: relative;
        overflow: visible;
        text-align: center;
    }
    .active-luxury .ls36 .im14 {
        width: 100px;
        height: 100px;
        margin: 0 auto 12px;
    }
    .active-luxury .ls36 .t38 {
        text-align: center;
        font-size: 24px;
        line-height: 1.6;
    }
    .active-luxury .ls36:not(:last-child)::after {
        content: '';
        display: block;
        position: absolute;
        top: auto;
        right: auto;
        bottom: -24px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 10px solid #B58B4B;
        border-bottom: none;
        filter: drop-shadow(0 2px 4px rgba(181, 139, 75, 0.35));
        pointer-events: none;
        z-index: 2;
    }

    /* 活動選單：調整邊框與文字顏色 */
    .active-luxury .m47 .a45 .b47 .mn6 .lk4 a {
        border: 2px solid #d7b579;
        color: #9B713B;
        background: #fff;
        font-family: "Noto Sans TC", sans-serif;
    }
	
	    /* 手機版：商品名稱字體大小 */
    .active-luxury .m47-2 .ls35 .t97 {
        font-size: 22px !important;     /* 👈 調整大小（例如 14px、15px、16px） */
        line-height: 1.35 !important;   /* 👈 行高微調 */
        margin-left: 20px !important;    /* 👈 建議將原本 20px 的左留白縮小，手機版版面更舒適 */
    }
    .active-luxury .m47 .a45 .b47 .mn6 .lk4 a.active {
        background: linear-gradient(180deg, #ce3840, #ac1728);
        border-color: #ac1728;
        color: #fff;
    }
    .active-luxury .bx3 table,
    .active-luxury .bx3 table tr td,
    .active-luxury .bx3 table .t36 {
        font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    }

    /* 調整 template_down.asp 頁尾樣式 */
    .m5 {
        display: block;
        height: auto;
        overflow: visible;
        background: #080808;
        padding: 20px 15px 30px;
    }
    .m5 .a5 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
        font-size: 13px;
        line-height: 1.6;
        color: #fff;
    }
    .m5 .a5 .ft-logo img,
    .m5 .a5 img {
        height: 26px;
        width: auto;
        display: block;
        margin: 0 auto;
    }
    .m5 .a5 .ft-txt {
        text-align: center;
        font-size: 12px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
    }

    /* 7天簽到天數卡片 */
    .active-luxury .m47 .a45 .b47 {
        padding: 0 8px 14px;
    }
    .active-luxury .m47 .a45 .b47 .not3 {
        font-size: 16px;
    }
    .active-luxury .luxury-section-title span,
    .active-luxury .st8.luxury-section-title span {
        font-size: 25px;
        min-width: 210px;
    }
    .active-luxury .luxury-section-title p {
        font-size: 15px;
    }
}

