:root{--red:#9d111d;--deep:#65080f;--gold:#e5b85b;--cream:#fff8e8;--text:#3d241c;--muted:#735b50;--shadow:0 16px 38px rgba(83,23,15,.14)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;color:var(--text);background:#fffaf1;line-height:1.75}img{max-width:100%;display:block}.site-header{position:sticky;top:0;z-index:1030;background:rgba(116,7,15,.96);box-shadow:0 4px 18px rgba(0,0,0,.18)}.nav-wrap{max-width:1240px;margin:auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between}.brand img{width:145px}.nav-menu{display:flex;gap:12px}.nav-menu a{color:#fff;text-decoration:none;font-weight:800;padding:8px 13px;border-radius:999px}.nav-menu a:hover,.nav-menu a.active{background:rgba(255,255,255,.18)}.nav-toggle{display:none;background:transparent;border:0;color:#fff;font-size:28px}.hero{position:relative;min-height:720px;background:url('../img/ceremony-banner.jpg') center/cover;display:flex;align-items:center;padding:80px 7vw;color:#fff}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(45,3,7,.9),rgba(88,6,13,.58) 55%,rgba(80,6,12,.22))}.hero-copy{position:relative;z-index:1;max-width:720px}.eyebrow{font-weight:900;color:#ffe2a4;letter-spacing:.08em}.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.15;margin:8px 0 18px;font-weight:900}.hero-copy>p:not(.eyebrow){font-size:19px;font-weight:700}.hero-meta{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.hero-meta>*{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.35);padding:10px 16px;border-radius:999px}.cta{display:inline-block;border:0;border-radius:999px;padding:13px 28px;background:linear-gradient(135deg,#f1c46b,#d89523);color:#5d080e;text-decoration:none;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.2)}.section{padding:76px 6vw}.section-head{text-align:center;margin-bottom:34px}.section-head span{color:var(--red);font-weight:900;letter-spacing:.08em}.section-head h2{margin:6px 0 0;font-size:clamp(30px,4vw,48px);color:var(--deep);font-weight:900}.section-head.light span,.section-head.light h2{color:#fff}.story-grid,.product-card,.gift-card,.app-card{max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.story-grid img,.gallery img,.product-card,.gift-card,.app-card{border-radius:28px;box-shadow:var(--shadow)}.story-grid h3,.gift-card h3{font-size:30px;color:var(--deep);font-weight:900}.stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.stats div{background:#fff1ce;padding:18px;border-radius:18px;text-align:center}.stats b{display:block;font-size:28px;color:var(--red)}.gallery{max-width:1120px;margin:28px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.gallery img{height:320px;width:100%;object-fit:cover}.flow-section{background:#fff3d5}.process-grid{max-width:1120px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.process-grid article{background:#fff;border:1px solid #efd49d;border-radius:22px;padding:16px;text-align:center;box-shadow:var(--shadow)}.process-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:15px}.process-grid h3{font-size:19px;color:var(--deep);font-weight:900;margin:14px 0 5px}.process-grid p{margin:0;color:var(--muted)}.action-grid{max-width:900px;margin:26px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.action-grid button{border:0;background:#ad302d;color:#fff;border-radius:12px;padding:12px;font-weight:900}.action-grid img{width:34px;margin:0 auto 6px;filter:brightness(0) invert(1)}.product-section{background:#fff}.product-card{background:#fff;padding:28px;border:1px solid #efd49d}.product-card>img{border-radius:22px}.price{font-size:22px;font-weight:900}.price strong{font-size:58px;color:var(--red)}.product-card li{padding:4px 0}.sku{background:#fff0c8;padding:10px 14px;border-radius:12px;font-weight:800}.gift-section{background:#fff7e5}.gift-card{background:#fff;padding:28px}.gift-card>img{height:390px;object-fit:contain}.bonus-section{background:linear-gradient(135deg,#790911,#bf1721 58%,#dca338);color:#fff}.bonus-grid{max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:22px}.bonus-grid article{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.32);border-radius:24px;padding:24px}.bonus-grid article>img{height:220px;width:100%;object-fit:contain;background:#fff;border-radius:16px}.bonus-grid h3{font-size:25px;color:#ffe1a0;font-weight:900}.lightbox-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lightbox-pair img{height:220px;width:100%;object-fit:cover;border-radius:16px}.dm-section{background:#fff}.dm-grid{max-width:1120px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dm-grid img{border-radius:18px;box-shadow:var(--shadow)}.app-section{background:#fff0cf}.app-card{background:#fff;padding:24px}.app-card img{border-radius:18px}.info-section{background:#fff9ec}.info-card{max-width:980px;margin:auto;background:#fff;border-left:6px solid var(--red);padding:24px 28px;border-radius:18px;box-shadow:var(--shadow)}footer{text-align:center;padding:28px;background:#350508;color:#ffe0a1;font-weight:800}.floating-order{position:fixed;right:20px;bottom:20px;z-index:1020;border:0;border-radius:999px;background:#b51d26;color:#fff;padding:13px 22px;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.28)}.offcanvas .card h2{font-size:22px}.modal-title{font-weight:900;color:var(--deep)}.notice-list li{margin-bottom:12px}.offcanvas-body .card{border-radius:14px;overflow:hidden}.offcanvas-body .card img{height:100%;object-fit:cover}

/* 2026 首頁三張情境圖輪播 */
.hero-carousel{isolation:isolate;overflow:hidden;background:#5f070d}
.hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden;background:#5f070d}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.025);transition:opacity .75s ease,transform 5s ease}
.hero-slide.active{opacity:1;transform:scale(1)}
.hero-carousel .hero-overlay{z-index:1}
.hero-carousel .hero-copy{z-index:2}
.hero-dots{position:absolute;left:7vw;bottom:34px;z-index:3;display:flex;gap:10px}
.hero-dots button{width:42px;height:6px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.44);cursor:pointer;transition:width .25s ease,background-color .25s ease,transform .25s ease}
.hero-dots button:hover{background:rgba(255,255,255,.72);transform:translateY(-1px)}
.hero-dots button.active{width:68px;background:#ffe0a1}
.hero-dots button:focus-visible{outline:3px solid #fff;outline-offset:4px}

/* 恢復「立即購買・用愛心送暖」原有 hover 浮起效果 */
.cta{transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}
.cta:hover,.cta:focus-visible{transform:translateY(-2px);box-shadow:0 14px 30px rgba(84,32,2,.3);filter:brightness(1.04);color:#5d080e}
.cta:active{transform:translateY(0)}

/* 檔期 DM 保留單一區塊與原編排 */
.dm-single{max-width:1120px;margin:0 auto}
.dm-single img{width:100%;height:auto;border-radius:18px;box-shadow:var(--shadow)}

/* Original video section restored */
.video-section{padding:72px 20px;background:#fff8ec}
.video-section .container{width:min(1120px,100%);margin:0 auto}
.video-heading{margin:0 0 24px;color:#b61b30;font-size:clamp(28px,4vw,42px);font-weight:900;line-height:1.25;text-align:center}
.ratio{position:relative;width:100%;overflow:hidden;background:#000;box-shadow:0 16px 38px rgba(91,22,18,.18)}
.ratio-16x9{aspect-ratio:16/9}
.ratio iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ==============================
   平安箱預購流程
============================== */
.flow-section{
  padding:58px 5vw 52px;
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.82),transparent 44%),
    #fff7e6;
}
.process-heading{
  width:min(1180px,100%);
  margin:0 auto 26px;
  text-align:center;
}
.process-heading h2{
  margin:0;
  color:#a91f30;
  font-size:clamp(29px,3.4vw,44px);
  line-height:1.25;
  font-weight:900;
  letter-spacing:.02em;
}
.process-grid{
  width:min(1180px,100%);
  max-width:none;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.process-grid article{
  min-width:0;
  padding:16px 16px 20px;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #eadfce;
  border-radius:3px;
  box-shadow:0 4px 12px rgba(89,54,28,.06);
  text-align:center;
}
.process-grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  border-radius:0;
}
.process-copy{
  padding:10px 4px 0;
}
.process-grid h3{
  margin:0 0 5px;
  color:#2f2a26;
  font-size:clamp(18px,1.55vw,23px);
  line-height:1.4;
  font-weight:900;
}
.process-grid p{
  margin:0;
  color:#554d46;
  font-size:15px;
  line-height:1.55;
  font-weight:600;
}
.action-grid{
  width:min(1180px,100%);
  max-width:none;
  margin:24px auto 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.action-grid button{
  min-height:62px;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:4px;
  background:#bd443a;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:900;
  box-shadow:0 4px 10px rgba(117,31,25,.12);
  cursor:pointer;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.action-grid button:hover,.action-grid button:focus-visible{
  background:#a9322c;
  transform:translateY(-2px);
  box-shadow:0 7px 15px rgba(117,31,25,.2);
}
.action-grid button:focus-visible{
  outline:3px solid #e8ac62;
  outline-offset:3px;
}
.action-grid img{
  width:29px;
  height:29px;
  margin:0;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

/* ==============================
   平安燈箱：日間／夜間 Hover 切換
============================== */

.lightbox-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 26px;
    background: linear-gradient(
        120deg,
        rgba(186, 24, 51, 0.95) 0%,
        rgba(204, 55, 59, 0.94) 48%,
        rgba(221, 105, 47, 0.92) 100%
    );
    overflow: hidden;
}

.lightbox-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lightbox-photo {
    position: relative;
    aspect-ratio: 1 / 0.9;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(76, 15, 20, 0.14);
}

.lightbox-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.55s ease,
        transform 0.7s ease;
}

.lightbox-day {
    opacity: 1;
    z-index: 2;
}

.lightbox-night {
    opacity: 0;
    z-index: 1;
    transform: scale(1.035);
}

.lightbox-photo:hover .lightbox-day {
    opacity: 0;
    transform: scale(1.045);
}

.lightbox-photo:hover .lightbox-night {
    opacity: 1;
    transform: scale(1);
}

.lightbox-content {
    padding-top: 14px;
    color: #fff7cf;
}

.lightbox-content h3 {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.1vw, 34px);
    line-height: 1.35;
    font-weight: 900;
}

.lightbox-content p {
    margin: 0;
    color: #fff;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.75;
    font-weight: 500;
}

@media (max-width: 767px) {
    .lightbox-card {
        padding: 15px;
        border-radius: 20px;
    }

    .lightbox-gallery {
        gap: 9px;
    }

    .lightbox-photo {
        border-radius: 12px;
    }
}

@media (max-width: 420px) {
    .lightbox-gallery {
        grid-template-columns: 1fr;
    }

    .lightbox-photo {
        aspect-ratio: 1 / 0.82;
    }
}

/* 好康卡片文字區塊對齊 */
.bonus-grid > article,
.bonus-grid > .lightbox-card {
    display: flex;
    flex-direction: column;
}

.bonus-content {
    padding-top: 14px;
}

.bonus-content h3,
.lightbox-content h3 {
    margin: 0 0 8px;
    color: #ffe1a0;
    font-size: clamp(22px, 2.1vw, 34px);
    line-height: 1.35;
    font-weight: 900;
}

.bonus-content p,
.lightbox-content p {
    margin: 0;
    color: #fff;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.75;
    font-weight: 500;
}

@media (min-width: 993px) {
    .bonus-grid > .lightbox-card > .lightbox-gallery {
        height: 220px;
    }

    .bonus-grid .lightbox-photo {
        height: 100%;
        aspect-ratio: auto;
    }
}

/* HAPPY GO／平安燈箱使用同款卡片容器 */
.bonus-grid > article,
.bonus-grid > .lightbox-card{
    padding:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.32);
    border-radius:26px;
    background:linear-gradient(
        120deg,
        rgba(186,24,51,.95) 0%,
        rgba(204,55,59,.94) 48%,
        rgba(221,105,47,.92) 100%
    );
    box-shadow:0 10px 24px rgba(76,15,20,.16);
}

.bonus-grid > article > img{
    background:transparent;
    border-radius:0;
}

.license-number{
    font-size:.78em;
    white-space:nowrap;
}


/* 2024 原版「活動檔期優惠／下載 APP」編排 */
.legacy-promo-section{
  padding:42px 24px 18px;
  background:#fff8ec;
}
.legacy-app-section{
  padding-top:10px;
  padding-bottom:48px;
}
.legacy-promo-wrap{
  width:min(1120px,100%);
  margin:0 auto;
  text-align:center;
}
.legacy-promo-title{
  margin:0 0 18px;
  color:#a82b36;
  font-size:clamp(28px,3.2vw,42px);
  line-height:1.25;
  font-weight:900;
  letter-spacing:.03em;
}
.legacy-promo-card{
  background:#fff;
  border:1px solid #d8cdbd;
  padding:26px;
}
.legacy-promo-card img{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
}
.legacy-promo-button{
  display:block;
  width:min(460px,88%);
  margin:18px auto 0;
  padding:12px 22px;
  border-radius:8px;
  background:#bb3d35;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  line-height:1.3;
  box-shadow:0 7px 16px rgba(114,30,24,.2);
  transition:transform .22s ease,background-color .22s ease,box-shadow .22s ease;
}
.legacy-promo-button:hover,.legacy-promo-button:focus-visible{
  color:#fff;
  background:#a92f29;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(114,30,24,.28);
}
@media (max-width:767px){
  .legacy-promo-section{padding:32px 14px 12px}
  .legacy-app-section{padding-top:8px;padding-bottom:36px}
  .legacy-promo-title{margin-bottom:14px;font-size:28px}
  .legacy-promo-card{padding:10px}
  .legacy-promo-button{width:92%;margin-top:14px;padding:11px 18px}
}

/* ==============================
   輪播下方整體活動頁背景（桌機）
============================== */
main{
  background-color:#c4161c;
  background-image:url('../img/C_background1920x820.png');
  background-position:center top;
  background-size:100% auto;
  background-repeat:repeat-y;
  background-attachment:fixed;
}

/* 圖紋／色塊交錯，hero 為第 1 個 section */
main > section:not(.hero):nth-of-type(even){
  background:transparent;
}

main > section:not(.hero):nth-of-type(odd){
  background:linear-gradient(135deg,#fff9ec 0%,#ffefcf 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.72),
    inset 0 -1px rgba(122,57,20,.1);
}

main > section:not(.hero) .section-head span,
main > section:not(.hero) .section-head h2,
.process-heading h2,
.video-heading,
.legacy-promo-title{
  color:#fff7cf;
  text-shadow:0 2px 8px rgba(83,0,5,.34);
}

/* 米金色塊使用原本的深紅標題 */
main > section:not(.hero):nth-of-type(odd) .section-head span{
  color:var(--red);
  text-shadow:none;
}

main > section:not(.hero):nth-of-type(odd) .section-head h2,
main > section:not(.hero):nth-of-type(odd) .process-heading h2,
main > section:not(.hero):nth-of-type(odd) .video-heading,
main > section:not(.hero):nth-of-type(odd) .legacy-promo-title{
  color:var(--deep);
  text-shadow:none;
}

/* 首頁輪播文案層級 */
.hero-carousel .hero-copy{
  max-width:980px;
}

.hero-carousel .hero-copy h1{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(40px,4.2vw,64px);
  line-height:1.18;
  font-weight:900;
  letter-spacing:.015em;
  text-shadow:0 3px 14px rgba(42,0,3,.5);
}

.hero-carousel .hero-copy h1.hero-title-image{
  margin:0 0 12px;
  line-height:0;
}

.hero-title-image img{
  width:min(650px,100%);
  height:auto;
  filter:drop-shadow(0 4px 10px rgba(42,0,3,.42));
}

/* 首頁「立即購買」放大與滑入回彈 */
.hero-cta{
  padding:17px 40px;
  border:2px solid rgba(255,244,200,.72);
  font-size:21px;
  line-height:1.25;
  letter-spacing:.035em;
  box-shadow:0 12px 28px rgba(40,0,3,.3);
  transform-origin:center;
}

.hero-cta:hover,.hero-cta:focus-visible{
  animation:hero-cta-bounce .58s cubic-bezier(.22,.8,.3,1) both;
  box-shadow:0 17px 34px rgba(40,0,3,.38);
}

@keyframes hero-cta-bounce{
  0%{transform:translateY(0) scale(1)}
  38%{transform:translateY(-4px) scale(1.1)}
  62%{transform:translateY(-1px) scale(.97)}
  82%{transform:translateY(-3px) scale(1.045)}
  100%{transform:translateY(-2px) scale(1.02)}
}

@media (prefers-reduced-motion:reduce){
  .hero-cta:hover,.hero-cta:focus-visible{
    animation:none;
    transform:translateY(-2px) scale(1.02);
  }
}

/* 注意事項彈窗分組 */
.notice-heading{
  margin:0 0 14px;
  padding:9px 14px;
  border-left:5px solid var(--red);
  border-radius:8px;
  background:#fff0cf;
  color:var(--deep);
  font-size:20px;
  line-height:1.35;
  font-weight:900;
}

.customer-notice-heading{
  margin-top:28px;
}

.notice-list{
  margin-bottom:0;
  padding-left:1.6rem;
}

.notice-list li{
  margin-bottom:12px;
  padding-left:4px;
}

.customer-notice-list li:last-child{
  margin-bottom:0;
}

.notice-info-card{
  margin-top:0;
}

.notice-info-card h3{
  margin:28px 0 14px;
  padding:9px 14px;
  border-left:5px solid var(--red);
  border-radius:8px;
  background:#fff0cf;
  color:var(--deep);
  font-size:22px;
  line-height:1.35;
  font-weight:900;
}

.notice-info-card h3:first-child{
  margin-top:0;
}

/* 平安令旗商品大圖預覽 */
.gift-preview-trigger{
  position:relative;
  width:100%;
  height:390px;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:18px;
  background:#fff;
  cursor:zoom-in;
}

.gift-exclusive-label{
  display:inline-block;
  padding:7px 17px;
  border-radius:999px;
  background:linear-gradient(135deg,#a50f1c,#c92b32);
  color:#fff !important;
  line-height:1.3;
  box-shadow:0 6px 14px rgba(109,9,16,.2);
}

/* 平安令旗結緣禮卡片優化 */
.gift-card{
  grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr);
  gap:0;
  padding:0;
  overflow:hidden;
  align-items:stretch;
  border:1px solid rgba(157,17,29,.16);
  background:#fff;
  box-shadow:0 18px 42px rgba(83,23,15,.15);
}

.gift-card .gift-preview-trigger{
  height:100%;
  min-height:480px;
  padding:18px;
  border-radius:0;
  background:linear-gradient(145deg,#fffaf0,#f7ead3);
}

.gift-card-copy{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px 44px;
  border-left:1px solid rgba(157,17,29,.1);
  background:
    radial-gradient(circle at 100% 0,rgba(229,184,91,.18),transparent 38%),
    #fff;
}

.gift-card-copy h3{
  margin:0 0 14px;
  color:var(--deep);
  font-size:clamp(27px,2.7vw,38px);
  line-height:1.3;
  font-weight:900;
}

.gift-card-copy > p{
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.8;
  font-weight:600;
}

.gift-delivery-list{
  margin:26px 0 0;
  padding:0;
  display:grid;
  gap:12px;
  list-style:none;
}

.gift-delivery-list li{
  position:relative;
  padding:13px 16px 13px 42px;
  border:1px solid #efd49d;
  border-radius:14px;
  background:#fff8e8;
}

.gift-delivery-list li::before{
  content:'✦';
  position:absolute;
  left:16px;
  top:13px;
  color:var(--red);
  font-weight:900;
}

.gift-delivery-list strong,
.gift-delivery-list span{
  display:block;
}

.gift-delivery-list strong{
  color:var(--red);
  font-size:17px;
  font-weight:900;
}

.gift-delivery-list span{
  margin-top:2px;
  color:var(--text);
  line-height:1.55;
}

.gift-preview-trigger > img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .3s ease;
}

.gift-preview-trigger:hover > img,
.gift-preview-trigger:focus-visible > img{
  transform:scale(1.025);
}

.gift-preview-trigger:focus-visible{
  outline:4px solid var(--gold);
  outline-offset:4px;
}

.flag-preview-modal .modal-body{
  padding:12px;
  background:#f7f7f7;
  text-align:center;
}

.flag-preview-modal .modal-body img{
  width:auto;
  max-width:100%;
  max-height:82vh;
  margin:auto;
  object-fit:contain;
}

/* ==============================
   進站開場帶入頁
============================== */
body.intro-active{
  overflow:hidden;
}

.mazu-loading{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background-color:#c4161c;
  background-image:
    radial-gradient(circle at 50% 38%,rgba(96,0,5,.08),rgba(96,0,5,.3)),
    url('../img/C_background_2.png');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:1;
  visibility:visible;
  transition:opacity .55s ease,visibility .55s ease;
}

.mazu-loading.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.mazu-loading-inner{
  width:min(420px,100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.mazu-icon{
  width:min(230px,58vw);
  height:auto;
  animation:mazu-float 2s ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(255,245,207,.42))
    drop-shadow(0 12px 22px rgba(65,0,4,.28));
}

.mazu-text{
  margin-top:22px;
  color:#fff4c7;
  font-size:clamp(24px,3vw,32px);
  line-height:1.45;
  font-weight:900;
  letter-spacing:.035em;
  text-shadow:0 3px 10px rgba(74,0,4,.5);
}

.mazu-text span{
  font-size:.62em;
  font-weight:800;
  letter-spacing:.02em;
}

.mazu-progress{
  width:min(300px,76vw);
  height:7px;
  margin-top:22px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,244,199,.3);
  box-shadow:inset 0 1px 3px rgba(65,0,4,.24);
}

.mazu-progress-bar{
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#fff7d5,#f5c96a,#fff7d5);
  transition:width .22s ease;
}

@keyframes mazu-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}

@media (prefers-reduced-motion:reduce){
  .mazu-icon{animation:none}
  .mazu-loading{transition-duration:.15s}
  .mazu-progress-bar{transition:none}
}

.hero-subtitle{
  margin:0 0 18px;
  color:#ffe2a4;
  font-size:clamp(28px,3vw,44px);
  line-height:1.35;
  font-weight:900;
  letter-spacing:.035em;
  text-shadow:0 2px 10px rgba(42,0,3,.46);
}

.hero-carousel .hero-description{
  max-width:780px;
  margin:0;
  color:#fff;
  font-size:19px;
  line-height:1.8;
  font-weight:700;
  text-shadow:0 2px 8px rgba(42,0,3,.52);
}

.hero-description span{
  display:block;
}

.hero-meta > span{
  display:inline-flex;
  align-items:baseline;
  gap:3px;
  font-weight:800;
}

.hero-meta strong{
  color:#ffe2a4;
  font-size:1.28em;
  line-height:1;
  font-weight:900;
  text-shadow:0 2px 7px rgba(42,0,3,.4);
}

/* 平安箱商品圖放大並與內容欄等高 */
.product-card{
  grid-template-columns:1.15fr .85fr;
  align-items:stretch;
  padding:0;
  overflow:hidden;
}

.product-card > img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  object-position:center;
  border-radius:27px 0 0 27px;
}

.product-card > div{
  padding:32px;
}

/* 全頁主要訂購按鈕：放大與回彈效果 */
.hero-cta,
.action-grid button:first-child,
.product-card .cta,
.floating-order{
  font-weight:900;
  transform-origin:center;
  will-change:transform;
  box-shadow:0 6px 14px rgba(40,0,3,.22);
}

.action-grid button:first-child{
  min-height:70px;
  font-size:20px;
}

.product-card .cta{
  padding:16px 38px;
  font-size:20px;
}

.floating-order{
  padding:16px 27px;
  border:2px solid rgba(255,236,185,.72);
  font-size:18px;
}

.offcanvas-body .btn-success,
#ECshop .btn-danger{
  padding:11px 24px;
  font-size:17px;
  font-weight:900;
  transform-origin:center;
  will-change:transform;
  box-shadow:0 5px 12px rgba(40,0,3,.18);
}

.hero-cta:hover,
.hero-cta:focus-visible,
.action-grid button:first-child:hover,
.action-grid button:first-child:focus-visible,
.product-card .cta:hover,
.product-card .cta:focus-visible,
.floating-order:hover,
.floating-order:focus-visible,
.offcanvas-body .btn-success:hover,
.offcanvas-body .btn-success:focus-visible,
#ECshop .btn-danger:hover,
#ECshop .btn-danger:focus-visible{
  animation:hero-cta-bounce .58s cubic-bezier(.22,.8,.3,1) both;
  box-shadow:0 8px 18px rgba(40,0,3,.26);
}

@media (prefers-reduced-motion:reduce){
  .hero-cta:hover,
  .hero-cta:focus-visible,
  .action-grid button:first-child:hover,
  .action-grid button:first-child:focus-visible,
  .product-card .cta:hover,
  .product-card .cta:focus-visible,
  .floating-order:hover,
  .floating-order:focus-visible,
  .offcanvas-body .btn-success:hover,
  .offcanvas-body .btn-success:focus-visible,
  #ECshop .btn-danger:hover,
  #ECshop .btn-danger:focus-visible{
    animation:none;
    transform:translateY(-2px) scale(1.02);
  }
}
