/* ============================================================
   Blessing Project — Page-specific styles
   ============================================================ */

/* ---------- Hero (首頁) ---------- */
.hero {
  padding: 64px 0 40px;
  display: grid;

  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin: 14px 0 20px;
}
.hero h1 em {  font-style: normal; }
.hero p.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }

.hero-visual {
  position: relative;

  border: 1px dashed var(--line-strong);

  box-shadow: var(--shadow-lift);
}
.hero-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
}
.hero-visual-placeholder svg { width: 25%; opacity: 0.5; }
.hero-visual-placeholder span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- Value strip ---------- */

/* 精簡版特色小條：置於首頁下方（YouTube 之後、輪播之前一類位置），
   單行呈現、不佔用主要瀏覽動線的版面高度。 */

/* ---------- 首頁：雙品牌入口（Elijah Arts × Living Room In Heaven，Logo 為視覺焦點） ---------- */

.brand-entrance-grid { display: grid;   }
.brand-entrance-card {

  flex-direction: column;

  border-radius: var(--radius-l);

  transition: box-shadow 0.25s, transform 0.25s;
}
.brand-entrance-card:hover {  transform: translateY(-4px); }

/* Logo／圖片區：固定尺寸的圓形容器，未來替換正式 Logo 圖檔時
   只需把內部 <svg> 換成同尺寸的 <img>，版面不需更動。 */

.entrance-logo-slot {

  border: 1px solid var(--line);

  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}

.brand-entrance-card:hover .entrance-logo-slot { border-color: var(--gold); transform: scale(1.04); }

.brand-entrance-card h3 { font-size: 1.3rem; margin: 0; }
.brand-entrance-card h3 a:hover { color: var(--gold); }
.brand-entrance-card p { color: var(--ink-soft); margin: 0 0 4px; max-width: 32ch; }
.brand-entrance-card .btn { margin-top: 4px; }

/* ---------- 首頁：圖片輪播／Slider（Elijah Arts 畫作／Living Room In Heaven 商品／系列活動） ---------- */

.carousel {
  position: relative;

  background: var(--paper-card);
  border: 1px solid var(--line);
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel-slide {
  flex: 0 0 100%;

  grid-template-columns: 1fr 1fr;

}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--btn-light);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.carousel-nav:hover { background: var(--btn-light-hover); border-color: var(--ink-soft); }
.carousel-nav svg { width: 18px; height: 18px; }
.carousel-nav.prev { left: 16px; }
.carousel-nav.next { right: 16px; }

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot[aria-current="true"] { background: var(--color-gold); transform: scale(1.3); }

/* ---------- 商店頁品牌標題：與 Header Logo 相同的展示字體樣式 ---------- */

/* ---------- Category chips ---------- */

/* ---------- 首頁：分類瀏覽卡片（取代小型 pill，改為可視、可點擊的卡片） ---------- */
.home-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 14px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.home-cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); }
.home-cat-card .home-cat-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.home-cat-card .home-cat-icon svg { width: 22px; height: 22px; color: var(--gold); }
.home-cat-card .home-cat-name { font-size: 0.86rem; font-weight: 600; color: var(--ink); }

/* ---------- Story band ---------- */
.story-band {

  color: var(--ink-soft);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-band .container { display: grid;    }

.story-band-copy h2 { max-width: 18ch; }

/* V50：品牌故事入口統一明亮白底，文字保留柔和對比。 */

.story-band-copy { align-self: center;   border-radius:14px; padding:28px 30px; box-sizing:border-box; }

.home-page .story-band{background:#FFF8EC!important;}
.home-page .home-cat-card:hover,.home-page .brand-entrance-card:hover{transform:translateY(-3px);}

/* Bright, aligned presentation pass: shared white surfaces and clean image edges. */

.story-band-peacock .container{align-items:stretch!important;}
.story-band-peacock .story-band-image{display:flex;align-items:stretch;background:#fff!important;border:1px solid rgba(80,70,58,.12)!important;padding:8px!important;box-shadow:0 16px 34px rgba(48,40,31,.20)!important;}
.story-band-peacock .story-band-image img{width:100%;height:100%;object-fit:cover;border-radius:4px!important;}
.story-band-peacock .story-band-copy{background:#fff!important;border:1px solid rgba(80,70,58,.10)!important;border-radius:14px!important;box-shadow:0 16px 34px rgba(48,40,31,.14)!important;}
.home-brand-entry .brand-entrance-card{background:#fff!important;border:1px solid rgba(80,70,58,.14)!important;border-radius:14px!important;box-shadow:0 12px 28px rgba(48,40,31,.12)!important;}

.home-page .home-brand-entry .line-service-card{justify-content:center!important;}

body.elijah-page h1,body.elijah-page h2,body.elijah-about-page h1,body.elijah-about-page h2{letter-spacing:0!important;}
body.elijah-page h1{font-size:clamp(1.65rem,3.2vw,2.25rem)!important;}
body.elijah-page .lede{letter-spacing:0!important;}

@media(min-width:761px){
  html body.checkout-page #checkout-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:16px!important;}
  html body.checkout-page #checkout-form > *{grid-column:1/-1!important;}
  html body.checkout-page #checkout-form > .form-group:nth-of-type(1),
  html body.checkout-page #checkout-form > .form-group:nth-of-type(2){grid-column:auto!important;}
  html body.checkout-page #checkout-form > .form-row-2{grid-column:1/-1!important;}
  html body.cart-page h1{font-size:1.7rem!important;line-height:1.2!important;}
  html body.checkout-page .page-hero h1{font-size:1.7rem!important;margin-bottom:4px!important;}
  html body.checkout-page .page-hero .lede{margin-bottom:0!important;font-size:.9rem!important;white-space:nowrap!important;}
  html body.checkout-page > main > .section{padding-top:8px!important;}
  html body.checkout-page #checkout-member-note{margin-top:4px!important;margin-bottom:6px!important;}

}

@media(min-width:761px){
  body.product-living-room #pd-accordion{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 24px;align-items:start;}
  body.product-living-room #pd-accordion .product-verse-panel{grid-column:1 / -1;grid-row:1;}
  body.product-living-room #pd-accordion .accordion-item:nth-of-type(1){grid-column:1;grid-row:2;}
  body.product-living-room #pd-accordion .accordion-item:nth-of-type(2){grid-column:2;grid-row:2;}
  body.product-living-room #pd-accordion .accordion-item:nth-of-type(3){grid-column:1 / -1;grid-row:3;}
}
.product-living-room .pd-info .btn-dark,.product-living-room .pd-info button[type="submit"],.product-elijah .pd-info .btn-dark,.product-elijah .pd-info button[type="submit"],.product-elijah .pd-info #add-cart-btn{background:#fff!important;color:var(--ink)!important;border:1px solid var(--gold)!important;box-shadow:0 8px 18px rgba(48,40,31,.12)!important;}
.product-living-room .product-verse-panel{background:#fff!important;color:var(--ink)!important;box-shadow:0 10px 24px rgba(48,40,31,.12)!important;}
.product-elijah .product-verse-panel{background:#fff!important;color:var(--ink)!important;box-shadow:0 10px 24px rgba(48,40,31,.12)!important;}
.product-elijah .product-verse-panel,.product-living-room .product-verse-panel,.product-elijah #pd-accordion .accordion-item,.product-living-room #pd-accordion .accordion-item{border:1px solid var(--gold)!important;}
.product-elijah #pd-accordion .specs-table,.product-living-room #pd-accordion .specs-table{width:100%!important;}
@media(min-width:761px){
  body.product-elijah #pd-specs-section{width:min(880px,calc(100% - 48px))!important;max-width:880px!important;margin-left:auto!important;margin-right:auto!important;}

  body.product-elijah #pd-accordion{ width:100%!important; max-width:880px!important; margin-left:auto!important; margin-right:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px 24px!important;align-items:start!important;}

  body.product-elijah #pd-accordion .accordion-item:nth-of-type(1){grid-column:1!important;grid-row:2!important;}
  body.product-elijah #pd-accordion .accordion-item:nth-of-type(2){grid-column:2!important;grid-row:2!important;}
  body.product-elijah #pd-accordion .accordion-item:nth-of-type(3){grid-column:1 / -1!important;grid-row:3!important;}
  body.product-elijah #pd-accordion .accordion-item .panel{max-width:760px!important;margin-left:auto!important;margin-right:auto!important;}
  body.product-elijah #pd-accordion .product-verse-panel{ grid-column:1 / -1!important; grid-row:1!important;max-width:880px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;}
}

@media(min-width:761px){body.elijah-page .elijah-showcase-carousel-wrap,body.elijah-page .elijah-showcase-carousel{margin-right:auto!important;}}
@media(max-width:760px){body.elijah-page .elijah-showcase-carousel-wrap,body.elijah-page .elijah-showcase-carousel{margin-right:auto!important;}}
@media(min-width:761px){

  body.home-page .home-brand-entry .line-service-card{grid-row:1;}

  body.home-page .home-brand-entry .brand-entrance-grid{grid-column:1 / -1;grid-row:2;}
  body.home-page .story-band-peacock{padding-top:30px!important;padding-bottom:8px!important;}
}

body.home-page .home-brand-entry .line-service-card strong{font-size:1rem!important;font-weight:700!important;}

/* 全站輪播圖片框統一使用原本的乾淨立體陰影。 */
.carousel .carousel-slide,
.carousel .carousel-visual,
.carousel .room-product-photo-frame,
.carousel .room-product-slide-media,
.home-carousel-section .carousel-visual,
.elijah-showcase-carousel .room-product-photo-frame{
  box-shadow:0 16px 38px rgba(48,40,31,.22),0 5px 14px rgba(48,40,31,.12)!important;
}
body.shop-page .room-welcome-copy{border:0!important;border-radius:0!important;}

body.shop-page .room-product-carousel{border-radius:0!important;}
/* 商品館只讓歡迎文字區塊保持白底，外層恢復暖色背景。 */
body.shop-page .room-section,body.shop-page .room-shell,body.shop-page .room-product-carousel,body.shop-page .room-showcase{background:var(--paper)!important;}
body.shop-page .room-welcome-copy{ box-shadow:none!important;background:#fff!important;}
body.shop-page .room-showcase{background:#fff!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;}
.policy-content{max-width:820px!important;background:#fffdf8;border:1px solid rgba(180,139,57,.24);border-radius:14px;padding:28px 32px;margin-bottom:56px!important;box-shadow:var(--shadow-soft);}
.policy-content h3{margin:24px 0 8px;color:var(--ink);font-size:1.05rem}.policy-content p{color:var(--ink-soft);line-height:var(--lh-relaxed);margin:0}
@media(max-width:760px){.policy-content{border-radius:10px}.policy-content h3{font-size:.98rem}.policy-content p{font-size:.9rem;line-height:var(--lh-text)}}
body.product-elijah #pd-accordion .accordion-item:last-child .panel,body.product-living-room #pd-accordion .accordion-item:last-child .panel{padding-top:0!important;padding-bottom:8px!important;line-height:1.45!important;}
body.product-elijah #pd-accordion .accordion-item:last-child .panel p,body.product-living-room #pd-accordion .accordion-item:last-child .panel p{margin:0!important;line-height:1.5!important;}
body.product-elijah #pd-accordion .accordion-item:last-child summary,body.product-living-room #pd-accordion .accordion-item:last-child summary{padding-top:11px!important;padding-bottom:11px!important;}
/* 首頁品牌照片下半部的柔和金色光暈。 */
body.home-page .home-brand-entry .entrance-logo-slot{position:relative;overflow:hidden;}
body.home-page .home-brand-entry .entrance-logo-slot::after{content:"";position:absolute;inset:48% -12% -18%;pointer-events:none;background:radial-gradient(circle at 22% 70%,rgba(240,194,91,.55) 0 2px,transparent 3px),radial-gradient(circle at 44% 55%,rgba(240,194,91,.42) 0 1.5px,transparent 3px),radial-gradient(circle at 68% 72%,rgba(240,194,91,.5) 0 2px,transparent 3px),radial-gradient(ellipse at 50% 100%,rgba(232,180,67,.34),transparent 68%);mix-blend-mode:screen;}
@media(min-width:761px){
  body.home-page .home-brand-entry{ gap:18px 22px; align-items:stretch;grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.home-page .home-brand-entry .line-service-card{ align-self:center!important;grid-column:1 / span 2!important;justify-self:stretch!important;margin-right:0!important;}

}
@media(max-width:760px){
  body.home-page .home-brand-entry{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  body.home-page .home-brand-entry .line-service-card{grid-column:1!important;grid-row:1!important;}

  body.home-page .home-brand-entry .brand-entrance-grid{grid-column:1 / -1!important;grid-row:2!important;}
}

/* Final homepage alignment overrides */
body.home-page .home-brand-entry .line-service-card{border-radius:9px!important;}

@media(max-width:760px){
  body.home-page .home-brand-entry .line-service-card{
    grid-template-columns:minmax(0,1fr) auto!important;

  }

}

@media(max-width:760px){

  .story-band-peacock .story-band-copy{margin:0 auto!important;}
  .home-brand-entry .brand-entrance-grid .brand-entrance-card:nth-child(2){z-index:2;}
  .creator-process-section .card,.creator-feature-section .creator-feature-card{box-shadow:0 14px 30px rgba(48,40,31,.16)!important;}
}

.story-band-copy p { color:#75695d; }

/* ---------- Peacock brand story ---------- */
.peacock-story-grid { display: grid;   align-items: center; }
.peacock-story-image { margin: 0; background: #fff; border: 1px solid rgba(80,70,58,.16);    }
.peacock-story-image img { display: block; width: 100%;    }
.peacock-story-copy {   border-radius: 14px;   position: relative; }
.peacock-story-copy::before { content:""; display:block; width:42px; height:1px; background:var(--gold); margin-bottom:18px; }
.peacock-story-image figcaption { padding: 10px 4px 2px; color: var(--ink-soft); font-size: .84rem; }
.peacock-story-copy p { max-width: 58ch; color: var(--ink-soft); }

/* ---------- Generic page hero (about/creator/404) ---------- */
.page-hero { padding: 56px 0 20px; }
.page-hero .eyebrow { display: block; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 20ch; }
.page-hero p.lede { color: var(--ink-soft); max-width: 100%; font-size: 1.04rem; }

/* ---------- About page timeline ---------- */

.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.service-page .process-grid .card{background:#fff;border:1px solid var(--color-gold);box-shadow:0 8px 20px rgba(48,40,31,.08);}
.service-page .shipping-grid{align-items:stretch;}
/* 客服中心：縮小各區塊空隙 */
.service-page .breadcrumb{padding-top:8px}
.service-page .page-hero{padding:12px 0 6px}
.service-page .page-hero .eyebrow{margin-bottom:4px}
.service-page .page-hero h1{margin-bottom:4px}
.service-page .page-hero p.lede{margin:4px 0 0}
.service-page .section{padding-top:8px;padding-bottom:8px}
.service-page .section-head{margin-bottom:8px}
.service-page .process-grid,.service-page .shipping-grid{gap:10px}
.service-page .process-grid .card{padding:12px}
.service-page .faq-item{padding:12px 0}
.service-page .process-grid .card .num{display:inline-block;margin-right:8px}
.service-page .process-grid .card h4{display:inline;margin:0}
.service-page .process-grid .card p{margin-top:6px}
.service-page .section-head h2::after{margin-top:4px}
.service-page .section-head + p{margin-top:0}
.service-page .faq-item:first-child{padding-top:4px}
.service-page .shipping-grid .card:last-child{grid-column:1 / -1}
.service-page .shipping-grid .card:last-child .intl-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 12px}
.service-page .shipping-grid .card:last-child p{margin:0}
.service-page .shipping-grid .card:last-child .intl-body{display:grid;grid-template-columns:minmax(0,58%) minmax(0,1fr);margin-top:4px}
.service-page .shipping-grid .card:last-child .intl-note{border-left:1px solid rgba(196,154,82,.55);padding:3px 0 0 14px;margin:0}
@media(max-width:760px){.service-page .shipping-grid .card:last-child .intl-body{grid-template-columns:minmax(0,1fr)}.service-page .shipping-grid .card:last-child .intl-note{border-left:0;padding:6px 0 0;margin:0}}
.service-page .intl-body .shipping-region-table{margin:0}
/* 客服中心（電腦版）：購買須知、配送各做成一個大橫框，用細垂直線分段 */
@media(min-width:901px){
  .service-page #buying .process-grid{grid-template-columns:minmax(0,1fr) minmax(0,2.4fr) minmax(0,.9fr);gap:0}
  .service-page #shipping .shipping-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,2fr);gap:0;row-gap:10px}
  .service-page #buying .process-grid .card,.service-page #shipping .shipping-grid .card:not(:last-child){border-style:solid;border-color:var(--color-gold);border-width:1px 0;border-radius:0;box-shadow:none}
  .service-page #buying .process-grid .card:first-child,.service-page #shipping .shipping-grid .card:first-child{border-left-width:1px;border-radius:var(--radius-m) 0 0 var(--radius-m)}
  .service-page #buying .process-grid .card:last-child,.service-page #shipping .shipping-grid .card:nth-child(3){border-right-width:1px;border-radius:0 var(--radius-m) var(--radius-m) 0}
  .service-page #buying .process-grid .card:nth-child(n+2),.service-page #shipping .shipping-grid .card:nth-child(2),.service-page #shipping .shipping-grid .card:nth-child(3){border-left:1px solid rgba(196,154,82,.55)}
}
.service-page .shipping-region-table th,.service-page .shipping-region-table td{padding:3px 5px}
.service-page .line-note{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 12px}
.service-page .line-note p{margin:0;font-size:.95rem;font-weight:700;color:var(--ink,#3f3932)}
.service-page #line-support{padding-top:2px}
.service-page #returns{padding-bottom:0}
.service-page .section > p:last-child{margin-bottom:0}
.service-page #faq{padding-top:0;padding-bottom:0}
.shipping-region-table{width:100%;border-collapse:collapse;font-size:.82rem;margin:10px 0 14px}.shipping-region-table th,.shipping-region-table td{border-bottom:1px solid rgba(196,154,82,.35);padding:7px 5px;text-align:left;vertical-align:top}.shipping-region-table th{color:var(--gold);font-weight:700}

@media(max-width:900px){.service-page .shipping-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){.service-page .shipping-grid{grid-template-columns:1fr;}}
.faq-item h3 { font-size: 1.02rem; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.faq-item h3 span.q-mark { color: var(--gold); font-family: var(--font-body); font-weight: 700; }
.faq-item p { color: var(--ink-soft); margin: 0; }

/* ---------- Creator page ---------- */

.creator-portrait {

    align-items: center; justify-content: center;

}
.creator-portrait svg { width: 50%; color: var(--wine); }

.process-grid { display: grid;   }
.process-grid .card {   border-radius: var(--radius-m);  }
.process-grid .card .num { font-family: var(--font-body); font-weight: 600;  color: var(--gold);  }
.process-grid .card h4 { margin: 10px 0 8px; }
.process-grid .card p { color: var(--ink-soft);  margin: 0; }

/* ---------- 創作者頁：收藏／訂製／販售 三張橫向卡片（取代原本三個垂直大區塊） ---------- */

.creator-feature-card {

  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);

}
.creator-feature-card .feature-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
   align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.creator-feature-card .feature-icon svg { width: 24px; height: 24px; color: var(--gold); }
.creator-feature-card h3 { font-size: 1.08rem;  }
.creator-feature-card p { color: var(--ink-soft);   flex: 1; }

/* ---------- 創作者頁：YouTube 頻道連結區塊 ---------- */
.youtube-callout {
  display: flex;
  align-items: center;
  gap: 24px;

  border-radius: var(--radius-l);
  padding: 32px;
  flex-wrap: wrap;
}
.youtube-callout > svg { width: 44px; height: 44px; color: var(--wine); flex-shrink: 0; }
.youtube-callout > div { flex: 1; min-width: 200px; }
.youtube-callout h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.youtube-callout p { color: var(--ink-soft); margin: 0; }

/* ---------- Shop layout ---------- */
.shop-layout {   margin-right: auto;     padding-left: 0; padding-right: 0; }
.shop-filters {  top: 96px;    }
.filter-group h4 {  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);  }
.filter-list {  flex-direction: column;  }
.filter-list button {
  text-align: left;    border-radius: 8px;
    display: flex; justify-content: space-between;
}

.filter-list button .count { font-family: var(--font-body); font-size: 0.74rem; opacity: 0.6; }

.shop-toolbar {  justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
.shop-toolbar .result-count { font-size: 0.86rem; color: var(--ink-soft); }
.shop-toolbar select {
  border: 1px solid var(--line-strong); background: var(--paper-card); border-radius: 8px; padding: 8px 12px; font-size: 0.86rem;
}

/* ---------- Product detail ---------- */
.product-detail { display: grid;   padding: 30px 0 20px; }
.product-room {
  position: relative;  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.52), rgba(234,227,214,.86));
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.product-room::before, .product-room::after { content:""; position:absolute; pointer-events:none; border-radius:50%; filter:blur(2px); }
.product-room::before { width:180px; height:180px; right:-60px; top:-70px; background:rgba(180,154,106,.13); }
.product-room::after { width:140px; height:140px; left:-60px; bottom:-70px; background:rgba(117,108,96,.08); }

.gallery-main {
    position:relative;

}
.gallery-main::after { content:""; position:absolute; left:12%; right:12%; bottom:-8px; height:10px; border-radius:0 0 12px 12px; background:#3B352F;  }
.gallery-display-frame {   position:relative;     }
.gallery-display-screen {   position:relative; overflow:hidden;  background:var(--paper-card); }
.gallery-main-image {   transition:opacity .28s ease, transform .28s ease; }

.gallery-main .carousel-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:40px; height:40px; background:rgba(245,241,232,.92); border-color:rgba(63,57,50,.18); box-shadow:0 6px 18px rgba(0,0,0,.16); }
.gallery-main .carousel-nav.prev { left:16px; }
.gallery-main .carousel-nav.next { right:16px; }
.gallery-dots { position:absolute; left:50%; bottom:10px; transform:translateX(-50%); z-index:3; display:flex; gap:7px; padding:6px 9px; border-radius:999px; background:rgba(23,21,19,.58); backdrop-filter:blur(5px); }
.gallery-dots button { width:7px; height:7px; padding:0;  border-radius:50%;  }
.gallery-dots button[aria-current="true"] {  transform:scale(1.35); }
.gallery-thumbs { display:flex; gap:10px;  overflow-x:auto; padding:0 2px 4px; scrollbar-width:thin; }
.gallery-thumbs button { flex:0 0 68px; width:68px; height:68px; border-radius:10px; border:2px solid transparent;  overflow:hidden; padding:0; }

.pd-info .cat { font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.04em; color: var(--sage); text-transform: uppercase; }
.pd-info h1 { margin: 8px 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }

.pd-info .price-row { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-family: var(--font-body); font-size: 1.25rem; letter-spacing: .01em; color: var(--ink); background: #fff; border: 1px solid var(--gold); border-radius: 6px; padding: 2px 7px; width: fit-content; margin-bottom: 10px; box-shadow: 0 1px 5px rgba(170,130,55,.14); }
.pd-info .price-row .original { text-decoration: line-through; color: var(--ink-soft); font-weight: 400; font-size: 1rem; }
.pd-info .verse-quote { font-family: var(--font-display); font-style: italic; color: var(--wine);   margin: 0 0 20px; }
.pd-info .story { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- 商品規格選擇（尺寸／款式／顏色） ---------- */
.pd-options { display: flex; flex-direction: column;   }
.opt-row { display: flex; flex-direction: column; gap: 8px; }
.opt-label { font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft); }
.opt-chip-group { display: flex; flex-wrap: wrap;  }
.opt-chip {

  border-radius: 999px;
  border: 1px solid var(--line-strong);

}

.opt-swatch { display: inline-flex; align-items: center; gap: 8px; }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-block; }
.opt-chip[aria-pressed="true"] .swatch-dot { border-color: var(--paper-card); }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qty-control { display: flex; align-items: center;  border-radius: 999px; overflow: hidden; }
.qty-control button { width: 38px; height: 38px;   font-size: 1.1rem; }

.qty-control input { width: 42px; text-align: center;   font-family: var(--font-mono); font-size: 0.95rem; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 26px; }
.pd-actions .btn-primary { flex: 1; }
.stock-note { font-size: 0.82rem; color: var(--sage); margin-bottom: 24px; }
.stock-note[data-low="true"] { color: var(--wine); }

.specs-table {  border-collapse: collapse; margin-top: 8px; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table td { padding: 11px 4px; font-size: 0.9rem; }
.specs-table td:first-child { color: var(--ink-soft); width: 30%; font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; }

.accordion-item summary { padding: 16px 4px; font-weight: 600; cursor: pointer; list-style: none; display: flex;  }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; }
.accordion-item[open] summary::after { content: "–"; }
.accordion-item .panel { padding: 0 4px 18px; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: flex-start; }
.cart-line {
  display: grid; grid-template-columns: 112px minmax(0,1fr) auto auto; gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.cart-line .thumb-sm { width: 112px; height: 112px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--gold); box-shadow:0 6px 16px rgba(48,40,31,.10); }
.cart-line .thumb-sm svg { width: 100%; height: 100%; }
.cart-line .cart-item-info { min-width:0; }
.cart-line h4 { margin: 0 0 4px; font-size: 1rem; }
.cart-line .cat { font-size: 0.78rem; color: var(--ink-soft); font-family: var(--font-body); }
.cart-line .cart-unit-price{font-size:1.08rem;color:var(--ink);font-weight:800;letter-spacing:.01em;}
.cart-line .line-price { font-family: var(--font-mono); font-size:1.12rem; font-weight:800; white-space:nowrap; text-align:right; min-width:88px; color:var(--ink); }
.cart-line .remove-btn {    font-size: 0.78rem; text-decoration: underline; margin-top: 6px; }

.summary-card {  border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; position: sticky; top: 96px; }
.summary-card h3 { margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.summary-row.total { color: var(--ink); font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line);   }
.summary-card .btn { margin-top: 18px; }
.summary-note { font-size: 0.8rem; color: var(--ink-soft);   }
html body.cart-page .summary-card .summary-row{padding:4px 0;}
html body.cart-page .summary-card .summary-row.total{margin-top:4px;padding-top:10px;}
html body.cart-page .summary-card .summary-note{margin-top:8px;line-height:1.5;}
html body.cart-page .summary-card .cart-continue-btn{margin-top:8px!important;}
/* 創作者頁：照片與文字收斂成同一個舒適的雙欄區塊。 */
@media(min-width:761px){
  html body.elijah-creator-page .creator-hero{margin-right:auto!important;padding-bottom:34px!important;}

  html body.elijah-creator-page .creator-story-copy{border-radius:12px!important;min-width:0!important;}
}
@media(max-width:760px){
  html body.elijah-creator-page .creator-hero{padding-top:20px;padding-bottom:24px;}

  html body.elijah-creator-page .creator-story-copy h1{font-size:1.55rem;}
  html body.elijah-creator-page .creator-story-copy .lede{font-size:.86rem;}
}

/* ---------- Checkout ---------- */
.checkout-layout { display: grid;   align-items: flex-start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1px solid var(--line-strong); background: var(--paper-card);
  border-radius: 8px; padding: 12px 14px; font-size: 0.94rem; font-family: var(--font-body);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: var(--radius-m); padding: 16px; margin-bottom: 10px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--gold); background: rgba(176,141,62,0.06); }
.radio-card strong { display: block; margin-bottom: 3px; }
.radio-card span.desc { font-size: 0.82rem; color: var(--ink-soft); }
.parcel-size-row { margin-top: 12px; }
.parcel-size-row .opt-chip { padding: 7px 14px; font-size: 0.8rem; }

/* ---------- Checkout：祝福小卡（選填） ---------- */
.blessing-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  background: var(--paper-card);
  margin-top: 8px;
}
.blessing-block > label:first-child { font-size: 0.95rem; margin-bottom: 6px; }
.blessing-hint { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 16px; }

.mini-line { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 6px 0; color: var(--ink-soft); }
.mini-line span:last-child { color: var(--ink); font-family: var(--font-mono); }

/* ---------- Success page ---------- */
.success-wrap { width:min(880px,calc(100% - 36px));  margin:0 auto; text-align:center; padding:80px 0 100px; box-sizing:border-box; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 24px; color: var(--gold); }
.success-page .success-icon{display:none;}
.success-channel-art{display:block;object-fit:cover;margin:0 auto 14px;border-radius:12px;}
.order-box {   border-radius: var(--radius-l);   text-align: left; }
.order-box .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.order-box .row span:first-child { color: var(--ink-soft); }
.success-payment-title{font-size:.72em;font-weight:600;}
.order-box .row.transfer-row{margin:10px -10px 0;padding:12px 10px;border-radius:8px;background:#fff9ed;font-size:1.04rem;}
.order-box .row.transfer-row strong{font-size:1.16rem;color:#76531f;}
@media(max-width:760px){html body.success-page .success-wrap h1{font-size:1.55rem;line-height:1.45;}.order-box .row{gap:12px;align-items:baseline;}.order-box .row strong{text-align:right;word-break:break-word;}}

.next-steps li { margin-bottom: 10px; color: var(--ink-soft); }
html body.success-page .order-box { box-shadow:0 8px 22px rgba(48,40,31,.10)!important; }
html body.success-page #success-actions .btn-gold { background:#fff!important;color:var(--ink)!important;border:1px solid var(--gold)!important; }
html body.success-page .success-wrap{padding-bottom:42px!important;}

html body.success-page .order-box{ background:#fff!important; border:1px solid var(--gold)!important; border-radius:12px!important; width:min(540px,100%)!important; margin:14px auto!important; padding:18px!important; box-sizing:border-box!important; overflow-wrap:anywhere!important;margin-bottom:8px!important;}
html body.success-page .success-wrap > h3{margin:10px auto 4px!important;width:min(540px,100%)!important;text-align:left!important;}
html body.success-page .success-wrap > h3 + p{margin-top:0!important;margin-bottom:8px!important;width:min(540px,100%)!important;margin-left:auto!important;margin-right:auto!important;text-align:left!important;}
html body.success-page .next-steps{width:min(540px,100%)!important;margin:10px auto!important;padding-left:24px!important;padding-right:18px!important;box-sizing:border-box!important;text-align:left!important;overflow-wrap:anywhere!important;}

html body.success-page .success-channel-art{width:128px!important;height:128px!important;filter:drop-shadow(0 5px 10px rgba(48,40,31,.18));}

html body.success-page #order-channel-invitation .btn br{display:none!important;}
html body.success-page #order-channel-invitation .btn{ max-width:none!important; white-space:nowrap!important; padding-left:24px!important; padding-right:24px!important;padding-top:8px!important;padding-bottom:8px!important;line-height:1.25!important;}
html body.success-page .order-page-actions{width:min(640px,100%)!important;margin:16px auto!important;gap:12px!important;}
html body.success-page .order-page-actions .btn{min-height:50px!important;padding:7px 8px!important;font-size:1rem!important;line-height:1.25!important;white-space:nowrap!important;}
html body.success-page #order-channel-invitation{ margin-top:18px!important; width:min(540px,100%)!important; box-sizing:border-box!important;margin-bottom:0!important;}
@media(max-width:760px){
  html body.success-page .success-wrap{ padding-top:42px;width:calc(100% - 36px)!important;padding-left:0!important;padding-right:0!important;}
  html body.success-page .order-box{width:100%!important;margin-left:0!important;margin-right:0!important;padding:14px!important;}
  html body.success-page .order-page-actions{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  html body.success-page .order-page-actions .btn{font-size:.95rem!important;padding:12px 10px!important;min-height:54px!important;white-space:normal!important;line-height:1.3!important;}
  html body.success-page #order-channel-invitation{margin-top:12px!important;padding:16px!important;}
}
html body.order-page{--order-gutter:18px;}
html body.order-page main > .container{width:calc(100% - 36px)!important;max-width:880px!important;padding-left:0!important;padding-right:0!important;}
html body.order-page .order-box{margin:8px 0!important;padding:10px 14px!important;background:#fff!important;border:1px solid var(--gold)!important;box-shadow:0 6px 16px rgba(48,40,31,.08)!important;}
html body.order-page .order-box .row{padding:3px 0!important;}
html body.order-page .shipping-notice{margin:10px 0!important;padding:10px 12px!important;}
html body.order-page #payment-report{margin:12px auto!important;}
html body.order-page #payment-report .field{margin:9px 0!important;}
html body.order-page .order-page-actions{margin:12px auto!important;gap:8px!important;}
html body.order-page .order-page-actions .btn{min-height:48px!important;padding:8px 10px!important;}
html body.order-page #order-message{margin:6px 0!important;}
html body.order-page #customer-order > p:last-child{margin:8px 0 0!important;}
@media(min-width:761px){
  html body.cart-page .cart-layout{width:min(760px,calc(100% - 36px))!important;max-width:760px!important;gap:20px!important;margin-left:auto!important;margin-right:auto!important;}
  html body.cart-page .cart-line{grid-template-columns:112px minmax(0,1fr)!important;grid-template-areas:"thumb info" "qty price"!important;gap:8px 12px!important;align-items:center!important;}
  html body.cart-page .cart-line .thumb-sm{grid-area:thumb!important;}
  html body.cart-page .cart-line .cart-item-info{grid-area:info!important;}
  html body.cart-page .cart-line .qty-control{grid-area:qty!important;justify-self:start!important;}
  html body.cart-page .cart-line .line-price{grid-area:price!important;justify-self:start!important;margin-left:8px!important;min-width:0!important;font-size:.98rem!important;}
  html body.cart-page .summary-card{width:300px!important;box-sizing:border-box!important;padding:18px!important;}
  html body.cart-page .page-hero{padding-top:0!important;padding-bottom:0!important;}
  html body.cart-page .page-hero + .section{padding-top:4px!important;}
}
.order-page-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:540px; }
.order-page-actions .btn { box-sizing:border-box;width:100%;min-width:0;min-height:64px;margin:0;padding:10px 12px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;line-height:1.4; }
.order-page-actions [role="status"] { grid-column:1/-1;margin:0; }
.order-page-actions .btn:last-of-type:nth-child(odd) { grid-column:1/-1; }

/* ---------- 404 ---------- */
.error-wrap { text-align: center; padding: 100px 0 120px; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); color: var(--gold); line-height: 1; margin-bottom: 10px; }

/* ---------- Search / Favorites toolbar ---------- */
.result-toolbar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; flex-wrap: wrap; gap: 10px;}
.result-toolbar .q { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {

  .hero-visual { order: -1;   }

  .carousel-slide { grid-template-columns: 1fr; }

  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }

}
@media (max-width:760px){
  html body.checkout-page .page-hero{padding-top:16px!important;padding-bottom:0!important;}
  html body.checkout-page .page-hero h1{margin-bottom:2px!important;}
  html body.checkout-page .page-hero .lede{margin-bottom:4px!important;line-height:1.45!important;}
  html body.checkout-page #minimum-order-note{margin-bottom:4px!important;}
  html body.checkout-page #transfer-note{margin-bottom:8px!important;}
  html body.checkout-page #checkout-member-note{margin-top:4px!important;margin-bottom:6px!important;}
  html body.checkout-page .checkout-layout{gap:14px!important;}
  html body.checkout-page #checkout-form > .form-group{margin-bottom:10px!important;}
  html body.checkout-page #checkout-form > .form-group > label{margin-bottom:4px!important;line-height:1.35!important;}
  html body.checkout-page #checkout-form > .form-group input,
  html body.checkout-page #checkout-form > .form-group select{min-height:44px!important;padding:10px 12px!important;}
  html body.checkout-page #checkout-form > .form-group textarea{min-height:72px!important;padding:10px 12px!important;}
  html body.checkout-page #checkout-form > .form-row-2{margin-bottom:8px!important;gap:0!important;}
  html body.checkout-page #checkout-form > .form-row-2 > .form-group{margin-bottom:6px!important;}
  html body.checkout-page #checkout-form > .form-group:has(#address){margin-bottom:6px!important;}
  html body.checkout-page #checkout-form > .form-group:has(#note){margin-top:0!important;margin-bottom:8px!important;}
  html body.checkout-page #checkout-form > .summary-note{margin-top:6px!important;margin-bottom:6px!important;}
  html body.checkout-page #checkout-form > .blessing-block{margin-top:4px!important;margin-bottom:10px!important;}
  html body.checkout-page #checkout-form .blessing-block{padding:12px 14px 8px!important;}
  html body.checkout-page #checkout-form .blessing-hint{margin-bottom:8px!important;}
  html body.checkout-page #checkout-form > button[type="submit"]{margin-top:6px!important;}
}
@media (max-width: 560px) {

  .cart-line { grid-template-columns:120px minmax(0,1fr);grid-template-areas:"thumb name" "quantity price";gap:14px;align-items:start; }
  .cart-line .thumb-sm { grid-area:thumb;width:120px;height:120px;box-sizing:border-box;background:#fff; }
  .cart-line .cart-item-info { grid-area:name; }
  .cart-line .qty-control { grid-area:quantity;align-self:center;justify-self:start; }
  .cart-line .line-price { grid-area:price;align-self:center;justify-self:start;margin-left:8px; }

  .order-page-actions .btn { font-size:.88rem;padding:10px 6px; }
}

.thumb-sm img { width:100%; height:100%;  border-radius:inherit; }

/* ---------- 色彩層次：暖灰米色參考系 ---------- */
.hero, .page-hero { position: relative; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(180,154,106,.08); filter: blur(2px); pointer-events:none; z-index:-1;
}
.hero::before { right: 2%; top: 8%; }
.page-hero::before { left: 0; top: 10%; }

.section-head h2::after {
  content:""; display:block; width:34px; height:2px; margin-top:10px;
  background: var(--gold); opacity:.75;
}

/* Warehouse-era portrait framing */
.creator-portrait { border-radius: 10px !important; box-shadow: 0 22px 52px rgba(48,40,31,.22), 0 6px 16px rgba(48,40,31,.12) !important; }
.creator-portrait img { border-radius: 5px !important; }

/* v11：品牌故事與首頁公告層次 */
.page-actions{display:flex;align-items:center;gap:18px;margin-bottom:4px;flex-wrap:wrap;font-size:.86rem}
.page-actions a,.back-link{color:var(--ink-soft);text-decoration:none}
.page-actions a:hover,.back-link:hover{color:var(--ink)}
.back-link{font-family:inherit}
.peacock-story-image{padding:6px;border-radius:4px;box-shadow:0 28px 62px rgba(48,40,31,.28),0 10px 24px rgba(48,40,31,.16)}

.announcement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.announcement-card{background:rgba(255,252,246,.78);border:1px solid var(--line);border-radius:12px;padding:16px 18px 12px;box-shadow:0 12px 28px rgba(48,40,31,.07)}
.announcement-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:10px}
.announcement-card time{font-family:var(--font-mono);font-size:.72rem;color:var(--ink-soft)}
.announcement-card h3{font-size:1.08rem;margin:0 0 6px}.announcement-card p{color:var(--ink-soft);font-size:.88rem;margin:0}
.announcement-card details{margin-top:12px;color:var(--ink-soft);font-size:.82rem}.announcement-card summary{cursor:pointer;color:var(--ink)}
@media(max-width:760px){.announcement-card{padding:19px}}
.announcement-card .ann-dup{display:none;}

/* v12：孔雀品牌圖完整保留原始構圖，只去除原圖白邊 */
.peacock-story-image img { border-radius:1px; aspect-ratio: 1732 / 2009; object-fit: contain; background: #fff; }

/* v14：作品館改為藝廊式展示，不使用 TV 造型；商品卡小圓角。 */
.room-showcase {  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr); gap:clamp(24px,4vw,52px);      }

/* v14：全站降低咖啡感，頁尾改成更輕的霧灰米色。 */

.site-footer::after { opacity:.11; }

/* v17：商品圖框不再模仿電視；保留細白框與明顯陰影。 */
.gallery-main {

  box-shadow: 0 24px 52px rgba(45,39,32,.20), 0 8px 18px rgba(45,39,32,.10);
}
.gallery-main::after { box-shadow:0 5px 12px rgba(45,39,32,.18); display:none; }
.gallery-display-frame {

  background:#fff;

  box-shadow: 0 20px 48px rgba(63,57,50,.20), 0 7px 18px rgba(63,57,50,.12);
}

/* 規格區：手機優先，減少垂直滑動；桌機可自然橫向排列 */
@media (min-width: 761px) {
  .pd-options {  grid-template-columns:repeat(2,minmax(0,1fr));  margin-bottom:20px; }

}
@media (max-width: 760px) {
  .pd-options { gap:10px; margin-bottom:18px; }
  .opt-row { gap:6px; }
  .opt-chip-group { gap:6px; }
  .opt-chip { padding:7px 12px; font-size:.82rem; }
}

/* v30：手機版以「少滑、看得懂、看得到」為原則；不改 Elijah 桌機版視覺。 */
@media (max-width: 760px) {

  .hero-copy { order: 0; }
  .hero-visual { order: 1;     }

  .entrance-logo-slot svg { width: 42px; height: 42px; }
  .brand-entrance-card h3 { font-size: 1rem; margin: 0; }
  .brand-entrance-card p { font-size: .76rem; line-height: 1.45; margin: 1px 0 3px; }
  .brand-entrance-card .btn { margin-top: 1px; justify-self: start; padding: 6px 10px; font-size: .72rem; }

  .carousel-slide { grid-template-columns: 92px 1fr;  }

  .story-band-copy p { font-size: .84rem; }

  .announcements-section { padding-top: 30px; }

  .site-footer .footer-top ul {  font-size:1.1rem; }
  .site-footer .footer-top h4 {  font-size:1.05rem; }
  .site-footer .footer-top p.desc { font-size: .78rem; margin-top: 9px; }
  .footer-bottom-inner {  padding-right: 18px;  }
  /* 創作者頁：圖片不再佔滿整個手機首屏。 */

  /* 天堂客廳：真正的客廳入口，不讓一張圖吃掉整個螢幕。 */

  .room-label { padding: 0 0 10px; }
  .room-showcase { grid-template-columns: 1fr; gap: 12px;  }

  .room-category-carousel { margin: 12px 0 18px; }
  .room-category-carousel .carousel-slide { grid-template-columns: 74px 1fr; min-height: 118px; }

  .room-inventory-head h3 { font-size: 1.12rem; }
  .room-inventory-head span { font-size: .72rem; }

}

/* v31：Living Room 的分類輪播改為真正商品分類入口，不再用「熱銷／禮物首選」等推薦標籤取代商品分類。 */

@media (max-width:760px){
  body.elijah-page .elijah-page-hero{
    padding:22px 18px 8px!important;

  }
  body.elijah-page .elijah-page-hero h1,
  body.elijah-page #elijah-heading{
    font-size:clamp(1.45rem,6.3vw,1.7rem)!important;
    line-height:1.25!important;
    margin:4px 0 8px!important;
    letter-spacing:.01em!important;
  }
  body.elijah-page .elijah-page-hero .lede{margin:0!important;line-height:1.55!important;}

}

/* v32：首頁減少重複入口；品牌故事緊接雙品牌卡片。 */

@media (max-width:760px) {
  .home-brand-entry {  padding-bottom: 8px; }

}

/* v32：手機全站一致左右留白，避免內容貼邊。 */
@media (max-width:760px) {
  main > .container,
  main > section.container,
  main > .section.container {  padding-right:18px; }

  .room-shell { padding-left: 0; padding-right: 0; }
}

/* v32：天堂客廳首頁先看分類，再看推薦。 */
.room-brand-heading { display:flex;   }
.room-brand-mark {   display:inline-flex; align-items:center; justify-content:center;   }
.room-brand-mark svg { width:100%; height:100%; }

.room-category-card { display:flex;   border:1px solid var(--line);  background:var(--paper-card-deep); color:inherit; text-decoration:none;   }
.room-category-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lift); }
.room-category-card-image {     place-items:center; }

.room-category-placeholder {   display:grid; place-items:center; color:var(--gold); }
.room-category-placeholder svg { width:100%; height:100%; }

.room-category-card-body p { margin:0; color:var(--ink-soft);  }

.creator-brand-story-image { margin:0; }
.creator-brand-story-image img {    border-radius:8px; box-shadow:0 18px 40px rgba(48,40,31,.16); }
.creator-brand-story-image figcaption { margin-top:8px; color:var(--ink-soft); font-size:.78rem; }

/* v32：頁尾雙品牌識別保留清楚的 Logo 位置。 */
@media (max-width:760px) {

  .site-footer .brand-lockup-footer .logo .flame-mark { width:17px; height:17px; }
}

.creator-brand-story-image img{max-height:none;}

@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}

}

.creator-brand-story-image{margin-bottom:28px}

/* v34：品牌分館與商品館導覽修正 */

.elijah-page-hero h1 { max-width: none; }
.elijah-empty { padding: 36px 24px; border:1px dashed var(--line-strong); border-radius:12px; text-align:center; color:var(--ink-soft); background:rgba(255,252,246,.7); }

.room-product-photo-frame {        border-radius:8px;   place-items:center;  }

.room-product-placeholder { width:58%; height:58%; display:grid; place-items:center; color:var(--gold); }
.room-product-placeholder svg { width:100%; height:100%; }

.room-inventory-head { display:flex; justify-content:space-between; gap:18px;  }
.room-inventory-head input { width:min(260px,100%); padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:var(--paper-card); color:var(--ink); }

@media(max-width:760px){

  .room-inventory-head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:12px; }
  .room-inventory-head input { margin-top:9px; width:100%; box-sizing:border-box; }
}
/* 首頁圖片等比縮小，保留完整構圖 */

.story-band-image {  justify-self:center; }

.creator-brand-story-image {  justify-self:center; }

@media(max-width:760px){
  .hero-visual {   justify-self:center; }

}

@media(max-width:880px){.brand-lockup .logo-living span small{display:block !important;font-size:.5em;letter-spacing:var(--eyebrow-tracking);line-height:1.05;}}

/* v35：縮小首頁與商品館資訊密度，避免客人滑很久才看到新內容。 */
.home-brand-entry {  padding-bottom: 2px; }

.home-brand-entry .brand-entrance-card h3 { font-size: 1.05rem; }
.home-brand-entry .brand-entrance-card p { font-size: .82rem; line-height: 1.45; }
.home-brand-entry .brand-entrance-card .btn {  font-size: .76rem; }

.story-band-peacock {  padding-bottom: 28px; }

.story-band-copy h2 { font-size: clamp(1.35rem,2.2vw,1.8rem); }

.global-back-row .back-link { padding:7px 12px; min-height:32px;  border-radius:8px;   font-size:.82rem;  }

.room-label { margin-bottom: 10px; }

.room-category-card { flex-direction:column; overflow:hidden; box-shadow:0 10px 26px rgba(63,57,50,.08); transition:transform .2s,box-shadow .2s; border-radius:9px; }

@media(max-width:760px){

  .story-band-peacock { padding:20px 0; }

  .global-back-row .back-link { font-size:.76rem; padding:6px 10px; }

}

/* v36：重新整理「集中但不擁擠」的版面比例。左右保留舒服留白，避免內容貼邊或區塊過寬。 */
@media (min-width: 761px) {

  .hero {   padding-top: 20px; padding-bottom: 30px; }
  .hero-visual {  justify-self: end; }

  .story-band-peacock .container { grid-template-columns: minmax(240px,.7fr) minmax(0,1.3fr); gap: 54px; }
  .story-band-image, .creator-brand-story-image { max-width: 320px; }

  .creator-brand-story-image { background:#fff; border:1px solid rgba(80,70,58,.14); border-radius:8px; padding:8px; box-shadow:0 18px 40px rgba(48,40,31,.16); }
  .creator-brand-story-image img { display:block; width:100%; height:auto; max-height:none; aspect-ratio:1732 / 2009; object-fit:contain; border-radius:2px; background:#fff; }

  .shop-filters.desktop-filters {      border-radius:12px;  }
  .shop-filters .filter-group { margin:0; }

  .shop-toolbar { margin-bottom:14px; }
  #pd-root, #pd-root + .section, #pd-root + .section + .section { max-width:1080px; }
  .cart-layout {   margin-right:auto;  }
}

/* 所有照片框統一為真正白框；不讓米色背景冒充相框。 */
.story-band-image {    border-radius:8px; }

/* 首頁入口：兩塊分開，不貼左右、不擠在一起。 */

.home-brand-entry .brand-entrance-card { min-width:0; }

/* 返回上一頁與標題同一個內容寬度，避免單獨撐滿。 */

/* 商品館：歡迎、輪播、分類都沿用同一內容軸線。 */
.room-shell { max-width:100%;  }

/* 商品規格：跟上方商品內容對齊，不要再拉成超寬的空白帶。 */
#pd-root + .section { padding-top:28px; padding-bottom:28px; }
#pd-root + .section .section-head { margin-bottom:14px; }

/* 按鈕保留可見的焦點／互動光感，不用厚重發光。 */

@media (max-width:760px) {
  /* 手機仍以舒服邊距為主，但不讓區塊橫向撐爆。 */
  .container { width:100%; box-sizing:border-box; padding-left:18px !important; padding-right:18px !important; }
  .hero { gap:28px; }

  .creator-brand-story-image img { max-height:none; aspect-ratio:1732 / 2009; object-fit:contain; }

  .shop-filters .filter-group + .filter-group { margin-top:12px; }

  #pd-root + .section {  padding-bottom:22px; }

  .cart-layout {  max-width:none; }
  .global-back-row { width:100%; }

}

/* v37：依今晚實際檢視重新校正「閱讀密度」與品牌分館。 */
/* 文字層級：所有小標、眉標、說明文字至少提高一級，避免手機老花難讀。 */
.eyebrow {  letter-spacing:var(--eyebrow-tracking); }
.section-note, .section-head .section-note, .section-head > span { font-size: .82rem; }
.process-grid .card .num { letter-spacing: 0.03em; font-size: .88rem; }
.process-grid .card p, .creator-feature-card p { font-size: .94rem; line-height: var(--lh-text); }

.creator-brand-story-image, .story-band-image {    box-sizing:border-box; }
.creator-brand-story-image img, .story-band-image img { display:block;   aspect-ratio:1732 / 2009;  background:#fff; }

/* Elijah：三個真正的作品入口，水平排列。 */

/* 天堂客廳：輪播與歡迎區跟四格分類使用同一條內容軸。 */
.room-product-carousel, .room-welcome-copy, .room-category-grid, .room-inventory {   margin-right:auto; }

.room-welcome-copy h3 { font-size:1.15rem;  }
.room-welcome-copy p { font-size:.9rem;  }

.room-category-card-body h3 { margin:3px 0; font-size:.94rem; }
.room-category-card-body p { font-size:.76rem; }
.room-inventory { margin-top:14px; }
.room-inventory-head { align-items:center; }

/* 商品分類不是一大塊側欄：改成緊湊橫向選項列。 */

/* 商品規格與購物車共用較窄的閱讀軸。 */
#pd-root + .section, .cart-layout {  margin-left:auto; margin-right:auto; }

@media(max-width:760px){

  .section-note, .section-head .section-note, .section-head > span { font-size:.78rem; }
  .process-grid .card .num { font-size:.82rem; }
  .process-grid .card p, .creator-feature-card p { font-size:.9rem; line-height:var(--lh-text); }

  .creator-brand-story-image, .story-band-image {    margin-right:auto; }

  .room-welcome-copy h3 { font-size:1.05rem; }
  .room-welcome-copy p { font-size:.82rem; }

  .room-category-card-body h3 { font-size:.9rem; }
  .room-category-card-body p { font-size:.72rem; }

}

/* v38：最終密度校正——集中內容、保留舒適邊距，不用巨大空白。 */
.section { padding-top: 16px; padding-bottom: 16px; }
.section-head { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.global-back-row { padding-top: 8px; padding-bottom: 4px; }
.back-link { cursor:pointer; display:inline-flex; align-items:center; padding:7px 12px;  border-radius:8px;  }
.creator-hero {   padding-bottom: 24px; }

.process-grid .card { padding: 18px; }
.creator-media-grid { display:grid;   }
.creator-media-card { display:block; color:inherit; text-decoration:none; border:1px solid var(--line); border-radius:12px; background:var(--paper-card); overflow:hidden; padding-bottom:14px; }
.creator-media-thumb {      color:var(--ink-soft); }
.creator-media-card h3, .creator-media-card p { margin-left:14px; margin-right:14px; }
.creator-media-card h3 { margin-top:12px; margin-bottom:5px;  }
.creator-media-card p { margin-top:0; color:var(--ink-soft);  line-height:1.55; }
.custom-process-grid { display:grid;   }
.custom-step { position:relative; padding:18px 16px; border:1px solid var(--gold); border-radius:12px; display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-items:baseline;  }
.custom-step:not(:last-child)::after {       color:var(--gold);  padding:2px 4px; }
.custom-step > span { font-family:var(--font-body);  font-weight:700; font-size:1.2rem; }
.custom-step h3 { font-size:1.5rem; margin:0; }
.custom-step p { color:var(--ink-soft); font-size:1.2rem; line-height:1.55; margin:8px 0 0; grid-column:1 / -1; }
.room-shell { width:min(880px,100%); margin:auto; }
.room-product-carousel, .room-showcase, .room-category-grid, .room-inventory {    margin-right:auto; }

.room-category-card-body { padding:7px 9px 10px; }
.room-category-card-body .eyebrow { font-size:.68rem; }
.shop-filters.desktop-filters {   margin-left:auto; margin-right:auto;    }

#pd-root + .section .section-head h2 { font-size:1.28rem; }

@media(max-width:760px){
  .section {  padding-bottom:22px; }

  .section-head h2 { font-size:1.25rem; }
  .creator-hero {   padding-bottom:16px; }

  .creator-media-card { border-radius:9px;  }

  .creator-media-card h3 { margin:8px 8px 3px;  }

}

/* V40 — final layout density / alignment pass */

.creator-media-thumb {    box-shadow:0 8px 18px rgba(63,57,50,.08); }

.creator-media-card p { font-size:.9rem; }
.creator-media-detail-card { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); gap:28px; align-items:center; }
.creator-media-detail-thumb {    box-shadow:0 8px 18px rgba(63,57,50,.08);   color:var(--ink-soft); }

.room-label, .room-product-carousel, .room-showcase, .room-category-grid, .room-inventory, .shop-layout { max-width:880px; margin-left:auto; margin-right:auto; }
.room-product-carousel, .room-showcase, .room-category-grid, .room-inventory { width:100%; }
.room-product-carousel {  margin-bottom:8px; }

.room-category-placeholder, .room-category-card-image img { width:100%; height:100%; object-fit:contain; }

.shop-filters.desktop-filters {     align-items:start;   }

.shop-filters .filter-list {  flex-wrap:wrap;  }

.section-head .eyebrow, .eyebrow { font-size:.84rem; }
.section-head h2 { line-height:1.25; }

#pd-root + .section, .cart-layout { width:min(880px,calc(100% - 48px)); }
#pd-root + .section { margin-top:0; }
#pd-root + .section + .section { padding-top:18px; padding-bottom:18px; }

@media (max-width:760px){

  .creator-media-card p { margin:0 8px; font-size:1rem; }
  .creator-media-detail-card { grid-template-columns:1fr; gap:14px; }

  #pd-root + .section, .cart-layout { width:calc(100% - 36px); }
}

/* V40b — four-column product rhythm */

/* V40c — final content rhythm */

.creator-brand-story-image {  box-shadow:0 10px 22px rgba(48,40,31,.10); }

.creator-hero + .section, .creator-media-section { padding-top:0; padding-bottom:18px; }
.elijah-page-hero { padding-top:16px; padding-bottom:16px; }

.room-label { width:100%; max-width:880px; box-sizing:border-box; }
.room-label .room-brand-heading { width:100%; }
.room-product-carousel .carousel-track { align-items:stretch; }
.room-showcase {   border-radius:10px; }

.product-verse-panel {  margin:14px auto 0; padding:10px 14px;  border-radius:10px;  box-sizing:border-box; }
.product-verse-panel .eyebrow {  margin-bottom:4px; }
.product-verse-panel p { margin:0; font-size:.95rem; line-height:var(--lh-text); }

@media(max-width:760px){

 .creator-brand-story-image {  margin-left:auto; margin-right:auto; }
 .creator-hero + .section, .creator-media-section {  padding-bottom:14px; }
 .product-verse-panel { margin-top:10px; padding:9px 11px; }
 .product-verse-panel p { font-size:.9rem; }
}

/* V41 — 品牌入口改為橫向 Logo＋文字；Elijah 作品區與 Living Room 節奏統一 */
.home-brand-entry .brand-entrance-grid {    padding-right:32px; }

.home-brand-entry .brand-entrance-card h3 { margin:0; }
.home-brand-entry .brand-entrance-card p { margin:4px 0 7px; }
.home-brand-entry .brand-entrance-card .btn { padding: 7px 12px; justify-self:start; }
.home-brand-entry .brand-entrance-card .btn:hover, .home-brand-story-link .link-more:hover { box-shadow:0 0 0 3px rgba(180,139,57,.10),0 0 18px rgba(180,139,57,.28); }

.creator-brand-story-image, .creator-portrait, .creator-media-thumb { background:#fff !important; border:8px solid #fff !important; box-sizing:border-box; }

.creator-media-section .section-head .eyebrow, .creator-media-card h3 { font-size:1.05rem; }
.creator-media-section .section-head { margin-bottom:16px; }

.custom-process { margin-top:8px; }

@media(max-width:760px){

 .home-brand-entry .brand-entrance-card h3 { font-size:.95rem; }
 .home-brand-entry .brand-entrance-card p { font-size:.76rem; }
 .home-brand-entry .brand-entrance-card .btn { font-size:.72rem; padding:6px 9px; }

}
/* V41 — final requested structure pass */

.home-brand-entry .brand-entrance-card h3 a { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border:1px solid var(--line-strong); border-radius:9px; background:#fff; box-shadow:0 4px 12px rgba(63,57,50,.08); text-decoration:underline; text-underline-offset:3px; }

.creator-brand-story-image { max-width:320px; padding:8px; }
.creator-brand-story-image img { background:#fff !important; width:100%; height:auto; background:#fff; aspect-ratio:1732/2009; object-fit:contain; }

.creator-hero .eyebrow, .creator-media-section .eyebrow, .creator-media-section .link-more, .section-head .eyebrow { font-size:.96rem; }
.creator-hero h1 { line-height:1.18; }

.custom-order-note { margin:12px 0 0; padding:10px 12px; border-left:3px solid var(--gold); background:rgba(255,255,255,.72); color:var(--ink-soft); font-size:1.25rem; line-height:var(--lh-text); }
.custom-process-grid { gap:12px; }

.room-welcome-copy {  margin:0 auto; }

.shop-layout { max-width:880px; }
.shop-filters.desktop-filters { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.shop-filters .filter-group { min-width:0; padding:4px 0; }
.shop-filters .filter-group h4 { margin:0 0 5px; font-size:.9rem; }
.shop-filters .filter-list { display:flex; gap:5px; align-content:flex-start; }
.shop-filters .filter-list button { white-space:nowrap; padding:5px 8px; font-size:.8rem; }

.product-verse-panel { width:min(880px,100%); max-width:880px; }
@media(max-width:760px){

 .creator-brand-story-image { max-width:220px; }

 .custom-order-note { font-size:1.15rem; }

 .shop-filters .filter-list { gap:4px; }
 .shop-filters .filter-list button { padding:4px 6px; font-size:.72rem; }

}

/* V42 — 首頁品牌入口：三格扁長、Logo 放大、文字不再做成白底按鈕 */
.home-brand-entry .brand-entrance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:0;}
.home-brand-entry .brand-entrance-card{min-height:168px;box-sizing:border-box;display:grid;grid-template-columns:138px minmax(0,1fr);align-items:center;text-align:left;gap:18px;padding:18px 22px;border-radius:14px;text-decoration:none;color:inherit;}
.home-brand-entry .entrance-logo-slot{ flex:none;border:1px solid var(--line-strong);display:grid;place-items:center;}

.home-brand-entry .brand-entrance-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
.home-brand-entry .brand-entrance-copy strong{font-size:1.22rem;line-height:1.25;}
.home-brand-entry .brand-entrance-copy small{font-size:.92rem;color:var(--ink-soft);}
.home-brand-entry .brand-entrance-copy em{font-style:normal;font-size:.86rem;color:var(--gold-hover);text-decoration:underline;text-underline-offset:4px;margin-top:4px;}
.home-brand-entry .brand-entrance-card:hover{transform:translateY(-3px);}

/* 品牌介紹：頂端導覽更清楚、連結與品牌故事節奏收緊 */
.about-page .page-actions a,.page-hero .page-actions a{font-size:.98rem;font-weight:700;text-decoration:underline;text-underline-offset:4px;}
.page-hero .page-actions{margin-bottom:12px;}
.page-hero .eyebrow,.about-page .eyebrow{font-size:1rem;font-weight:700;}
.page-hero{padding-top:18px;padding-bottom:20px;}

/* 影像創作：固定外框，16:9／9:16 封面都能置中，不會破壞三格對齊 */
.creator-media-section .section-head .eyebrow{font-size:18px;font-weight:700;}
.creator-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.creator-media-thumb{aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden;position:relative;}
.creator-media-thumb::after{content:"";position:absolute;inset:8px;border:1px solid rgba(80,70,58,.12);pointer-events:none;}
.media-cover-image{width:100%;height:100%;object-fit:contain;display:block;position:relative;z-index:1;background:#fff;}
.creator-media-detail-thumb{aspect-ratio:16/9;background:#fff;border:8px solid #fff;display:grid;place-items:center;overflow:hidden;position:relative;}
.creator-media-detail-thumb::after{content:"";position:absolute;inset:8px;border:1px solid rgba(80,70,58,.12);pointer-events:none;}

/* 天堂客廳輪播：縮小並置中，避免右側大空白 */
.room-product-carousel{margin-right:auto;}

/* Landing 分類／標籤：文字導覽＋右側一張代表商品，不再整面鋪滿分類卡 */
.shop-layout{width:min(760px,100%);margin:12px auto 0;grid-template-columns:minmax(0,1fr) minmax(220px,260px);gap:18px;}
.shop-layout .shop-filters.desktop-filters{position:static;width:100%;max-width:none;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:10px 12px;background:var(--paper-card);border:1px solid var(--line);border-radius:10px;}
.shop-layout .shop-toolbar{display:none;}
.shop-layout > div{min-width:0;}
.shop-layout #shop-grid{display:block;}
.shop-layout #shop-grid .product-card{display:none;}
.shop-layout #shop-grid .product-card:first-child{display:block;}

/* 商品館分類頁：輪播與商品網格仍維持 4 格 */
.room-inventory-head{margin-top:12px;}

/* 訂製作品：只保留 3 個步驟 */
.custom-process-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.custom-step:not(:last-child)::after{ position:absolute; right:-11px; top:50%; transform:translateY(-50%); z-index:2; background:var(--paper);content:'→';}

@media(max-width:760px){

  .page-hero{padding-top:2px;padding-bottom:2px;}
  .page-hero .page-actions a{font-size:.92rem;}

  .shop-layout{ width:auto !important; margin-left:18px !important; margin-right:18px !important;grid-template-columns:1fr;gap:10px;}
  .shop-layout .shop-filters.desktop-filters{grid-template-columns:1fr;}
  .shop-layout #shop-grid .product-card:first-child{display:block;}

}

/* V43 — Elijah 只保留三個入口；作品預留格不再出現多餘說明框。 */

.elijah-empty { display:none !important; }

/* V43 — 天堂客廳大廳恢復四格品項分類；分類／標籤篩選不佔大廳版面。 */
.room-category-grid { display:grid !important; width:min(880px,100%); max-width:880px; margin-left:auto; margin-right:auto; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.shop-layout { align-items:start; display:none !important; }

/* V43 — 輪播與歡迎區同寬、同節奏；內容左右平均，不再擠在左半邊。 */
.room-product-carousel {   margin:8px auto 12px; }
.room-product-carousel .carousel-track { width:100%; }
.room-product-carousel .room-product-slide {   box-sizing:border-box; }

.room-product-photo-frame {     margin:auto; }

.room-showcase { width:min(880px,100%); max-width:880px; margin:0 auto;  box-sizing:border-box;  align-items:center; }
.room-welcome-copy { width:100%; box-sizing:border-box;  max-width:none; }

/* 分類卡就是大廳的主體：桌機四格、手機兩格。 */

@media(max-width:760px){

  .room-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }

}

/* V44 — 天堂客廳輪播一次呈現兩件，保持整體區塊尺寸，不再左重右空。 */

.room-product-carousel .room-product-pair-card{display:grid;grid-template-columns:minmax(120px,.72fr) minmax(0,1fr);gap:14px;align-items:center;min-width:0;padding:10px 12px;background:var(--paper-card);border:1px solid var(--line);border-radius:10px;box-sizing:border-box;box-shadow:0 10px 24px rgba(48,40,31,.08);color:inherit;text-decoration:none;}
.room-product-carousel .room-product-pair-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px);}

.room-product-carousel .room-product-pair-card .room-product-photo-frame{width:100%;max-width:none;}

.custom-payment-note{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.72);color:var(--ink-soft);font-size:1.25rem;line-height:1.55;}
.custom-payment-note strong{white-space:nowrap;}
@media(max-width:760px){

  .room-product-carousel .room-product-pair-card{grid-template-columns:120px minmax(0,1fr);gap:9px;padding:7px;}

  .custom-payment-note{align-items:flex-start;flex-direction:column;gap:3px;font-size:1.15rem;}
}
/* V44 — 空分類仍保留商品品項架構，方便之後從倉庫直接上架。 */

/* V45 — Living Room 商品館輪播：只顯示商品圖片，一張一張自動輪播 */

.room-product-carousel .room-product-image-only .room-product-photo-frame img {     aspect-ratio:1/1; }
.room-product-carousel .room-product-image-only .room-product-placeholder { width:55%; height:55%; }
.room-product-carousel .carousel-nav,
.room-product-carousel .carousel-dots { display:none !important; }

/* V46 — 商品詳情推薦／最近瀏覽：只顯示實際商品，最多一排四個，不保留空白佔位。 */

/* V46 — 按鈕按下／鍵盤操作時保留可見的柔和光感。 */

/* V46 — 商品館首頁輪播：單張圖片、置中、連續自動輪播，不顯示商品文字。 */
.room-product-carousel.room-product-image-carousel {   margin-left:auto; margin-right:auto; }
.room-product-carousel .room-product-image-only { width:100%; min-width:100%; min-height:0; display:flex; justify-content:center; align-items:center; }
.room-product-carousel .room-product-image-link { text-decoration:none; display:block;  margin:0 auto; }
.room-product-carousel .room-product-image-only .room-product-photo-frame { width:100%;     }

@media(max-width:760px){

  .room-product-carousel.room-product-image-carousel { width:min(300px,100%); max-width:300px; }

}

/* ---------- V47：官方 LINE 客服入口 ---------- */
.line-service-card {

  justify-content: center;

  border-radius: var(--radius-l);
}

.line-service-card .eyebrow { margin: 0; }

@media (max-width: 700px) {
  .line-service-card { text-align: center;   }

}

/* V47 FINAL — 收緊商品卡片節奏，避免商品頁面鬆散 */
.product-card .body { padding: 10px 12px 12px; gap: 3px; }
.product-card h3 { font-size: .98rem; line-height: 1.35; }
.product-card .price { padding-top: 4px; font-size: .9rem; }
.product-card .cat { font-size: .64rem; }
#related-grid, #recent-grid-pd { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

/* V47 FINAL — 金色文字改為細緻金屬光澤，不再是平面的灰金 */
.eyebrow, .hero h1 em, .custom-process-grid .custom-step > span,
.custom-payment-note strong, .product-room-label span:first-child,
.room-brand-mark, .section-head .link-more:hover {
  background: linear-gradient(105deg,#8B6B37 0%,#C9AE72 28%,#F0D9A3 48%,#A98248 68%,#D7BF87 84%,#8F6C38 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  color:transparent;
  text-shadow: 0 0 10px rgba(201,174,114,.16);
}

/* V47 FINAL — 商品規格相框顏色直接反映在作品框上 */
.gallery-display-frame[data-frame-color="黑色框"] { border: 10px solid #24211E; background:#24211E; }
.gallery-display-frame[data-frame-color="白色框"] { border: 10px solid #fff; background:#fff; }
.gallery-display-frame[data-frame-color="原木框"] { border: 10px solid #B98A5A; background:#B98A5A; }
.gallery-display-frame[data-frame-color="黑色框"] .gallery-display-screen,
.gallery-display-frame[data-frame-color="白色框"] .gallery-display-screen,
.gallery-display-frame[data-frame-color="原木框"] .gallery-display-screen { background:#fff; }

/* V47 FINAL — Elijah 預留格與空狀態集中處理 */

@media(max-width:760px){
  .product-card .body { padding: 8px 9px 10px; }
  .product-card h3 { font-size:.9rem; }
  .product-card .price { font-size:.82rem; }
  .gallery-display-frame[data-frame-color="黑色框"], .gallery-display-frame[data-frame-color="白色框"], .gallery-display-frame[data-frame-color="原木框"] { border-width:7px; }
}

/* V49 Elijah Arts 作品區：每個預留格都有完整視覺，不再留下空白框 */

/* V49 FINAL — 全站版型以天堂客廳首頁的舒服寬度與商品格為基準 */
.container{max-width:880px}
.site-header .container,.announce .container,.site-footer .container{max-width:1180px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}

@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:680px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.container{max-width:none}}

/* V49 修正：Elijah 三個作品頁面與天堂客廳「全部商品」共用同一內容軸線 */
body.elijah-page main > .container {

  margin-right: auto;

}

/* 預覽切換固定在 Header 右側，不參與內容排版 */

.product-card { position: relative; }
.product-card > .fav-toggle { position: absolute; z-index: 3; top: 10px; right: 10px; }
.product-card > .thumb { display: block; }

/* V49 最終微調：首頁與 Elijah 共用舒適內容軸線 */

.section-head h2 { letter-spacing: -0.015em; max-width:100%; overflow-wrap:anywhere; }

/* V49 FINAL — Elijah 與天堂客廳「全部商品」共用同一內容軸線 */
body.elijah-page main > .container,
body.elijah-page .elijah-entry-links,
body.elijah-page .product-grid{width:min(880px,calc(100% - 36px));max-width:880px;margin-left:auto;margin-right:auto;box-sizing:border-box}

body.elijah-page .product-card .thumb{aspect-ratio:1/1}
.home-brand-entry,.line-service-card,.home-carousel-section{margin-right:auto;box-sizing:border-box}

.section-head{ min-width:0;width:100%;max-width:880px;margin-left:auto;margin-right:auto;box-sizing:border-box}

/* V49 MOBILE PREVIEW — 模擬手機時，讓商品館真正套用手機網格與尺寸。
   只作用於 html[data-bp-preview="mobile"]，不碰正常桌機版。 */

/* V49 修正：只恢復被手機預覽誤帶大的首頁／品牌故事，並補齊 Elijah 手機預覽排版。
   不改天堂客廳原有桌機商品輪播與相框／無框畫。 */

/* 首頁「更多值得駐足的故事」恢復較緊湊的原比例 */

/* 品牌故事：回到與天堂客廳一致的閱讀軸，不讓孔雀與文字被 1080px 放大 */
.peacock-story{margin-right:auto;}

.peacock-story-image{margin-right:auto;box-sizing:border-box;}

.peacock-story-copy p{font-size:.9rem;line-height:var(--lh-text);}

/* 桌機預覽列只負責切換，不蓋住下拉選單 */
#bp-preview-switch{ flex: 0 0 auto;z-index:20!important;}
.site-header{z-index:100;}
.main-nav{z-index:101;}
.nav-dropdown{position:relative;}
.nav-dropdown-panel{position:absolute!important;z-index:300!important;}

/* Elijah 作品卡：整張卡都是真正的商品頁入口，收藏鈕除外 */
.product-card-link{position:relative;z-index:2;display:flex;flex-direction:column;width:100%;height:100%;cursor:pointer;}
.product-card-link .thumb,.product-card-link .body{pointer-events:auto;}

@media (max-width:760px){

  /* 真手機：創作者頁固定為「圖在上、文字在下」 */
  .creator-hero{grid-template-columns:1fr;}

  .process-grid{grid-template-columns:1fr;gap:10px;}
  .process-grid .card{padding:18px;}

  .creator-media-grid{grid-template-columns:1fr;gap:10px;}
  .creator-media-thumb{aspect-ratio:16/9;}

  .peacock-story-grid{gap:16px;}

  .peacock-story-copy h2{font-size:1.25rem;}
  .peacock-story-copy p{font-size:.86rem;}
}

/* 桌機上的「手機預覽」也必須完整套用 Elijah 的手機斷點。 */

/* V49 MOBILE PRODUCT DETAIL — 商品單頁輪播比照天堂客廳無框／有框畫的方形展示方式。
   不改桌機版，只處理真手機與桌機上的手機預覽。 */
@media(max-width:760px){
  .product-room{padding:12px 12px 10px;border-radius:18px;}
  .gallery-main{border-radius:10px;}
  .gallery-main::after{left:10%;right:10%;bottom:-6px;height:8px;border-radius:0 0 9px 9px;}
  .gallery-display-frame{border-radius:7px;}
  .gallery-display-screen{border-radius:4px;}

  .gallery-main .carousel-nav.prev{left:9px;}
  .gallery-main .carousel-nav.next{right:9px;}

  .gallery-thumbs button{flex-basis:58px;width:58px;height:58px;border-radius:8px;}
}

/* V49 MOBILE PRODUCT RECOMMENDATIONS — 4 件上限；手機兩欄自然排成兩排，不強迫四件同一水平。
   Elijah Arts 與天堂客廳商品單頁共用。 */
@media(max-width:760px){
  #related-grid,#recent-grid-pd{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* V49 封版校正：以下全部是「指定範圍」修正；桌機與天堂客廳已正確的內容不跟著手機改。 */

/* 1. 天堂客廳商品館桌機圖片輪播：恢復原本緊湊的 520px／360px 軸線。
      不改手機版既有 300px／220px 設定。 */
@media(min-width:761px){
  .room-product-carousel.room-product-image-carousel{

    margin-left:auto!important;
    margin-right:auto!important;
  }
  .room-product-carousel.room-product-image-carousel .room-product-image-link{

    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* 2. 首頁精選系列：桌機維持原本較窄的 760px，不被後面的 880px 規則放大。 */

/* 3. Elijah 商品列表：手機卡片比照天堂客廳商品卡的方形圖片與舒適左右留白。 */
@media(max-width:760px){
  body.elijah-page main > .container,
  body.elijah-page .elijah-entry-links,
  body.elijah-page .product-grid{

    margin-right:auto!important;

  }

  body.elijah-page .product-card .thumb{
    aspect-ratio:1/1!important;
  }
  body.elijah-page .product-card .body{
    padding:10px 10px 12px!important;
  }
}

/* 桌機上的手機預覽，完全使用同一套 Elijah 手機規則。 */

/* 4. 首頁手機／手機預覽：所有主要內容採同一條 18px 左右留白。 */
@media(max-width:760px){
  .home-brand-entry,
  .home-carousel-section,
  .hero.container,
  .story-band-peacock .container,
  main > .section.container{
    width:calc(100% - 36px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box;
  }
  .hero.container{grid-template-columns:1fr!important;}
  .hero-visual{max-width:100%!important;margin:0 auto!important;}

  .story-band-peacock .container{grid-template-columns:1fr!important;}
  .story-band-peacock .story-band-image{ min-height:250px!important;margin:0 auto!important;}
  .story-band-peacock .story-band-copy{ padding:22px 20px!important;width:100%!important;box-sizing:border-box;}
  #featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .announcement-grid{grid-template-columns:1fr!important;gap:8px!important;}
}

/* 5. Elijah 頁尾：品牌一列；探索／客服中心一列；聯絡置中。
      內容集中，不讓每個連結之間拉成很長的直條。 */
@media(max-width:760px){

  body.elijah-page .site-footer .footer-top .brand-col{

    display:flex!important;
    flex-direction:column!important;

  }
  body.elijah-page .site-footer .brand-lockup-footer{justify-content:center!important;}
  body.elijah-page .site-footer .footer-top p.desc{max-width:34ch!important;margin:8px auto 0!important;}
  body.elijah-page .site-footer .footer-top h4{margin-bottom:7px!important;}
  body.elijah-page .site-footer .footer-top ul{gap:4px!important;font-size:1.1rem!important;}
  body.elijah-page .site-footer .footer-top > div:last-child{grid-column:1 / -1!important;}
  body.elijah-page .site-footer .footer-bottom-inner{padding-left:18px!important;padding-right:18px!important;text-align:center!important;justify-content:center!important;}
}

/* 6. 商品單頁手機：作品本身放大到方形展示；箭頭不再佔作品視覺。
      手機改用下方縮圖切換，避免左右兩顆箭頭把畫面切碎。桌機完全不改。 */
@media(max-width:760px){
  .gallery-main{width:100%!important;background:var(--paper-card)!important;border:1px solid var(--line)!important;box-sizing:border-box!important;}
  .gallery-display-frame{padding:4px!important;box-sizing:border-box!important;}

  .gallery-main .carousel-nav{ width:34px; height:34px;display:none!important;}
  .gallery-thumbs{ gap:8px; margin-top:12px;justify-content:center!important;}
}

/* V49 桌機收尾：首頁與商品單頁只沿用天堂客廳商品館的內容軸，不改手機規則。 */
@media (min-width: 761px){
  body:not(.elijah-page) main > .section.container,
  body.home-page main .section.container,
  body.home-page .home-brand-entry,
  body.home-page .line-service-card,
  body.home-page .home-carousel-section,
  body.home-page .announcement-grid,
  body.home-page #featured-grid,
  body.home-page #recent-grid {
    width:min(880px,calc(100% - 48px));
    max-width:880px;
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
  }

  /* 商品單頁：完全比照天堂客廳商品館的簡潔作品框，略寬於正方形。 */
  .product-detail .product-room{box-sizing:border-box;}

  .product-detail .gallery-thumbs{margin-right:auto;}
  .product-detail .gallery-main::after{display:none;}
  .product-detail .gallery-main .carousel-nav{width:36px;height:36px;}
  .product-detail .gallery-main .carousel-nav.prev{left:12px;}
  .product-detail .gallery-main .carousel-nav.next{right:12px;}
}

/* V49 桌機最終鎖定：商品單頁完全沿用天堂客廳商品館「無框布置畫」的簡潔展示。
   不使用額外外框、不放左右箭頭；桌機先固定，手機規則不在此段修改。 */

/* V49 Elijah 商品卡：桌機與天堂客廳商品卡完全共用 4 欄方形比例。 */

/* V49 首頁／Footer 桌機內容軸鎖定，避免最新消息與 Footer 文字貼到視窗邊緣。 */
@media (min-width:761px){
  body.home-page main .section.container,
  body.home-page .home-brand-entry,
  body.home-page .line-service-card,
  body.home-page .announcement-grid,
  body.home-page #featured-grid,
  body.home-page #recent-grid,
  body.home-page .story-band-peacock .container,
  body.elijah-page .site-footer .footer-top,
  body.home-page .site-footer .footer-top{
    width:min(880px,calc(100% - 48px));
    max-width:880px;
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
  }
}

/* V49 PATCH9：只修正本次指定的桌機基準；不碰手機規則。 */
@media (min-width:761px){
  /* 首頁與 Elijah 頁尾上方連結區，統一使用同一條 880px 內容軸。 */
  body.home-page .site-footer .footer-top,
  body.elijah-page .site-footer .footer-top,
  body.home-page .site-footer .footer-bottom-inner,
  body.elijah-page .site-footer .footer-bottom-inner{

    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  /* Elijah 作品格：直接沿用全站 product-card 的 4 欄方形比例。 */

  /* 商品單頁：簡潔、略寬於正方形；不使用箭頭。 */
  .product-detail .product-room{ border-radius:0;margin-right:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
  .product-detail .gallery-main{margin-right:auto!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:8px!important;box-shadow:0 18px 42px rgba(48,40,31,.12),0 5px 14px rgba(48,40,31,.07)!important;box-sizing:border-box!important;}
  .product-detail .gallery-display-frame{padding:0!important;background:#fff!important;border:0!important;border-radius:5px!important;box-shadow:none!important;box-sizing:border-box!important;}
  .product-detail .gallery-display-screen{padding:0!important;border:0!important;border-radius:3px!important;background:#fff!important;overflow:hidden!important;}
  .product-detail .gallery-main-image,.product-detail .gallery-main-image img,.product-detail .gallery-main-image svg{display:block!important;}

  .product-detail .gallery-main .carousel-nav,.product-detail .gallery-main .gallery-dots{display:none!important;}
  .product-detail .gallery-thumbs{margin:14px auto 0!important;}
}

/* V49 Elijah：作品區只顯示實際作品；下方改為小型分類導覽列。 */
body.elijah-page .elijah-category-bar{

  font-size:1rem;
  color:var(--ink-soft);
}
body.elijah-page .elijah-category-bar a{

  text-decoration:none;
  white-space:nowrap;
}

body.elijah-page .elijah-category-bar a:last-child{font-weight:600;}
body.elijah-page .elijah-category-sep{color:var(--line-strong);}
@media(max-width:680px){
  body.elijah-page .elijah-category-bar{font-size:.75rem;}
}

/* V49 FIX — Elijah 作品區固定預留商品格；與全站商品卡同尺寸，不使用「這裡還沒有作品」大框。 */

/* V49 FIX — 創作者頁維持桌機「左圖右文」；三個更多內容卡同排。 */

/* V49 FIX — Footer 共用同一條 880px 內容軸，不再貼到視窗邊緣。 */
@media (min-width:761px){
  .site-footer .footer-top,
  .site-footer .footer-bottom-inner{

    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
}

/* V49 FIX — Elijah 底部分類只保留細長導覽列，不做成大卡片。 */
body.elijah-page .elijah-category-bar{ width:min(880px,calc(100% - 48px)); max-width:880px; margin:10px auto 0; border-top:1px solid rgba(196,154,82,.45); border-bottom:1px solid rgba(196,154,82,.45); align-items:center; justify-content:center; flex-wrap:wrap;
  min-height:0;

}

/* V49 PATCH12 — 只修正本次指定版面：創作者創作方式、Elijah 商品格、商品單頁。 */
@media (min-width:761px){
  /* 創作者頁：創作方式三張卡固定同一水平列；避免 1／2／3 造成長頁。 */

  body:not(.service-page) .process-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px!important;
  }
  .process-grid .card{min-width:0!important;}

  /* Elijah：正在販售／已售出與天堂客廳商品館共用四格商品卡。 */

  /* Elijah 單獨商品頁：沿用天堂客廳的 880px 內容軸，圖片左、商品資訊右。 */
  #pd-root{
    width:min(880px,calc(100% - 48px))!important;
    max-width:880px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  #pd-root .product-detail{
    width:100%!important;
    max-width:880px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:42px!important;
    align-items:start!important;
    box-sizing:border-box!important;
  }
  #pd-root .product-detail .product-room{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  #pd-root .product-detail .gallery-main{
    width:100%!important;
    max-width:420px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  #pd-root .product-detail .gallery-thumbs{
    width:100%!important;
    max-width:420px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  #pd-root .product-detail .pd-info{
    min-width:0!important;
    padding-top:2px!important;
  }
}

/* 真手機／桌機手機預覽：維持直式，不被桌機雙欄規則干擾。 */
@media (max-width:760px){
  #pd-root{width:calc(100% - 36px)!important;max-width:none!important;}
  #pd-root .product-detail{grid-template-columns:1fr!important;gap:30px!important;}
}

/* V49 PATCH13 — 只調整天堂客廳商品單頁下方資訊；Elijah 商品單頁不受影響。 */
@media (min-width:761px){
  body.product-living-room #pd-accordion .accordion-item summary{

    padding-right:36px;
  }
  body.product-living-room #pd-accordion .accordion-item summary::after{

    top:50%;

  }
  body.product-living-room #pd-accordion .accordion-item .panel{

    margin-right:auto;

  }
  body.product-living-room #pd-accordion .pd-full-story,
  body.product-living-room #pd-accordion .panel > p{

    margin-right:auto;
  }

  body.product-living-room #pd-accordion .specs-table{

    margin-right:auto;

  }

}

/* V49 PATCH13 — Elijah 作品區固定三欄，讓 7 格呈現 3／3／1、15 格呈現 3×5；實際卡片可直接進商品頁。 */
@media (min-width:761px){

  body.elijah-page #elijah-grid .product-card{
    width:100%!important;
    min-width:0!important;
  }
  body.elijah-page #elijah-grid .product-card-link{ cursor:pointer!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
  }

}

/* V49 FINAL DETAIL — 兩品牌商品頁下方資訊統一置中：
   商品規格／細節與工藝、祝福與作品說明、經文、商品規格、出貨與退換貨。 */
body.product-elijah #pd-specs-section .section-head,
body.product-elijah #pd-specs-section .section-head > div,
body.product-living-room #pd-specs-section .section-head,
body.product-living-room #pd-specs-section .section-head > div{
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.product-elijah #pd-specs-section .section-head h2,
body.product-elijah #pd-specs-section .section-head .eyebrow,
body.product-living-room #pd-specs-section .section-head h2,
body.product-living-room #pd-specs-section .section-head .eyebrow{
  text-align:center!important;
}

/* V49 PATCH18 — 商品詳細下方資訊統一置中：Elijah 與天堂客廳一致。
   標題、祝福與作品說明、經文、商品規格（含尺寸等欄位）、出貨與退換貨全部採同一閱讀軸。 */
body.product-elijah #pd-accordion .accordion-item summary,
body.product-living-room #pd-accordion .accordion-item summary{
  position:relative;
  justify-content:center;
  text-align:center;
  padding-left:36px;
  padding-right:36px;
}
body.product-elijah #pd-accordion .accordion-item summary::after,
body.product-living-room #pd-accordion .accordion-item summary::after{
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
}
body.product-elijah #pd-accordion .accordion-item .panel,
body.product-living-room #pd-accordion .accordion-item .panel{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
body.product-elijah #pd-accordion .pd-full-story,
body.product-elijah #pd-accordion .panel > p,
body.product-living-room #pd-accordion .pd-full-story,
body.product-living-room #pd-accordion .panel > p{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
body.product-elijah #pd-accordion .product-verse-panel,
body.product-living-room #pd-accordion .product-verse-panel{
  text-align:center;
}
body.product-elijah #pd-accordion .product-verse-panel .eyebrow,
body.product-living-room #pd-accordion .product-verse-panel .eyebrow{

  text-align:center;
}
body.product-elijah #pd-accordion .specs-table,
body.product-living-room #pd-accordion .specs-table{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
body.product-elijah #pd-accordion .specs-table td,
body.product-living-room #pd-accordion .specs-table td{
  text-align:center;
}

/* V49 PATCH17 — Elijah 展示比照天堂客廳：先有小型主視覺輪播，再以較小四格呈現作品。 */
@media (min-width:761px){
  body.elijah-page .elijah-showcase-carousel-wrap{margin:0 auto 18px;}
  body.elijah-page .elijah-showcase-carousel{margin:0 auto;}
  body.elijah-page #elijah-grid{ display:grid!important;width:min(760px,calc(100% - 48px))!important;max-width:760px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-left:auto!important;margin-right:auto!important;}
  body.elijah-page #elijah-grid .product-card .thumb{ width:100%!important;aspect-ratio:1/1!important;}
  body.elijah-page #elijah-grid .product-card .body{padding:11px 12px 13px;}
  body.elijah-page #elijah-grid .product-card h3{font-size:.94rem;line-height:1.4;}
  body.elijah-page #elijah-grid .product-card .price{font-size:.86rem;}
}

/* V49 PATCH14 — Elijah 作品預留格改成「作品示意卡」，讓尚未放入真實作品時版面仍可視覺化。 */

/* V49 PATCH14 — 作品示意編號，讓預留格看起來像實際作品展示而非空白框。 */

/* V49 PATCH16 — Elijah demo 商品與真實作品共用同一張商品卡，不再使用不可點擊的預留空格。 */
body.elijah-page #elijah-grid .product-card { cursor:pointer; }
body.elijah-page #elijah-grid .product-card-link { cursor:pointer; }

/* V49 mobile final — 首頁三個品牌入口改為真正的直向方卡；只作用於手機，不影響桌機。 */

/* V49 MOBILE FINAL PATCH20 — 首頁三個入口真正維持「方卡」；覆蓋前面舊手機規則。 */
@media (max-width:760px){
  .home-brand-entry .brand-entrance-grid{ padding-right:0 !important;
    display:grid!important;
    grid-template-columns:1fr!important;

    padding:0!important;
  }

  /* Footer：品牌垂直、探索／客服並排，避免手機頁尾過度拉長。 */

  .site-footer .footer-top .brand-col{

    display:flex!important;
    flex-direction:column!important;

  }
  .site-footer .footer-top .brand-lockup-footer{

    flex-direction:column!important;

  }
  .site-footer .footer-top .brand-lockup-footer .brand-divider{display:none!important;}
  .site-footer .footer-top > div:nth-child(2),
  .site-footer .footer-top > div:nth-child(3){min-width:0!important;}

  .site-footer .footer-top li,
  .site-footer .footer-top li a{line-height:1.45!important;}
}

/* 手機預覽同樣使用真正手機的入口／Footer 排版，不影響桌機正常版。 */

/* V49 mobile final: 創作者頁首改為「照片在上、文章在下」；精選內容縮短高度。桌機版不變。 */
@media (max-width:560px){
  .creator-hero{

    flex-direction:column!important;
    align-items:stretch!important;
    gap:18px!important;
    padding:26px 0 30px!important;
  }
  .creator-portrait{
    order:0!important;

    margin:0 auto!important;

  }
  .creator-hero > div:last-child{
    order:1!important;

    text-align:left!important;
  }
  .creator-hero h1{margin-bottom:8px!important;}

  .creator-feature-card{

    border-radius:12px!important;
  }
  .creator-feature-card .feature-icon{
    width:42px!important;
    height:42px!important;
    margin-bottom:3px!important;
  }
  .creator-feature-card .feature-icon svg{width:20px!important;height:20px!important;}

}

@media (min-width:561px) and (max-width:760px){
  .creator-hero{

    flex-direction:column!important;
    align-items:stretch!important;
    gap:22px!important;
  }
  .creator-portrait{order:0!important;margin:0 auto!important;}
  .creator-hero > div:last-child{order:1!important;}
}

/* 桌機瀏覽器的手機預覽：同步手機排版，不影響桌機正常版。 */

/* V49 MOBILE PATCH23 — Elijah 手機版作品卡加大；訂製頁改成單欄。桌機完全不動。 */
@media (max-width:760px){
  /* 正在販售／已售出：比照天堂客廳，一排兩格，讓作品縮圖有足夠觀看尺寸。 */
  body.elijah-page #elijah-grid{

    grid-template-columns:repeat(2,minmax(0,1fr))!important;

  }
  body.elijah-page #elijah-grid .product-card{ border-color:rgba(180,139,57,.24)!important;
    min-width:0!important;
  }
  body.elijah-page #elijah-grid .product-card .thumb{
    width:100%!important;
    aspect-ratio:1/1!important;
  }
  body.elijah-page #elijah-grid .product-card .body{
    padding:10px 11px 12px!important;
  }
  body.elijah-page #elijah-grid .product-card h3{
    font-size:.92rem!important;

  }

  /* 訂製作品：兩個訂製作品卡不要擠成小長條，改成一格一格往下。 */

  body.elijah-page .custom-process-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.elijah-page .custom-step{
    width:100%!important;
    box-sizing:border-box!important;
    padding:15px 14px!important;
  }
  body.elijah-page .custom-step:not(:last-child)::after{display:none!important;}
  body.elijah-page .custom-step h3{font-size:1.4rem!important;}
  body.elijah-page .custom-step p{font-size:1.15rem!important;line-height:1.55!important;}
}

/* V49 手機預覽：與真正手機完全一致。 */

/* V49 PATCH23：訂製作品清單本身也改成單欄，避免兩張卡在手機上過小。 */

/* V49 PATCH24 — 首頁手機品牌入口視覺強化：Logo 放大、文字下移、暖咖啡陰影＋金色炫光。
   僅作用於手機／手機預覽，不改桌機基準。 */
@media (max-width:760px){
  .home-brand-entry .brand-entrance-card{ box-sizing:border-box!important; justify-content:center!important; text-align:center!important;
    position:relative!important;
    overflow:hidden!important;

    box-shadow:0 14px 30px rgba(48,40,31,.20),
               0 4px 10px rgba(48,40,31,.12),
               inset 0 1px 0 rgba(255,255,255,.52)!important;
  }
  .home-brand-entry .brand-entrance-card::before{
    content:"";

    pointer-events:none;
  }

  .home-brand-entry .brand-entrance-card .brand-entrance-copy{
    position:relative!important;
    z-index:1!important;

  }

  .home-brand-entry .brand-entrance-card .brand-entrance-copy em{ font-style:normal;

    line-height:1.3!important;

  }
}

/* V49 PATCH25 — 首頁手機入口 Logo 框再放寬；暖金炫光／互動陰影加強。
   保留卡片原本的大塊比例，只調整框內 Logo 的可用面積與光感。 */
@media (max-width:760px){
  .home-brand-entry .entrance-logo-slot{ z-index:1!important; border-color:rgba(96,78,56,.24)!important;

    box-shadow:
      0 12px 26px rgba(48,40,31,.20),
      0 0 34px rgba(180,139,57,.38),
      0 0 62px rgba(180,139,57,.18),
      inset 0 1px 0 rgba(255,255,255,.82)!important;
  }

}

/* V49 PATCH25 — 桌機的「手機預覽」同步。 */

/* V49 PATCH25 — 作品／入口卡片互動時，陰影由單純咖啡改為明顯的暖金炫光。 */
.brand-entrance-card:hover{
  box-shadow:0 18px 44px rgba(48,40,31,.18),0 0 34px rgba(180,139,57,.28)!important;
}
.product-card:hover{
  box-shadow:0 18px 44px rgba(48,40,31,.15),0 0 30px rgba(180,139,57,.30),0 0 54px rgba(180,139,57,.12)!important;
}
.room-category-card:hover,
.room-product-carousel .room-product-pair-card:hover{
  box-shadow:0 18px 44px rgba(48,40,31,.15),0 0 32px rgba(180,139,57,.28),0 0 56px rgba(180,139,57,.12)!important;
}

/* V49 — 互動光感最終加強：保留原本立體陰影，改以明顯的金棕色外暈取代淡灰感。 */

.brand-entrance-card:hover,
.product-card:hover,
.room-category-card:hover,
.room-product-carousel .room-product-pair-card:hover,
.home-cat-card:hover {
  box-shadow:
    0 18px 44px rgba(48,40,31,.18),
    0 0 28px rgba(180,139,57,.48),
    0 0 58px rgba(180,139,57,.25)!important;
}

/* V49 手機版校正：恢復 Elijah 探索區原本的置中規則；只作用於手機。 */
@media (max-width:760px){
  body.elijah-page .site-footer .footer-top,
  body.elijah-page .site-footer .footer-top > .container,
  body.elijah-page .site-footer .footer-top .footer-grid,
  body.elijah-page .site-footer .footer-top .brand-lockup-footer,
  body.elijah-page .site-footer .footer-top .footer-grid > div{
    text-align:center!important;
  }

  /* 品牌故事：標題色彩、圖片與內容寬度恢復較舒適比例。 */

  /* 訂製作品：兩張作品卡維持一排兩欄，避免手機頁面過長。 */

  /* 所有探索區的上下節奏收緊，但不改動內容本身。 */
  .site-footer .footer-top{padding-bottom:24px!important;}

}

/* V49 最終單項修正：只修 Elijah 手機首頁；桌機不變。 */
@media (max-width:760px){
  body.home-page .home-brand-entry .brand-entrance-grid,
  body.home-page .home-brand-entry .brand-entrance-card{
    width:100%!important;
  }

  body.home-page .home-brand-entry .brand-entrance-card{padding-right:14px!important;}

  body.home-page .home-brand-entry .brand-entrance-card p{margin-bottom:2px!important;}
  body.home-page .home-brand-entry .brand-entrance-card .btn{margin-top:0!important;}

  /* Elijah／天堂客廳探索區：品牌鎖定與文字全部置中。 */
  body.home-page .site-footer .footer-top .brand-lockup-footer,
  body.home-page .site-footer .footer-top .brand-lockup-footer *{
    text-align:center!important;
  }
  body.home-page .site-footer .footer-top .brand-lockup-footer{
    justify-content:center!important;
    align-items:center!important;
    margin-inline:auto!important;
  }

}

/* Elijah mobile content follows the existing 300px Living Room hall carousel.
   Only Elijah is changed; the wider back-navigation row keeps its position. */
@media (max-width:760px){
  body.elijah-page main > .container:not(.global-back-row),
  body.elijah-page .elijah-showcase-carousel-wrap,
  body.elijah-page .elijah-category-bar{

    margin-right:auto!important;

    padding-right:0!important;

  }
  body.elijah-page #elijah-grid,
  body.elijah-page .elijah-showcase-carousel,
  body.elijah-page .elijah-entry-links{

    box-sizing:border-box!important;
  }
}

/* Keep the new header subtitles hidden on desktop, including 761–880px. */
.site-header .brand-lockup .mobile-brand-zh { display:none!important; }

/* Extra footer content is mobile-only; desktop retains its original footer. */
.site-footer .contact-line-mobile,
.site-footer .contact-social-facebook,
.site-footer .copyright-mobile { display:none!important; }

@media (max-width:760px){
  body .site-footer .footer-top,
  body.elijah-page .site-footer .footer-top{
    width:calc(100% - 36px)!important;max-width:none!important;
    margin:0 auto!important;padding:30px 0 24px!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:18px!important;row-gap:22px!important;
  }
  body .site-footer .footer-top .brand-col,
  body.elijah-page .site-footer .footer-top .brand-col{
    grid-column:1/-1!important;align-items:center!important;text-align:center!important;
  }
  body .site-footer .footer-top .brand-lockup-footer,
  body.home-page .site-footer .footer-top .brand-lockup-footer,
  body.elijah-page .site-footer .footer-top .brand-lockup-footer{
    width:min(300px,100%)!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;justify-items:stretch!important;
    gap:12px!important;margin:0 auto!important;text-align:left!important;
  }
  .site-footer .brand-lockup-footer .brand-divider,
  .site-footer .brand-lockup-footer .flame-mark,
  .site-footer .brand-lockup-footer .brand-asset-image{display:none!important;}
  .site-footer .brand-lockup-footer .logo{
    display:grid!important;

  }
  .site-footer .brand-lockup-footer .logo::before{
    display:grid;place-items:center;

    background:rgba(245,241,232,.12);font:700 .76rem var(--font-display);

  }

  .site-footer .footer-top p.desc{max-width:34ch!important;margin:12px auto 0!important;text-align:center!important;}
  .site-footer .footer-top > div:nth-child(2),
  .site-footer .footer-top > div:nth-child(3){grid-column:auto!important;text-align:center!important;}
  .site-footer .footer-top > div:nth-child(4){text-align:center!important;}
  .site-footer .footer-top h4{margin:0 0 8px!important;}
  .site-footer .footer-top ul{gap:5px!important;align-items:center!important;}
  .site-footer .footer-top .contact-line-existing{display:none!important;}

  .site-footer .footer-bottom-inner{
    width:calc(100% - 36px)!important;margin:0 auto!important;
    padding:15px 0 18px!important;display:block!important;text-align:center!important;
    font-size:.68rem!important;line-height:1.55!important;
  }
  .site-footer .copyright-desktop{display:none!important;}
  .site-footer .copyright-mobile{display:block!important;}
  .site-footer .copyright-mobile span{display:block;white-space:nowrap;}
}
/* 桌機版 Copyright 置中（只剩一段字） */
@media (min-width:761px){
  html:root .site-footer .footer-bottom-inner{justify-content:center!important;text-align:center!important;}
}

/* Supplied brand artwork: proportioned placements without changing product layout. */

.home-brand-entry .living-entry .entrance-logo-slot{
  overflow:hidden!important;
}
.home-brand-entry .living-entry .brand-logo-living-formal{

  transform-origin:center;
}

@media (max-width:760px){

  .site-header .brand-lockup .logo .flame-mark{display:none!important;}
  .site-header .brand-lockup .logo::before{

    background-repeat:no-repeat;
    box-shadow:0 0 0 1px var(--line);
  }

  .site-footer .brand-lockup-footer .logo{ width:100%!important; align-items:center!important; gap:7px!important; font-size:.78rem!important; line-height:1.2!important; white-space:normal!important; text-align:left!important;
    grid-template-columns:40px minmax(0,1fr)!important;
  }
  .site-footer .brand-lockup-footer .logo::before{
    content:""!important;
    background-repeat:no-repeat!important;

  }
  .site-footer .brand-lockup-footer .logo-elijah::before{
    background-image:url("../assets/logos/elijah-peacock.jpg")!important;
    background-size:cover!important;background-position:center!important;
  }

}

/* Mobile logo sizing after reviewing the first placement. */
@media (max-width:760px){

  .home-brand-entry .brand-entrance-card:first-child .brand-logo-peacock{

    object-position:50% 35%!important;
  }

  .home-brand-entry .brand-entrance-card:first-child .brand-entrance-copy em{
    font-weight:600!important;
  }

}

@media (max-width:360px){

  .site-header .brand-lockup .logo .mobile-brand-zh{font-size:.48rem!important;}
  .site-header .brand-lockup .brand-divider{display:none!important;}
}

/* Complete square Living Room artwork in the mobile header and hall. */
@media (max-width:760px){

  .room-brand-heading{gap:5px!important;align-items:center!important;}
  .room-brand-mark{ box-shadow:0 0 0 1px var(--line);
    width:68px!important;height:68px!important;flex:0 0 68px!important;
    border-radius:9px!important;
  }
  .room-brand-mark::before{

    background-size:contain!important;background-position:center!important;
  }
  .room-brand-heading > div{min-width:0;}

}

/* Footer subtitles on every device; the mobile Living Room icon has no Chinese. */
.site-footer .brand-lockup-footer .footer-brand-zh{
  display:block;font-size:.58rem;line-height:1.3;letter-spacing:.02em;
  margin-top:3px;white-space:nowrap;
}
@media (max-width:760px){

  .site-footer .brand-lockup-footer .logo-living::before{
    background-image:url("../assets/logos/living-sign.jpg")!important;

  }
  .site-footer .brand-lockup-footer .footer-brand-zh{font-size:.53rem;}
}

/* Blessing Ministry introductory page. */
.ministry-heading{padding-bottom:24px;}
.ministry-heading h1{margin-bottom:12px;}
.ministry-hero-image{
  width:min(880px,calc(100% - 48px));max-width:880px;
  margin:0 auto;padding:0;overflow:hidden;border-radius:12px;
  background:var(--paper-card);box-shadow:var(--shadow);
}
.ministry-hero-image img{display:block;width:100%;max-height:640px;object-fit:contain;object-position:center;background:#fff;}
.ministry-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0;}
.ministry-actions .btn{width:100%;min-width:0;white-space:normal;text-align:center;}
.ministry-form-panel{padding:24px;margin-top:24px;background:#fff;border:1px solid #d6c5ac;border-radius:12px;}
.ministry-form-panel[hidden],.ministry-form-panel [hidden]{display:none!important;}
.ministry-form-panel .field{display:grid;gap:8px;margin:18px 0;}
.ministry-form-panel input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #d6c5ac;border-radius:8px;background:#fff;font:inherit;}
.ministry-consent{display:block;margin:22px 0;}
.ministry-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.ministry-form-panel input[type=checkbox]{width:auto;margin-right:6px;}
@media(max-width:760px){.ministry-form-panel{padding:18px 14px;}.ministry-actions{gap:8px;}.ministry-actions .btn{padding:12px 6px!important;font-size:.88rem;}}
.ministry-article{padding-top:8px;padding-bottom:16px;}
.ministry-article h2{font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.35;margin:8px 0 24px;}
.ministry-article p{max-width:64ch;margin:0 0 20px;color:var(--ink-soft);line-height:var(--lh-relaxed);}
@media (max-width:760px){
  .ministry-heading{padding-bottom:18px;}
  body.ministry-page .ministry-heading,
  body.ministry-page main > .breadcrumb{padding-left:36px!important;padding-right:36px!important;}
  body.ministry-page .ministry-hero-image{width:calc(100% - 72px)!important;max-width:none!important;padding-left:0!important;padding-right:0!important;border-radius:9px;}
  .ministry-hero-image img{object-position:center;}
  body.ministry-page .ministry-article{width:calc(100% - 72px)!important;max-width:none!important;padding:6px 0 48px!important;}
  .ministry-article h2{font-size:1.45rem;margin-bottom:18px;}
  .ministry-article p{font-size:.92rem;line-height:var(--lh-relaxed);}
}

/* Keep the two home brand marks optically balanced on phones. */
@media (max-width:760px){

  .site-footer .brand-lockup-footer .logo::before{
    border:0!important;box-shadow:none!important;background-color:#fff!important;
  }
}

.home-brand-entry .blessing-entry-logo img{
  max-width:none;
  object-position:center;transform:none!important;
}

.ministry-brand-frame{
  display:block;width:260px;height:260px;max-width:100%;overflow:hidden;
  margin:10px auto 22px;border-radius:8px;background:#fff;
  box-shadow:0 8px 20px rgba(48,40,31,.16);
}
.ministry-brand-logo{
  display:block;width:100%;height:100%;max-width:100%;
  margin:0;object-fit:contain;
}
@media (max-width:760px){
  .ministry-brand-frame{width:220px;height:220px;margin:8px auto 18px;}
}

/* The third home card uses the same square image treatment as the first two. */
@media (max-width:760px){
  body.home-page .home-brand-entry .blessing-entry .blessing-entry-logo{
    box-sizing:border-box!important;

    border:1px solid rgba(96,78,56,.24)!important;border-radius:12px!important;

    overflow:hidden!important;
  }

}

/* One display type style for the ministry name in its entrance and page title. */
body.home-page .home-brand-entry .blessing-entry .brand-entrance-copy strong,
body.ministry-page .ministry-heading h1{
  font-family:var(--font-display)!important;
  font-weight:600!important;
  font-style:normal!important;
  letter-spacing:.02em!important;
  color:var(--ink)!important;
}

/* Home phone layout: use the existing LINE card's content axis throughout. */
@media (max-width:760px){
  body.home-page .hero.container,
  body.home-page .home-brand-entry,
  body.home-page .story-band-peacock .container,
  body.home-page main .announcements-section,
  body.home-page main #recent-section{
    width:calc(100% - 72px)!important;max-width:none!important;
    margin-left:auto!important;margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.home-page .home-brand-entry .line-service-card{ flex-direction:column!important;
    width:100%!important;max-width:none!important;
  }
  body.home-page .story-band-peacock .story-band-image{
    width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;
  }
}

/* Elijah destinations share the same phone content edges as the home LINE card. */
@media (max-width:760px){
  body.elijah-about-page main > .container,
  body.elijah-creator-page main > .container,
  body.elijah-page main > .container:not(.global-back-row),
  body.elijah-page main > .global-back-row,
  body.elijah-page .elijah-showcase-carousel-wrap,
  body.elijah-page .elijah-category-bar{

    margin-right:auto!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
  }
  body.elijah-page #elijah-grid,
  body.elijah-page .elijah-showcase-carousel,
  body.elijah-page .elijah-entry-links{

    margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
  }
}

/* Product detail sections use one phone axis, including recommendations. */
@media (max-width:760px){
  body.product-living-room main > .container,
  body.product-elijah main > .container{
    width:calc(100% - 36px)!important;max-width:none!important;
    margin-left:auto!important;margin-right:auto!important;
    padding-left:18px!important;padding-right:18px!important;
    box-sizing:border-box!important;
  }
  body.product-living-room #related-grid,
  body.product-living-room #recent-grid-pd,
  body.product-elijah #related-grid,
  body.product-elijah #recent-grid-pd{
    width:100%!important;max-width:none!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
    box-sizing:border-box!important;
  }
}

/* Elijah story image and copy use equal phone widths; custom art uses shop-sized cards. */
@media (max-width:760px){
  body.elijah-about-page .peacock-story-grid{
    width:100%!important;grid-template-columns:minmax(0,1fr)!important;
  }
  body.elijah-about-page .peacock-story-image,
  body.elijah-about-page .peacock-story-copy{
    width:100%!important;max-width:none!important;
    margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
  }
  body.elijah-page.elijah-custom-view #elijah-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
  }
}

/* Existing artwork gives creator feature links the same visual rhythm as product cards. */

/* Creator feature artwork also anchors each desktop card. */

@media (max-width:760px){
  body.elijah-creator-page .creator-hero{padding-bottom:8px!important;}
  body.elijah-creator-page .creator-process-section,
  body.elijah-creator-page .creator-feature-section,
  body.elijah-creator-page .creator-media-section{
    padding-bottom:12px!important;
  }

  body.elijah-creator-page .creator-feature-card{

    grid-template-rows:auto auto auto;

  }
  body.elijah-creator-page .creator-feature-image-link{
    grid-column:1;grid-row:1 / span 3;
  }
  body.elijah-creator-page .creator-feature-image{

    border:1px solid var(--line);
  }

  body.elijah-creator-page .creator-feature-card h3{grid-row:1;}
  body.elijah-creator-page .creator-feature-card p{grid-row:2;}
  body.elijah-creator-page .creator-feature-card .btn{
    grid-row:3;justify-self:start;

  }
}

/* Larger artwork and explicit tap targets for Elijah's phone navigation. */
@media (max-width:760px){
  body.elijah-creator-page .creator-feature-card{
    grid-template-columns:112px minmax(0,1fr)!important;
  }

  body.elijah-page .elijah-category-bar a{
    display:flex!important;align-items:center;justify-content:center;
    min-height:44px;
    white-space:normal!important;

    border-radius:10px;
    box-shadow:0 2px 7px rgba(48,40,31,.07);
    font-size:1.25rem;font-weight:600;text-decoration:none;
  }
  body.elijah-page .elijah-category-bar a:last-child{font-size:.875rem;}

}

/* Desktop pointer: warm gold lift with a passing highlight and sparse gold flecks. */
@media (hover:hover) and (pointer:fine){
  .product-card:not(.product-card-placeholder),
  .room-category-card:not(.is-placeholder),
  .room-product-carousel .room-product-pair-card,
  .home-cat-card{
    position:relative;isolation:isolate;
  }
  .product-card:not(.product-card-placeholder)::before,
  .room-category-card:not(.is-placeholder)::before,
  .room-product-carousel .room-product-pair-card::before,
  .home-cat-card::before{
    content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
    background:linear-gradient(110deg,transparent 27%,rgba(255,231,155,.08) 40%,rgba(255,240,190,.48) 49%,rgba(255,231,155,.08) 57%,transparent 69%);
    transform:translateX(-145%);opacity:0;
  }
  .product-card:not(.product-card-placeholder)::after,
  .room-category-card:not(.is-placeholder)::after,
  .room-product-carousel .room-product-pair-card::after,
  .home-cat-card::after{
    content:"";position:absolute;inset:0;z-index:3;pointer-events:none;
    background:
      radial-gradient(circle at 13% 22%,rgba(255,249,205,.95) 0 1.5px,transparent 2.5px),
      radial-gradient(circle at 74% 15%,rgba(222,165,54,.85) 0 1px,transparent 2px),
      radial-gradient(circle at 89% 48%,rgba(255,236,157,.95) 0 1.5px,transparent 2.5px),
      radial-gradient(circle at 22% 78%,rgba(211,148,37,.82) 0 1px,transparent 2px),
      radial-gradient(circle at 66% 87%,rgba(255,241,181,.95) 0 1.5px,transparent 2.5px);
    opacity:0;
  }
  .product-card:not(.product-card-placeholder):hover,
  .room-category-card:not(.is-placeholder):hover,
  .room-product-carousel .room-product-pair-card:hover,
  .home-cat-card:hover{
    transform:translateY(-4px);
    border-color:rgba(188,137,43,.7)!important;
    box-shadow:0 17px 34px rgba(48,40,31,.17),0 0 0 1px rgba(230,190,103,.48),0 0 19px rgba(195,143,45,.28)!important;
  }
  .product-card:not(.product-card-placeholder):hover::before,
  .room-category-card:not(.is-placeholder):hover::before,
  .room-product-carousel .room-product-pair-card:hover::before,
  .home-cat-card:hover::before{
    opacity:1;animation:gold-card-sweep 1.1s ease-out both;
  }
  .product-card:not(.product-card-placeholder):hover::after,
  .room-category-card:not(.is-placeholder):hover::after,
  .room-product-carousel .room-product-pair-card:hover::after,
  .home-cat-card:hover::after{
    animation:gold-card-flecks 1.3s ease-in-out infinite alternate;
  }
  @keyframes gold-card-sweep{from{transform:translateX(-145%)}to{transform:translateX(145%)}}
  @keyframes gold-card-flecks{from{opacity:.25}to{opacity:.9}}
}
@media (prefers-reduced-motion:reduce){
  .product-card::before,.product-card::after,
  .room-category-card::before,.room-category-card::after,
  .room-product-carousel .room-product-pair-card::before,
  .room-product-carousel .room-product-pair-card::after,
  .home-cat-card::before,.home-cat-card::after{animation:none!important;}
}

/* Every listed product uses the complete square artwork area. */
.product-grid .product-card:not(.product-card-placeholder) .thumb{
  width:100%;
}
.product-grid .product-card:not(.product-card-placeholder) .thumb > img,
.product-grid .product-card:not(.product-card-placeholder) .thumb > svg{
  display:block;width:100%;height:100%;object-fit:cover;
}

/* The shared Elijah/Living Room carousel and detail viewer have no inner photo mat. */
.room-product-carousel .room-product-image-only .room-product-photo-frame,
body.elijah-page .elijah-showcase-carousel .room-product-photo-frame{
  padding:0!important;
}
.room-product-carousel .room-product-image-only .room-product-photo-frame > img,
body.elijah-page .elijah-showcase-carousel .room-product-photo-frame > img{
  display:block;width:100%;height:100%;aspect-ratio:1 / 1;object-fit:contain!important;background:#fff!important;
}
#pd-root .product-detail .gallery-main{padding:0!important;overflow:hidden!important;}
#pd-root .product-detail .gallery-main-image img,
#pd-root .product-detail .gallery-main-image svg{width:100%!important;height:100%!important;background:#fff!important;}

/* Mobile reading rhythm: keep the same card width, shorten empty vertical runs. */
@media (max-width:760px){
  body.elijah-page #elijah-grid,
  #room-product-grid,
  body.product-elijah #related-grid,body.product-elijah #recent-grid-pd,
  body.product-living-room #related-grid,body.product-living-room #recent-grid-pd{
    column-gap:10px!important;row-gap:8px!important;align-items:start!important;
  }
  body.elijah-page #elijah-grid .product-card,
  #room-product-grid .product-card,
  body.product-elijah .product-grid .product-card,
  body.product-living-room .product-grid .product-card{align-self:start!important;}
  body.elijah-page #elijah-grid .product-card-link,
  #room-product-grid .product-card-link,
  body.product-elijah .product-grid .product-card-link,
  body.product-living-room .product-grid .product-card-link{height:auto!important;}
  body.elijah-page #elijah-grid .product-card .body,
  #room-product-grid .product-card .body,
  body.product-elijah .product-grid .product-card .body,
  body.product-living-room .product-grid .product-card .body{
    flex:0 0 auto!important;gap:3px!important;padding:8px 9px 10px!important;
  }
  body.elijah-page #elijah-grid .product-card .price,
  #room-product-grid .product-card .price,
  body.product-elijah .product-grid .product-card .price,
  body.product-living-room .product-grid .product-card .price{
    margin-top:2px!important;padding-top:0!important;
  }
  body.elijah-page #elijah-grid .product-card h3,
  #room-product-grid .product-card h3,
  body.product-elijah .product-grid .product-card h3,
  body.product-living-room .product-grid .product-card h3{line-height:1.3!important;}
  body.elijah-page main > .section.container,
  body.elijah-about-page main > .section.container,
  body.elijah-creator-page main > .section.container,
  #living-room-room,
  body.product-elijah main > .section.container,
  body.product-living-room main > .section.container{
    padding-top:16px!important;padding-bottom:16px!important;
  }
  body.elijah-page .section-head,
  body.elijah-about-page .section-head,
  body.elijah-creator-page .section-head,
  #living-room-room .section-head,
  body.product-elijah .section-head,
  body.product-living-room .section-head{margin-bottom:9px!important;}
  body.elijah-page .lede,
  body.elijah-about-page main p,
  body.elijah-creator-page main p,
  #living-room-room p,
  body.product-elijah main p,
  body.product-living-room main p{line-height:1.55;}
  #living-room-room .room-inventory{margin-top:12px!important;}
  #living-room-room .room-inventory-head{margin-bottom:8px!important;}

}

/* Home page and shared phone section rhythm: remove stacked empty margins. */
@media (max-width:760px){
  body.home-page .hero.container{
    padding-top:18px!important;padding-bottom:12px!important;row-gap:10px!important;
  }
  body.home-page .hero h1{
    margin:6px 0 7px!important;
  }
  body.home-page .hero p.lede{
    margin:0!important;font-size:.9rem!important;line-height:1.48!important;
  }
  body.home-page .hero-visual{margin-top:0!important;margin-bottom:0!important;}
  body.home-page .home-brand-entry{
    padding-top:10px!important;padding-bottom:12px!important;
  }

  body.home-page .home-brand-entry .line-service-card strong{ text-align:left!important;
    line-height:1.3!important;
  }
  body.home-page .home-brand-entry .line-service-card .btn{
    display:inline-flex;align-items:center;justify-content:center;
  }

  body.home-page .story-band-peacock{
    padding-top:14px!important;padding-bottom:14px!important;
  }
  body.home-page .story-band-peacock .container{gap:10px!important;}
  body.home-page .story-band-copy h2{margin:4px 0 7px!important;line-height:1.3!important;}
  body.home-page .story-band-copy p{margin:0 0 8px!important;line-height:1.55!important;}

  body.home-page .announcement-card{padding:8px 12px!important;display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:8px!important;}
  body.home-page .announcement-card-top{
    flex:0 0 auto!important;margin:0!important;padding:0!important;border-bottom:0!important;
  }
  body.home-page .announcement-card-top .eyebrow{display:none!important;}
  body.home-page .announcement-card h3{flex:1 1 0!important;min-width:0!important;margin:0!important;line-height:1.3!important;}
  body.home-page .announcement-card > p{display:none!important;}
  body.home-page .announcement-card details p{line-height:1.5!important;}
  body.home-page .announcement-card details{flex:0 0 100%!important;display:block!important;margin-top:4px!important;}
  body.home-page .site-footer .footer-top{padding-top:10px!important;}
  main > .section.container:not(.home-brand-entry):not(.announcements-section){
    padding-top:10px;padding-bottom:8px;
  }
  main > .section.container > .section-head{margin-bottom:10px;}
}

/* Phone-only final gaps: the shared footer's 100px desktop margin caused long blank tails. */
@media (max-width:760px){
  .site-footer{margin-top:0!important;}
  .site-footer .footer-top,
  body.elijah-page .site-footer .footer-top{
    padding-top:18px!important;padding-bottom:18px!important;
    row-gap:14px!important;
  }
  body.home-page main .announcements-section{ padding-top:6px!important;padding-bottom:0!important;}
  body.home-page .announcement-card{padding-bottom:8px!important;}
  body.home-page .hero p.lede,
  body.home-page .announcement-card p,
  body.home-page .story-band-copy p,
  body.elijah-creator-page main p,
  body.elijah-creator-page .signature-quote{
    letter-spacing:0!important;
  }

  body.home-page .home-brand-entry .brand-entrance-copy{gap:2px!important;}
  body.home-page .home-brand-entry .brand-entrance-copy em{margin-top:0!important;}
  body.elijah-creator-page .creator-hero p{
    margin:0 0 7px!important;line-height:1.48!important;
  }

  body.elijah-creator-page .creator-media-grid{row-gap:8px!important;}
  body.elijah-creator-page .creator-media-card{padding-bottom:6px!important;}
  body.elijah-creator-page .creator-media-card p{margin-bottom:0!important;}
  body.elijah-page #elijah-results-section{ padding-top:10px!important;padding-bottom:4px!important;}
  body.elijah-page .elijah-category-bar{ border:0!important;
    margin-top:6px!important;margin-bottom:0!important;
    padding-bottom:8px!important;
  }
  #living-room-room{padding-bottom:6px!important;}
  #living-room-room .room-inventory{margin-bottom:0!important;}
}

/* Mobile button language and equal-height Living Room product rows. */
@media (max-width:760px){
  body.home-page .home-brand-story-link .link-more,
  body.home-page .story-band-copy .btn{
    display:inline-flex!important;align-items:center;justify-content:center;
    box-sizing:border-box;
    border-radius:999px!important;
    border:1px solid var(--line-strong)!important;

    font-weight:700!important;
    text-decoration:none!important;
  }

  #room-product-grid{align-items:stretch!important;}
  #room-product-grid .product-card{
    align-self:stretch!important;height:100%!important;min-width:0;
  }
  #room-product-grid .product-card-link{
    display:flex!important;flex-direction:column!important;
    height:100%!important;flex:1 1 auto!important;
  }
  #room-product-grid .product-card .body,
  #room-product-grid .product-card-placeholder .product-card-body{
    display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  }
  #room-product-grid .product-card .price{margin-top:auto!important;}
}

/* Story action stays with the editable peacock article. */
.peacock-story-creator-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:9px 18px;box-sizing:border-box;
  border:1px solid var(--line-strong);border-radius:999px;
  background:#fff;color:var(--ink);font-size:1.1rem;font-weight:700;
  text-decoration:none;
}
.peacock-story-creator-link:hover,
.peacock-story-creator-link:focus-visible{
  border-color:var(--gold);box-shadow:0 0 0 2px rgba(180,139,57,.18);
}
@media (max-width:760px){
  body.elijah-about-page .peacock-story-copy p:last-of-type{margin-bottom:12px!important;}
  .site-footer .footer-top > div:nth-child(4){ min-width:0!important; grid-column:1/-1!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px 10px!important;width:min(300px,100%)!important;
    margin:0 auto!important;
  }
  .site-footer .footer-top > div:nth-child(4) h4{ grid-column:1/-1!important;grid-row:1!important; display:block;text-align:center; min-height:0;margin:0!important;padding:0 5px 6px!important; box-sizing:border-box;border:0;border-bottom:1px solid rgba(196,154,82,.45); border-radius:0;color:#8a6a29;font-size:1.05rem;font-weight:700;letter-spacing:.08em; }

  .site-footer .footer-top .contact-line-mobile{ display:block!important;grid-column:1!important;grid-row:2!important; } .site-footer .footer-top .contact-chat{ display:block!important;grid-column:2!important;grid-row:2!important; }

  .site-footer .footer-top .contact-line-mobile, .site-footer .footer-top .contact-chat,
  .site-footer .footer-top .contact-social-instagram,
  .site-footer .footer-top .contact-social-facebook{
    min-width:0;margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;
  }
  .site-footer .footer-top .contact-line-mobile a, .site-footer .footer-top .contact-chat a,
  .site-footer .footer-top .contact-social-instagram a,
  .site-footer .footer-top .contact-social-facebook span{
    min-height:42px;display:flex;align-items:center;justify-content:center;
    padding:8px 5px;box-sizing:border-box;text-align:center;
    border-radius:10px;
    text-decoration:none;font-size:1.1rem;font-weight:700;
  }

  .site-footer .footer-top .contact-line-mobile a:hover, .site-footer .footer-top .contact-chat a:hover,
  .site-footer .footer-top .contact-social-instagram a:hover,
  .site-footer .footer-top .contact-line-mobile a:focus-visible, .site-footer .footer-top .contact-chat a:focus-visible,
  .site-footer .footer-top .contact-social-instagram a:focus-visible{
    outline:2px solid var(--footer-heading);
  }

}

/* Compact, brand-specific social choices; the contact row remains two columns. */
.site-footer .contact-social-living summary,
.site-footer .contact-social-elijah summary{cursor:pointer;list-style:none;}
.site-footer .contact-social-living summary::-webkit-details-marker,
.site-footer .contact-social-elijah summary::-webkit-details-marker{display:none;}
.site-footer .contact-social-links{display:flex;flex-direction:column;gap:5px;margin-top:6px;}
.site-footer .contact-social-links a{color:#8a6a29!important;font-weight:600;text-decoration:none;transition:background-color .2s ease,color .2s ease;}
.site-footer .contact-social-links a:is(:hover,:focus-visible,:active){color:#6f531f!important;background-color:rgba(196,154,82,.18)!important;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b79a58;}
.site-footer .footer-shop-link span,
.site-footer .footer-shop-link small{display:block;}
.site-footer .footer-shop-link small{font-size:.76em;line-height:1.35;}
@media (max-width:760px){
  body.home-page .site-header .mobile-home-link{display:none!important;}
  .site-header .container{
    width:100%!important;max-width:100%!important;
    padding-left:10px!important;padding-right:10px!important;
    box-sizing:border-box!important;gap:5px!important;
  }
  .site-header .brand-lockup{
    flex:1 1 auto!important;min-width:0!important;max-width:calc(100% - 40px)!important;
    gap:3px!important;
  }

  .site-header .header-actions{
    flex:0 0 auto!important;min-width:36px!important;margin-left:auto!important;
  }
  .site-header .nav-toggle{flex:0 0 36px!important;margin:0!important;}
  .site-footer .footer-top > div:nth-child(4) ul{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 12px!important; width:auto!important; margin:0!important;display:contents!important;}
  .site-footer .footer-top .contact-social-living{
    grid-column:1!important;grid-row:3!important;
  }
  .site-footer .footer-top .contact-social-elijah{
    grid-column:2!important;grid-row:3!important;
  }
  .site-footer .contact-social-living summary,
  .site-footer .contact-social-elijah summary{
    min-height:42px;display:flex;align-items:center;justify-content:center;
    padding:8px 5px;box-sizing:border-box;text-align:center;
    border-radius:10px;

    font-size:1.1rem;font-weight:700;
  } .site-footer .contact-social-elijah summary{ padding:8px 2px;font-size:.8rem; }
  .site-footer .contact-social-living summary::after,
  .site-footer .contact-social-elijah summary::after{content:"⌄";margin-left:4px;}

  .site-footer .contact-social-links a{
    display:block;padding:7px 5px;text-align:center;
    border:1px solid rgba(245,241,232,.34);border-radius:8px;
    background:rgba(255,255,255,.18);font-size:1.1rem;
  }
  .site-footer .footer-shop-link{text-align:center;}

  body.elijah-page .elijah-category-bar a:hover,
  body.elijah-page .elijah-category-bar a:focus-visible,
  body.elijah-page .elijah-category-bar a:active{

    outline:none;
  }
}

/* Phone headline sizing preserves the author's explicit two-line breaks. */
@media (max-width:760px){
  body.home-page .hero h1{
    font-size:clamp(1.45rem,6.3vw,1.7rem)!important;
    line-height:1.25!important;white-space:nowrap;
  }
  body.elijah-about-page .page-hero h1{
    font-size:clamp(1.05rem,5vw,1.35rem)!important;
    line-height:1.3!important;max-width:none!important;
    white-space:nowrap;
  }
}

/* Desktop footer follows the same concise contact hierarchy as the phone footer. */
@media (min-width:761px){
  html:root .site-footer{margin-top:2px!important;}
  html:root .site-footer .footer-top{

    row-gap:18px!important;
  }
  html:root .site-footer .footer-top h4{
    margin:0 0 12px!important;
  }

  html:root .site-footer .footer-top > div:nth-child(4) ul{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px!important;align-items:start;
  }
  html:root .site-footer .contact-line-mobile{ display:none!important; }
  html:root .site-footer .contact-line-existing a, html:root .site-footer .contact-chat a,
  html:root .site-footer .contact-social-living summary,
  html:root .site-footer .contact-social-elijah summary{
    min-height:42px;display:flex;align-items:center;justify-content:center;
    padding:8px 10px;box-sizing:border-box;text-align:center;
    border-radius:10px;

    font-size:1.1rem;font-weight:700;
  }
  html:root .site-footer .contact-social-living summary::after,
  html:root .site-footer .contact-social-elijah summary::after{
    content:"⌄";margin-left:5px;
  }
  html:root .site-footer .contact-line-existing a:hover, html:root .site-footer .contact-chat a:hover,
  html:root .site-footer .contact-social-living summary:hover,
  html:root .site-footer .contact-social-elijah summary:hover,
  html:root .site-footer .contact-line-existing a:focus-visible, html:root .site-footer .contact-chat a:focus-visible,
  html:root .site-footer .contact-social-living summary:focus-visible,
  html:root .site-footer .contact-social-elijah summary:focus-visible{
    outline:2px solid rgba(180,139,57,.55);
  }
  html:root .site-footer .contact-social-links a{
    display:block;padding:7px 5px;text-align:center;
    border:1px solid rgba(245,241,232,.35);border-radius:8px;
    background:rgba(255,255,255,.18);font-size:1.1rem;
  }
}

/* Actual brand marks across every desktop footer; mobile retains its own sizing. */
@media (min-width:761px){
  html:root .site-footer .brand-lockup-footer{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;gap:10px!important;
  }
  html:root .site-footer .brand-lockup-footer .brand-divider,
  html:root .site-footer .brand-lockup-footer .flame-mark{
    display:none!important;
  }

  html:root .site-footer .brand-lockup-footer .logo::before{

    background-color:#fff!important;
    background-repeat:no-repeat!important;
  }
  html:root .site-footer .brand-lockup-footer .logo-elijah::before{
    background-image:url("../assets/logos/elijah-peacock.jpg")!important;
    background-position:center!important;background-size:cover!important;
  }

  html:root body.home-page .home-brand-entry .blessing-entry .blessing-entry-logo{

    border:1px solid var(--line-strong)!important;

    display:grid!important;place-items:center!important;
    padding:0!important;
  }
  html:root body.home-page .home-brand-entry .blessing-entry .blessing-entry-logo img{
    display:block!important;

  }
}

/* Desktop brand-entry artwork uses the same square silhouette for all three brands. */
@media (min-width:761px){
  html:root body.home-page .home-brand-entry .brand-entrance-card .entrance-logo-slot{
    width:138px!important;height:138px!important;min-width:138px!important;
    border-radius:14px!important;overflow:hidden!important;box-sizing:border-box!important;
    background:#fff!important;box-shadow:0 8px 20px rgba(48,40,31,.16)!important;
  }
  html:root body.home-page .home-brand-entry .brand-entrance-card .entrance-logo-slot img{
    width:100%!important;height:100%!important;object-fit:cover!important;
    border-radius:13px!important;
  }
  html:root .site-footer .brand-lockup-footer .logo{ display:grid!important; min-width:0; font-size:.8rem!important; line-height:1.25!important; white-space:normal!important;
    grid-template-columns:50px minmax(0,1fr)!important;
    align-items:start!important;gap:8px!important;min-height:50px!important;
  }
  html:root .site-footer .brand-lockup-footer .logo::before{ content:""!important; display:block!important; box-sizing:border-box; border:1px solid rgba(100,85,66,.18)!important; border-radius:8px!important; box-shadow:none!important;
    width:50px!important;height:50px!important;align-self:start!important;
  }
  html:root .site-footer .brand-lockup-footer .logo-living::before{ background-image:url("../assets/logos/living-sign.jpg")!important;
    background-size:92% auto!important;background-position:center!important;
  }
}

/* Keep the complete Living Room wordmark visible inside its square home tile. */
html body.home-page .home-brand-entry .living-entry .entrance-logo-slot .brand-logo-living-formal{

  box-sizing:border-box!important;

}

/* Desktop story, Elijah galleries and the shared contact column. */
@media (min-width:761px){
  html:root body.elijah-about-page .elijah-about-topline{display:flex!important;align-items:center!important;gap:20px!important;}
  html:root body.elijah-about-page .elijah-about-topline .breadcrumb,
  html:root body.elijah-about-page .elijah-about-topline .page-actions{margin:0!important;padding:0!important;}
  html:root body.elijah-about-page .page-hero{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;column-gap:20px!important;padding-bottom:2px!important;}
  html:root body.elijah-about-page .page-hero .eyebrow{margin:0!important;align-self:start!important;}
  html:root body.elijah-about-page .page-hero h1{font-size:clamp(1.6rem,3vw,2.3rem)!important;line-height:1.15!important;margin-bottom:.05em!important;}
  html:root body.elijah-about-page .peacock-story.section{padding-top:2px!important;}
  html:root body.elijah-about-page .peacock-story-copy{border-radius:var(--radius-m)!important;}
  html:root body.elijah-creator-page .creator-story-copy{border-radius:var(--radius-m)!important;}
  html:root body.elijah-creator-page .breadcrumb{padding-bottom:6px!important;margin-bottom:0!important;}
  html:root body.elijah-creator-page .creator-hero{

    padding-top:17px!important;padding-bottom:17px!important;
  }
  html:root body.elijah-creator-page .creator-story-copy h1{
    font-size:clamp(1.6rem,3vw,2.3rem)!important;line-height:1.15!important;
  }
  html:root body.elijah-creator-page .creator-story-copy .lede,
  html:root body.elijah-creator-page .creator-story-copy .creator-biography,
  html:root body.elijah-creator-page .creator-biography{
    max-width:none!important;width:100%!important;
  }
  html:root body.elijah-about-page .peacock-story-copy h2{font-size:1.25rem!important;margin-bottom:.3em!important;}
  html:root body.elijah-about-page .peacock-story-copy p,
  html:root body.elijah-about-page .peacock-story-copy > div{max-width:none!important;width:100%!important;}
  html:root body.elijah-about-page .peacock-story-grid{
    grid-template-columns:300px minmax(0,1fr)!important;
    gap:30px!important;align-items:start!important;
  }
  html:root body.elijah-about-page .peacock-story-image{
    width:300px!important;max-width:300px!important;margin:0!important;
  }
  html:root body.elijah-page:not(.elijah-custom-view) .elijah-feature-pair{
    display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;
    align-items:center!important;gap:32px!important;
    padding-top:8px!important;padding-bottom:6px!important;
  }
  html:root body.elijah-page:not(.elijah-custom-view) .elijah-feature-pair .elijah-page-hero{
    width:100%!important;max-width:none!important;margin:0!important;
    padding:0!important;box-sizing:border-box!important;
  }
  html:root body.elijah-page:not(.elijah-custom-view) .elijah-feature-pair .elijah-showcase-carousel-wrap{
    width:100%!important;max-width:none!important;margin:0!important;
  }
  html:root body.elijah-page:not(.elijah-custom-view) .elijah-feature-pair .elijah-showcase-carousel{
    width:100%!important;max-width:none!important;margin:0!important;
  }

  html:root .site-footer .contact-social-living summary,
  html:root .site-footer .contact-social-elijah summary{
    white-space:nowrap!important;font-size:1rem!important;
  }
}

/* Phone header: matching logo tiles and a stable three-line Living Room label. */
@media (max-width:760px){
  .site-header .brand-lockup .logo-elijah::before,
  .site-header .brand-lockup .logo-living::before{
    content:""!important;display:block!important;flex:0 0 40px!important;
    width:40px!important;height:40px!important;box-sizing:border-box!important;
    border-radius:8px!important;background-color:#fff!important;
    background-repeat:no-repeat!important;background-position:center!important;
  }
  .site-header .brand-lockup .logo-elijah::before{
    background-image:url("../assets/logos/elijah-peacock.jpg")!important;
    background-size:cover!important;
  }
  .site-header .brand-lockup .logo-living::before{
    background-image:url("../assets/logos/living-sign.jpg")!important;
    background-size:92% auto!important;
  }
  .site-header .brand-lockup .logo{ flex:0 1 auto!important; min-width:0!important; white-space:normal!important;
    align-items:center!important;gap:5px!important;font-size:.68rem!important;
  }
  .site-header .brand-lockup .logo span{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    min-width:0!important;white-space:nowrap!important;overflow-wrap:normal!important;
    line-height:1.16!important;
  }
  .site-header .brand-lockup .logo span small{
    display:block!important;white-space:nowrap!important;line-height:1.16!important;
  }
  .site-header .brand-lockup .logo .mobile-brand-zh{margin-top:3px!important;}
}

/* RESTORED BASE FINAL — footer alignment, supplied room mark, and lead carousel sizing. */
@media (min-width:761px){
  html:root .site-footer .footer-top{ padding-top:36px!important; padding-bottom:30px!important;
    width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;
    grid-template-columns:minmax(0,1.45fr) minmax(0,.72fr) minmax(0,.78fr) minmax(0,1.45fr)!important;
    column-gap:26px!important;align-items:start!important;
  }
  html:root .site-footer .footer-top > div:nth-child(4){grid-column:auto!important;min-width:0!important;}
  html:root .site-footer .footer-bottom-inner{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;}
  html:root body.elijah-page .elijah-feature-pair{
    display:grid!important;grid-template-columns:minmax(260px,.72fr) minmax(420px,1.28fr)!important;
    gap:34px!important;align-items:center!important;
  }
  html:root body.elijah-page .elijah-showcase-carousel-wrap,
  html:root body.elijah-page .elijah-showcase-carousel{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;}
  html:root body.elijah-page .elijah-showcase-carousel .room-product-image-link{width:min(440px,100%)!important;}
}
.room-brand-mark{background:#fff!important;overflow:hidden!important;}
.room-brand-mark svg{display:none!important;}
.room-brand-mark::before{
  content:""!important;display:block!important;width:100%!important;height:100%!important;
  box-sizing:border-box!important;background:url("../assets/logos/living-formal.png") center / 92% 92% no-repeat!important;
}
@media (max-width:760px){
  .site-footer .brand-lockup-footer .logo::before{ color:var(--footer-heading); overflow:hidden;width:48px!important;height:48px!important;flex:0 0 48px!important;box-sizing:border-box!important;border-radius:8px!important;}
  .site-footer .brand-lockup-footer .logo-living::before{background-size:92% auto!important;background-position:center!important;}
  body.elijah-page .elijah-feature-pair{padding:0!important;}
  body.elijah-page .elijah-showcase-carousel-wrap{padding:0!important;margin:0 auto 12px!important;}
  body.elijah-page .elijah-showcase-carousel,
  body.elijah-page .elijah-showcase-carousel .room-product-image-link{width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;}
}

/* One uncropped square Living Room mark on the home card and every shop heading. */
html body.home-page .home-brand-entry .living-entry .entrance-logo-slot{
  padding:2px!important;box-sizing:border-box!important;
}
html body.home-page .home-brand-entry .living-entry .entrance-logo-slot .brand-logo-living-formal{ background:#fff!important;
  display:block!important;max-width:100%!important;max-height:100%!important;
  padding:0!important;object-position:center!important;transform:none!important;
}
@media (max-width:760px){
  body.ministry-page .ministry-heading h1{font-size:1.48rem!important;line-height:1.28!important;}
}

/* Compact Living Room hall introduction and scale its real mark to the title block. */
@media (min-width:761px){
  html:root body.shop-page .room-brand-heading{align-items:center!important;gap:12px!important;}
  html:root body.shop-page .room-brand-mark{
    width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:9px!important;
    box-shadow:0 0 0 1px var(--line)!important;
  }
  html:root body.shop-page .room-showcase{
    display:block!important;min-height:0!important;margin-top:0!important;margin-bottom:6px!important;
  }
  html:root body.shop-page .room-welcome-copy{
    padding:12px 10px!important;min-height:0!important;
  }
  html:root body.shop-page .room-welcome-copy h3{margin:0 0 4px!important;}
  html:root body.shop-page .room-welcome-copy p{margin:0!important;line-height:1.55!important;font-size:.86rem;}
  html:root body.shop-page .room-category-grid{margin-top:6px!important;}
}
@media (max-width:760px){
  body.shop-page .room-showcase{display:block!important;min-height:0!important;margin-top:0!important;margin-bottom:4px!important;}
  body.shop-page .room-welcome-copy{padding:9px 12px!important;min-height:0!important;}
  body.shop-page .room-welcome-copy h3{margin:0 0 3px!important;}
  body.shop-page .room-welcome-copy p{margin:0!important;line-height:1.48!important;}
  body.shop-page .room-category-grid{margin-top:5px!important;}
}

/* INEZ biography: compact reading column, separate from portrait. */
body.elijah-creator-page .creator-biography {

  font-size:15px;line-height:var(--lh-text);
  letter-spacing:0;text-align:left;color:var(--ink-soft);
}
body.elijah-creator-page .creator-biography p {margin:0 0 12px;font-size:inherit;line-height:inherit;letter-spacing:0;max-width:none!important;width:100%;}
body.elijah-creator-page .creator-biography blockquote {margin:8px 0 8px;padding:12px 16px;border-left:2px solid var(--gold);background:#fff;}
html:root body main body.elijah-creator-page .creator-biography blockquote p,html:root body.elijah-creator-page main .creator-biography blockquote :is(p,li),html:root body.elijah-creator-page main .creator-biography blockquote{line-height:1.3!important;}
@media(max-width:760px){body.elijah-creator-page .creator-biography{font-size:14px;}}

/* Shared left edge for INEZ portrait and biography. */
html body.elijah-creator-page .creator-hero,
html body.elijah-creator-page .creator-biography{

  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;
}

/* INEZ portrait uses an even white border at its natural photo ratio. */
html body.elijah-creator-page .creator-hero .creator-portrait{ margin-right:0!important; align-self:start!important;
 display:block!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;padding:0!important;
 border:8px solid #fff!important;background:#fff!important;box-sizing:border-box!important;overflow:visible!important;
}
html body.elijah-creator-page .creator-hero .creator-portrait img{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;box-sizing:border-box!important;object-fit:fill!important;}
html body.elijah-creator-page .creator-feature-section{width:calc(100% - 40px)!important;max-width:880px!important;margin:0 auto!important;padding:0!important;}
html body.elijah-creator-page .creator-feature-section .creator-feature-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;}
html body.elijah-creator-page .creator-feature-section .creator-feature-card{overflow-wrap:anywhere;}

@media(max-width:760px){
html body.elijah-creator-page .creator-feature-section .creator-feature-grid{grid-auto-rows:1fr;}
html body.elijah-creator-page .creator-feature-section .creator-feature-card{overflow-wrap:normal;}

}

/* INEZ selections: full-width square artwork above the text and action. */
html body.elijah-creator-page .creator-feature-section .creator-feature-card{ min-width:0!important; width:auto!important;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 padding:0 0 14px!important;gap:10px!important;overflow:hidden!important;
}
html body.elijah-creator-page .creator-feature-section .creator-feature-card .creator-feature-image-link{
 display:block!important;flex:none!important;width:100%!important;max-width:none!important;
 height:auto!important;aspect-ratio:1 / 1!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;overflow:hidden!important;
}
html body.elijah-creator-page .creator-feature-section .creator-feature-card .creator-feature-image{
 display:block!important;width:100%!important;height:100%!important;
 border:0!important;border-radius:0!important;
}
html body.elijah-creator-page .creator-feature-section .creator-feature-card .feature-icon{display:none!important;}
html body.elijah-creator-page .creator-feature-section .creator-feature-card h3,
html body.elijah-creator-page .creator-feature-section .creator-feature-card p{
 margin:0 12px!important;padding:0!important;grid-column:auto!important;grid-row:auto!important;
}
html body.elijah-creator-page .creator-feature-section .creator-feature-card .btn{ white-space:normal!important; box-sizing:border-box!important;
 align-self:flex-start!important;margin:auto 12px 0!important;max-width:calc(100% - 24px)!important;
 grid-column:auto!important;grid-row:auto!important;
}

/* Preserve complete portrait and landscape artwork in product displays. */
html body.elijah-page .elijah-showcase-carousel .room-product-photo-frame > img,
html body .product-card .thumb img,
html body #pd-root .product-detail .gallery-main-image img,
html body #pd-root .product-detail .gallery-thumbs img,
html body.elijah-creator-page .creator-feature-section .creator-feature-card .creator-feature-image {
  object-fit:contain!important;
  background:#fff;
}

html body #pd-root .product-detail .gallery-main{aspect-ratio:1/1!important;height:auto!important;}
html body #pd-root .product-detail .gallery-display-frame,
html body #pd-root .product-detail .gallery-display-screen,
html body #pd-root .product-detail .gallery-main-image{width:100%!important;height:100%!important;}

/* 全館商品卡片使用同一個正方形畫布，圖片完整顯示，比例差異由白底吸收。 */

html body .product-card .thumb img,
html body .product-card-image img,
html body .shop-product-card .product-card-image img,
html body .related-grid .product-card-image img{object-position:center!important;background:#fff!important;}

/* Keep the video action with the product introduction and easy to read. */
html body #pd-root .pd-info .product-video-link { margin:12px 0 22px!important; }

html body #pd-root .pd-info .product-video-link .btn::before { content:'▶';font-size:14px; }
html body #pd-root .pd-info .product-video-link .btn { display:flex!important; align-items:center; justify-content:center; gap:10px; width:100%; box-sizing:border-box; min-height:48px; padding:12px 20px!important; font-size:16px!important; font-weight:700; line-height:1.5;
 border-radius:999px!important;
 border:1px solid var(--gold,#b79a58)!important;
 background:transparent!important;
 color:var(--gold,#b79a58)!important;
 box-shadow:none!important;
}

/* Video follows shipping details; preserve the author's scripture line breaks. */
html body #pd-accordion .product-video-link { grid-column:1 / -1!important;grid-row:auto!important;margin:16px 0 0!important;width:100%; }
html body #pd-accordion .product-video-link .btn {
 display:flex!important;align-items:center;justify-content:center;gap:10px;
 box-sizing:border-box;width:100%;min-height:48px;padding:12px 20px!important;
 border-radius:999px!important;

 font-size:16px!important;font-weight:700;line-height:1.5;box-shadow:none!important;
}
html body #pd-accordion .product-video-link .btn::before {content:'▶';font-size:14px;}
html body .product-verse-panel p,html body .pd-info .verse-quote {white-space:pre-wrap;}
html body .pd-info .verse-quote {border-left:0;padding-left:0;}

/* 全館購物動作按鈕：細金框、白底。 */

/* 結帳頁表單與訂單摘要使用白底；選中的配送方式以白底突出。 */
html body.checkout-page #checkout-form input,
html body.checkout-page #checkout-form textarea,
html body.checkout-page #checkout-form select,
html body.checkout-page #checkout-form .blessing-block,
html body.checkout-page .summary-card { background:#fff!important; }
html body.checkout-page #minimum-order-note{margin:0 0 6px!important;}
html body.checkout-page #transfer-note{margin:0 0 18px!important;line-height:var(--lh-relaxed)!important;}
html body.checkout-page .checkout-note-label{display:inline-block;margin-right:6px;padding:1px 7px;border:1px solid var(--gold);border-radius:5px;background:#fff;color:var(--ink);font-size:.78em;line-height:1.45;white-space:nowrap;}

html body.checkout-page .summary-card{ border:1px solid var(--gold)!important; border-radius:var(--radius-m)!important; box-shadow:0 8px 20px rgba(48,40,31,.08)!important;padding:18px!important;}
html body.checkout-page .summary-card h3{margin:0 0 8px!important;}
html body.checkout-page .summary-card .summary-row{padding:3px 0!important;}
html body.checkout-page .summary-card .summary-row.total{margin-top:3px!important;padding-top:8px!important;}

html body.checkout-page .summary-card .transfer-row{ margin:10px -10px 0; padding:12px 10px; border-radius:8px; background:#fff; color:var(--ink); font-size:1.04rem;margin-top:6px!important;padding-top:8px!important;padding-bottom:8px!important;}
html body.checkout-page .summary-card .transfer-row strong:last-child{font-size:1.18rem;color:#76531f;}
html body.checkout-page .summary-card .summary-note{margin-top:6px!important;line-height:1.5!important;}
html body.checkout-page .summary-card .summary-note:last-child{margin-bottom:0!important;}
html body.checkout-page #checkout-form .discount-options{margin:8px 0 0 22px;padding:8px 10px;border-left:1px solid rgba(196,154,82,.45);font-size:.84rem;line-height:var(--lh-relaxed);}
html body.checkout-page #checkout-form .discount-options label{display:block;}

html body.checkout-page #checkout-form .parcel-size-row .opt-chip,
html body.checkout-page #checkout-form .parcel-size-row .opt-chip[aria-pressed="true"] { background:#fff!important;color:var(--ink)!important;border:1px solid var(--gold)!important;box-shadow:0 4px 16px rgba(196,154,82,.32)!important; }
html body.checkout-page #checkout-form .postal-express-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 6px;margin-top:10px;font-size:.86rem;color:var(--ink-soft);}
html body.checkout-page #checkout-form .postal-express-option input{width:auto;margin:0;accent-color:var(--gold);}
html body.checkout-page #checkout-form .postal-express-option small{grid-column:2;font-size:.78rem;color:var(--ink-soft);line-height:1.45;}
html body.checkout-page #checkout-form .international-carrier-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;}
html body.checkout-page #checkout-form .international-carrier-row label{display:block;font-size:.86rem;color:var(--ink-soft);}
html body.checkout-page #checkout-form .international-carrier-row input,
html body.checkout-page #checkout-form .international-carrier-row select{display:block;width:100%;box-sizing:border-box;margin-top:5px;}
html body.checkout-page #checkout-form .blessing-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;}
html body.checkout-page #checkout-form .blessing-choice-card{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:11px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;cursor:pointer;transition:.2s ease;}
html body.checkout-page #checkout-form .blessing-choice-card input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
html body.checkout-page #checkout-form .blessing-choice-card:has(input:checked){border-color:var(--gold);box-shadow:0 0 14px rgba(229,190,103,.22);}
html body.checkout-page #checkout-form .blessing-details{display:grid;gap:7px;padding:12px;border:1px solid rgba(196,154,82,.45);border-radius:10px;background:#fff;transition:.2s ease;}
html body.checkout-page #checkout-form .blessing-details.is-disabled{opacity:.45;filter:grayscale(.7);}
@media(min-width:761px){
  html body.checkout-page .checkout-layout{max-width:1040px;margin-left:auto;margin-right:auto;grid-template-columns:minmax(0,1fr) 330px;gap:32px;}
}

html body.checkout-page #checkout-form .radio-card{ transition:border-color .2s ease,box-shadow .2s ease,background .2s ease!important;position:relative;transform:scale(.985);opacity:.78;}
html body.checkout-page #checkout-form .radio-card input[type="radio"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}

html body.checkout-page #checkout-form .radio-card:has(input:checked){ transform:scale(1.015); opacity:1; z-index:1;border-width:1px!important;border-color:var(--gold)!important;background:#fff!important;box-shadow:0 0 0 1px rgba(196,154,82,.18),0 0 18px rgba(229,190,103,.24)!important;}
html body.checkout-page #checkout-form .radio-card > span{line-height:1.28!important;}

html body.checkout-page #checkout-form .radio-card > span > br{display:none!important;}
html body.checkout-page #checkout-form .radio-card > span > strong{ margin-bottom:0!important; line-height:1.28!important;font-size:1.02em!important;font-weight:700!important;}
html body.checkout-page #checkout-form .radio-card > span > .desc{ line-height:1.35!important;display:block!important;}
@media(max-width:760px){
  html body.checkout-page #checkout-form .form-row-2{grid-template-columns:1fr!important;gap:0!important;}
  html body.checkout-page #checkout-form .radio-card{padding:14px!important;}
  html body.checkout-page #checkout-form .international-carrier-row{grid-template-columns:1fr!important;gap:8px!important;}
}
html body.checkout-page #checkout-form > button[type="submit"] { background:#fff!important; color:var(--ink)!important; border:1px solid var(--gold)!important; box-shadow:none!important; transition:box-shadow .2s ease,transform .2s ease!important; }
html body.checkout-page #checkout-form > button[type="submit"]:hover,
html body.checkout-page #checkout-form > button[type="submit"]:focus-visible { box-shadow:0 0 0 1px rgba(196,154,82,.16),0 8px 22px rgba(196,154,82,.34),0 0 26px rgba(229,190,103,.24)!important; }

/* 商品館輪播：桌機外框與共用圖片寬度。 */
@media (min-width:761px){
  html body #room-product-carousel.room-product-carousel.room-product-image-carousel{width:520px!important;max-width:520px!important;}
}
html body #room-product-carousel.room-product-carousel.room-product-image-carousel .room-product-image-link{width:min(400px,100%)!important;max-width:400px!important;}

/* 以利亞館入口按鈕：保留金色細框與霧面效果，底色固定白色。 */

/* 商品詳情頁主要操作按鈕：白底、金色細框。 */

@media(min-width:761px){
  html body .site-header .brand-lockup .logo>svg{display:none!important;}
  html body .site-header .brand-lockup .logo::before{content:"";display:block;width:30px;height:30px;flex:0 0 30px;border-radius:6px;background:#fff center / contain no-repeat;box-shadow:0 0 0 1px var(--line);}
  html body .site-header .brand-lockup .logo-elijah::before{background-image:url("../assets/logos/elijah-peacock.jpg");background-size:cover;}
  html body .site-header .brand-lockup .logo-living::before{background-image:url("../assets/logos/living-sign.jpg");background-size:92% auto;}
  html body .site-header .nav-dropdown-panel{background:#fff!important;border:1px solid var(--gold)!important;box-shadow:0 10px 24px rgba(48,40,31,.12)!important;}
  html body .site-header .nav-dropdown-panel a:hover,
  html body .site-header .nav-dropdown-panel a:focus-visible{background:rgba(196,154,82,.16)!important;color:var(--ink)!important;}
}

/* 前台商品圖片共用正方形內框；外層輪播尺寸保持原設定。 */

html body .product-card .thumb img,
html body .product-card-image img,
html body .room-product-photo-frame .gallery-image-fixed-frame img,
html body #pd-root .gallery-image-fixed-frame img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:50% 50%!important;}

/* Cart add-on prompt: compact, centered, and calm without changing the summary card. */
html body.cart-page .summary-card .cart-add-on-note{
  margin:3px 0!important;
  text-align:center;
  background:transparent!important;
  border:0!important;
  animation:cart-add-on-fade 3s ease-in-out infinite;
}
html body.cart-page .summary-card .cart-add-on-note a{
  color:var(--gold);
  text-decoration-line:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
html body.cart-page .summary-card .cart-add-on-note a:hover{
  color:var(--gold-deep,var(--ink));
}
html body.cart-page .summary-card .cart-add-on-note:hover{
  animation-play-state:paused;
}
@keyframes cart-add-on-fade{0%,100%{opacity:.6}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){
  html body.cart-page .summary-card .cart-add-on-note{animation:none;opacity:1;}
}


/* 首頁「網站試營運中」公告（原本寫在 index.html 裡） */
.trial-notice{margin:0;padding:14px 18px;border:1px solid #d6c5ac;border-radius:12px;background:#fff;color:#746857;line-height:var(--lh-text);font-size:.9rem;}


/* 2026-10-17 不顯示價格的商品：價格位置改顯示「價格請洽詢」 */
.price-ask{font-size:.84em!important;font-weight:600!important;letter-spacing:.04em;color:#9a6f1f!important;white-space:nowrap;}


/* 2026-10-17 首頁行動列：三顆按鈕與下方三張品牌卡片同寬對齊 */
html:root body.home-page .home-entry-actions-3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;margin-bottom:18px!important;}
html:root body.home-page .home-entry-actions-3 .btn{width:100%!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;}
@media(max-width:760px){
  html:root body.home-page .home-entry-actions-3{grid-template-columns:1fr!important;gap:10px!important;}
}

/* 2026-10-17 同行夥伴奉獻頁 */
body.offering-page .offering-body{padding-top:10px!important;}
body.offering-page .offering-hero-inline{margin:0 0 16px;}
body.offering-page .offering-hero-inline h1{margin-bottom:0!important;}

/* 上半：左文字、右兩張照片 */
body.offering-page .offering-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) 188px;
  gap:26px;align-items:start;}
body.offering-page .offering-copy p{margin:0 0 12px;}
body.offering-page .offering-copy p:last-child{margin-bottom:0;}
body.offering-page .offering-photos{display:grid;gap:12px;justify-items:end;}
body.offering-page .offering-photo{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:12px;
  border:1px solid rgba(183,154,88,.42);background:#fff;box-shadow:0 6px 16px rgba(48,40,31,.07);box-sizing:border-box;}
body.offering-page .offering-photo-main{width:100%;aspect-ratio:3/4;}
body.offering-page .offering-photo-sub{width:100%;aspect-ratio:4/3;}
body.offering-page .offering-photo img{width:100%;height:100%;object-fit:cover;display:block;}
body.offering-page .offering-photo.is-empty{display:grid;place-items:center;
  background:rgba(183,154,88,.07);border-style:dashed;}
body.offering-page .offering-photo.is-empty span{font-size:.86em;opacity:.55;letter-spacing:.08em;}

/* 下半：兩個框並排 */
body.offering-page .offering-cols{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:18px;align-items:stretch;margin-top:20px;}
body.offering-page .offering-uses,body.offering-page .offering-pay,body.offering-page .offering-terms{
  padding:16px 20px;border:1px solid rgba(183,154,88,.42);border-radius:12px;
  background:rgba(255,255,255,.72);box-shadow:0 6px 16px rgba(48,40,31,.07);box-sizing:border-box;}
body.offering-page .offering-uses,body.offering-page .offering-pay{margin:0;display:flex;flex-direction:column;}
body.offering-page .offering-terms{margin-top:18px;}
body.offering-page .offering-uses h2,body.offering-page .offering-pay h2{font-size:17px!important;margin:0 0 10px!important;}

/* 四個用途：名稱靠左、說明緊接在右邊 */
body.offering-page .offering-use-list{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:18px;row-gap:6px;align-items:baseline;}
body.offering-page .offering-use-list li{display:contents;}
body.offering-page .offering-use-list li::before{content:none;}
body.offering-page .offering-use-list strong{position:relative;padding-left:13px;white-space:nowrap;font-weight:700;}
body.offering-page .offering-use-list strong::before{content:"";position:absolute;left:0;top:.6em;
  width:5px;height:5px;border-radius:50%;background:#b79a58;}
body.offering-page .offering-use-list span{font-size:.88em;opacity:.76;}
body.offering-page .offering-use-note{margin:11px 0 0!important;font-size:.88em;opacity:.76;}

/* 奉獻方式：欄名靠左、內容靠右 */
body.offering-page .offering-bank{margin:0 0 11px;display:grid;grid-template-columns:auto minmax(0,1fr);
  column-gap:14px;row-gap:6px;align-items:baseline;}
body.offering-page .offering-bank>div{display:contents;}
body.offering-page .offering-bank dt{margin:0;font-size:.88em;opacity:.7;white-space:nowrap;}
body.offering-page .offering-bank dd{margin:0;font-weight:700;letter-spacing:.02em;}
body.offering-page .offering-pay-note{margin:0 0 11px!important;font-size:.9em;}
body.offering-page .offering-pay .btn{align-self:flex-start;margin-top:auto;}
body.offering-page .offering-terms p{margin:0;font-size:.93em;}
body.offering-page .offering-closing{margin:18px 0 0;text-align:center;line-height:1.8;}

@media(max-width:760px){
  body.offering-page .offering-intro-grid{grid-template-columns:1fr!important;gap:16px;}
  body.offering-page .offering-photos{grid-template-columns:1fr 1fr;gap:10px;}
  body.offering-page .offering-cols{grid-template-columns:1fr;gap:12px;margin-top:16px;}
  body.offering-page .offering-uses,body.offering-page .offering-pay,body.offering-page .offering-terms{padding:14px;}
  body.offering-page .offering-terms{margin-top:12px;}
  body.offering-page .offering-use-list{column-gap:14px;row-gap:6px;}
  body.offering-page .offering-use-list strong{font-size:.95em;}
  body.offering-page .offering-use-list span{font-size:.82em;}
  body.offering-page .offering-bank{column-gap:10px;}
}


/* 2026-10-17 奉獻方式：左邊帳號、右邊轉帳 QR */
body.offering-page .offering-pay-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;
  column-gap:18px;align-items:start;}
body.offering-page .offering-qr{margin:0;width:186px;aspect-ratio:760/781;border-radius:10px;overflow:hidden;
  border:1px solid rgba(183,154,88,.42);background:#fff;box-sizing:border-box;}
body.offering-page .offering-qr img{width:100%;height:100%;object-fit:contain;display:block;}
body.offering-page .offering-qr.is-empty{display:grid;place-items:center;text-align:center;
  background:rgba(183,154,88,.07);border-style:dashed;}
body.offering-page .offering-qr.is-empty span{font-size:.8em;opacity:.55;letter-spacing:.08em;line-height:1.5;}
@media(max-width:760px){
  body.offering-page .offering-qr{width:140px;}
  body.offering-page .offering-pay-grid{column-gap:12px;}
}


/* 2026-10-17 奉獻方式：兩顆入口按鈕＋轉帳彈出視窗 */
body.offering-page .offering-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;margin:0;}
body.offering-page .offering-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:9px;aspect-ratio:1/1;padding:12px 8px;border:1px solid rgba(183,154,88,.5);border-radius:12px;
  background:#fff;cursor:pointer;text-align:center;text-decoration:none;color:inherit;box-sizing:border-box;
  transition:border-color .18s,box-shadow .18s,transform .18s;}
body.offering-page .offering-choice:hover,body.offering-page .offering-choice:focus-visible{
  border-color:#b79a58;box-shadow:0 6px 16px rgba(48,40,31,.10);transform:translateY(-2px);}
body.offering-page .offering-choice-ico{width:56px;height:56px;display:grid;place-items:center;}
body.offering-page .offering-choice-ico svg{width:54px;height:54px;display:block;}
body.offering-page .offering-choice-text{display:flex;flex-direction:column;gap:2px;min-width:0;}
body.offering-page .offering-choice-text strong{font-weight:700;font-size:13.5px;line-height:1.35;}
body.offering-page .offering-choice-text small{font-size:.78em;opacity:.68;}
body.offering-page .offering-choice-line:hover{border-color:#2faa63;}

html.offering-modal-open{overflow:hidden;}
body.offering-page .offering-modal[hidden]{display:none;}
body.offering-page .offering-modal{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:18px;}
body.offering-page .offering-modal-backdrop{position:absolute;inset:0;background:rgba(40,33,25,.5);}
body.offering-page .offering-modal-card{position:relative;z-index:1;width:min(340px,100%);
  background:#fff;border:1px solid rgba(183,154,88,.5);border-radius:14px;padding:22px 20px 18px;
  text-align:center;box-shadow:0 18px 44px rgba(32,26,18,.26);box-sizing:border-box;}
body.offering-page .offering-modal-card h3{margin:0 0 12px;font-size:17px;}
body.offering-page .offering-modal-close{position:absolute;top:8px;right:10px;width:30px;height:30px;
  border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#6b5c48;border-radius:8px;}
body.offering-page .offering-modal-close:hover{background:rgba(183,154,88,.14);}
body.offering-page .offering-modal-qr{margin:0 auto 10px;width:208px;}
body.offering-page .offering-modal-qr img{width:100%;height:auto;display:block;border-radius:8px;}
body.offering-page .offering-modal-note{margin:0 0 12px;font-size:.88em;opacity:.78;}
body.offering-page .offering-copy-acct{width:100%;justify-content:center;}
body.offering-page .offering-modal-small{margin:10px 0 0;font-size:.82em;opacity:.7;line-height:1.6;}
body.offering-page .offering-pay-go{display:none;width:100%;justify-content:center;margin:0 0 14px;}
@media(max-width:760px){
  body.offering-page .offering-pay-go{display:inline-flex;}
  body.offering-page .offering-modal-qr{width:184px;}
}

@media(max-width:760px){
  body.offering-page .offering-choices{gap:8px;}
  body.offering-page .offering-choice{padding:9px 6px;gap:7px;}
  body.offering-page .offering-choice-ico,body.offering-page .offering-choice-ico svg{width:44px;height:44px;}
  body.offering-page .offering-choice-text strong{font-size:12.5px;}
}


/* 2026-10-17 奉獻頁大標：左文字、右插畫，同一水平 */
body.offering-page .offering-hero{display:grid!important;grid-template-columns:auto auto!important;
  justify-content:start!important;gap:16px!important;align-items:center!important;}
body.offering-page .offering-hero-text{min-width:0;}
body.offering-page .offering-hero-art{margin:0;flex:none;line-height:0;}
body.offering-page .offering-hero-art img{height:128px;width:auto;max-width:100%;display:block;
  filter:drop-shadow(0 7px 11px rgba(48,40,31,.24)) drop-shadow(0 2px 3px rgba(48,40,31,.14));}
@media(max-width:760px){
  body.offering-page .offering-hero{gap:10px!important;}
  body.offering-page .offering-hero-art img{height:84px;}
}

@media(max-width:760px){
  body.offering-page .offering-photos{padding-bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;}
  body.offering-page .offering-photos{grid-template-columns:1fr 1fr;justify-items:stretch;gap:10px;}
  body.offering-page .offering-photo-main,body.offering-page .offering-photo-sub{width:auto;aspect-ratio:3/4;}
}

/* offering: soft tint for the 'uses' box */
body.offering-page .offering-cols .offering-uses{background:rgba(240,217,165,.20);border-color:rgba(196,154,82,.30);}

/* product page: icon buttons left, main action on the right */
.pd-actions .btn-primary{order:3;}


/* cart add-on note: larger text */
body .cart-add-on-note{font-size:1rem;line-height:1.6;}
body .cart-add-on-note a{font-size:inherit;font-weight:600;}

/* cart page: compact header row, aligned with the cart column */
html body.cart-page .global-back-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;width:min(760px,calc(100% - 36px));margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;}
html body.cart-page .global-back-row .breadcrumb{padding:0;}
html body.cart-page .page-hero{width:min(760px,calc(100% - 36px));margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;}
html body.cart-page .page-hero h1{margin:0 0 2px!important;}
html body.cart-page main > section.section{padding-bottom:24px!important;}
html body.cart-page .page-hero{padding-top:0!important;padding-bottom:0!important;}
html body.cart-page .page-hero + .section{padding-top:4px!important;}
html body.cart-page .global-back-row{padding-top:6px!important;padding-bottom:0!important;}

/* ministry news: compact box */
body.ministry-page .ministry-news{margin:12px 0 0;padding:16px 20px 8px;background:rgba(240,217,165,.20);border:1px solid rgba(196,154,82,.30);border-radius:12px;}
.mn-head{display:flex;align-items:baseline;gap:12px;margin:0 0 6px;}
.mn-head .eyebrow{display:inline;margin:0;}
.mn-h{font-size:1.2rem;font-weight:700;line-height:1.4;}
.mn-list{margin:0;padding:0;}
.mn-item{margin:0;padding:10px 0;border-bottom:1px dotted rgba(196,154,82,.6);}
.mn-item:last-child{border-bottom:0;}
.mn-item summary{margin:0;padding:0;line-height:1.5;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:baseline;list-style:none;}
.mn-item summary::-webkit-details-marker{display:none;}
.mn-title{font-weight:600;}
.mn-item time{font-family:var(--font-mono);font-size:.78rem;color:var(--ink-soft);white-space:nowrap;}
.mn-body{margin:8px 0 0;color:var(--ink-soft);white-space:pre-wrap;line-height:1.7;}
.mn-more{margin-top:12px;}
/* home phone: block gaps */
@media (max-width:760px){
  body.home-page main .announcements-section,
  body.home-page main #recent-section{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:12px!important;}
  body.home-page main .announcements-section{margin-top:4px!important;margin-bottom:6px!important;}
  body.home-page main .announcements-section > .section-head,
  body.home-page main #recent-section > .section-head{margin-top:0!important;margin-bottom:8px!important;padding:0!important;}
}
/* home desktop: block gaps */
@media (min-width:761px){
  body.home-page main .announcements-section,
  body.home-page main #recent-section{padding-top:0!important;padding-bottom:0!important;}
  body.home-page main .announcements-section{margin-top:4px!important;margin-bottom:6px!important;}
  body.home-page main #recent-section{margin-top:0!important;margin-bottom:12px!important;}
  body.home-page main .announcements-section > .section-head,
  body.home-page main #recent-section > .section-head{margin-top:0!important;margin-bottom:12px!important;}
}
/* ministry page: back link and breadcrumb on one row */
body.ministry-page .global-back-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
body.ministry-page .global-back-row .breadcrumb{margin:0!important;padding:0!important;}

/* BP-TIGHT-ELIJAH-DESKTOP */
@media (min-width:761px){
  html body.elijah-page #elijah-results-section{padding-top:0!important;}
  html body.elijah-page #elijah-results-section .section-head{margin-top:0!important;margin-bottom:8px!important;}
html body.elijah-page #elijah-results-section .section-head h2{margin-top:0!important;}
  html body.elijah-page #room-mount{margin-top:0!important;}
  html body.elijah-page .elijah-feature-pair{padding-bottom:0!important;}
}

/* BP-TIGHT-CREATOR-DESKTOP */
@media (min-width:761px){
  html body.elijah-creator-page .creator-media-section{padding-bottom:0!important;}
  html body.elijah-creator-page #latest-news{padding-top:0!important;padding-bottom:8px!important;}
}

/* BP-TIGHT-SHOP-DESKTOP */
@media (min-width:761px){
  html body.shop-page .room-shell{padding-bottom:8px!important;}
}

/* BP-ABOUT-TOPLINE-MOBILE */
@media(max-width:760px){
  html:root body.elijah-about-page .elijah-about-topline{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;}
  html:root body.elijah-about-page .elijah-about-topline .breadcrumb,
  html:root body.elijah-about-page .elijah-about-topline .page-actions{margin:0!important;padding:0!important;}
}

/* 訂單頁：付款明細緊湊、三顆按鈕同一橫排 */
html body.order-page .shipping-notice p{margin:0!important;}
html body.order-page .shipping-notice p+p{margin-top:4px!important;}
@layer shared-buttons{
  html:root body.order-page .order-page-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;margin:14px 0 8px!important;}
  html:root body.order-page .order-page-actions .btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;min-height:40px!important;margin:0!important;padding:6px 8px!important;grid-column:auto!important;box-sizing:border-box!important;text-align:center!important;white-space:normal!important;font-size:clamp(.82rem,3.6vw,1rem)!important;line-height:1.3!important;}
}
html body.home-page #announcement-grid:not(.show-old)>.news-old{display:none!important;}
html body.home-page .news-more{text-align:center;margin:14px 0 0;}
/* desk-news-fold */
@media (min-width:761px){
html body.home-page #announcement-grid{align-items:start!important;}
html body.home-page .announcement-card{padding:10px 14px!important;display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:10px!important;}
html body.home-page .announcement-card-top{flex:0 0 auto!important;margin:0!important;padding:0!important;border-bottom:0!important;}
html body.home-page .announcement-card-top .eyebrow{display:none!important;}
html body.home-page .announcement-card h3{flex:1 1 0!important;min-width:0!important;margin:0!important;line-height:1.3!important;}
html body.home-page .announcement-card>p{display:none!important;}
html body.home-page .announcement-card details p{line-height:1.5!important;}
html body.home-page .announcement-card details{flex:0 0 100%!important;display:block!important;margin-top:6px!important;}
}