/* ===== 心綻選物：新首頁、需求頁、所有選物、禮盒、小測驗、認識心綻 ===== */

/* 全站導覽：下拉選單 */
.main-nav { align-items: center; gap: 1.6rem; }
.nav-group { position: relative; }
.nav-parent::after { content: "▾"; font-size: 0.65rem; margin-left: 4px; opacity: 0.55; }
.nav-sub {
  position: absolute; top: 100%; left: -14px; min-width: 168px; padding: 8px 0; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 14px 30px rgba(54, 44, 34, 0.1);
  display: none; z-index: 120;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-sub a { display: block; padding: 8px 18px; font-size: 0.84rem; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .nav-group:hover .nav-sub { display: block; } .nav-sub a:hover { background: var(--surface-soft); color: var(--rose-deep); } }
.nav-group:focus-within .nav-sub, .nav-group.open .nav-sub { display: block; }

/* 共用：商品卡 */
.ct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ct-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ct-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .ct-card:hover { box-shadow: 0 14px 28px rgba(54, 44, 34, 0.09); transform: translateY(-3px); } }
.ct-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-soft); overflow: hidden; }
.ct-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-brand { position: absolute; left: 10px; top: 10px; font-size: 0.62rem; letter-spacing: 0.1em; background: rgba(255, 255, 255, 0.92); color: var(--ink); padding: 2px 9px; border-radius: 999px; }
.ct-body { display: block; padding: 0.85rem 1rem 1.05rem; }
.ct-kind { display: block; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.2rem; }
.ct-title { display: block; font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--ink); margin-bottom: 0.3rem; }
.ct-blurb { display: block; font-size: 0.76rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 0.5rem; }
.ct-price { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; color: var(--ink); }

/* 首頁 */
.hm-hero { background: linear-gradient(135deg, #f6efe4 0%, #efe3d0 100%); }
.hm-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 3.6rem 28px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.hm-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.35; letter-spacing: 0.04em; margin: 0.6rem 0 1.1rem; color: var(--ink); }
.hm-hero-lead { font-size: 0.98rem; line-height: 2; color: var(--ink); max-width: 31em; margin-bottom: 1.6rem; }
.hm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-mosaic { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / 0.95; }
.hm-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 14px 30px rgba(54, 44, 34, 0.14); }
.hm-mosaic .m-a { grid-row: 1 / span 2; object-position: 38% center; }
.hm-mosaic .m-b { object-position: center 60%; }
.hm-mosaic .m-c { object-position: center 72%; }

.hm-sec { max-width: var(--maxw); margin: 0 auto; padding: 4rem 28px 0; }
.hm-head { margin-bottom: 1.6rem; max-width: 46em; }
.hm-head h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin: 0.2rem 0 0.5rem; }
.hm-more { text-align: center; margin-top: 2rem; }

.hm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hm-tile { display: flex; flex-direction: column; gap: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .hm-tile:hover { box-shadow: 0 14px 28px rgba(54, 44, 34, 0.08); transform: translateY(-3px); border-color: var(--rose-deep); } }
.hm-tile-title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); letter-spacing: 0.03em; }
.hm-tile-who { font-size: 0.84rem; line-height: 1.7; color: var(--ink-soft); }
.hm-tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.2rem; }
.hm-tile-tags i { font-style: normal; font-size: 0.72rem; color: var(--ink-soft); background: var(--surface-soft); padding: 2px 10px; border-radius: 999px; }
.hm-tile-go { margin-top: auto; padding-top: 0.5rem; font-size: 0.8rem; color: var(--rose-deep); letter-spacing: 0.04em; }

.hm-depth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-depth-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .hm-depth-card:hover { box-shadow: 0 14px 28px rgba(54, 44, 34, 0.09); transform: translateY(-3px); } }
.hm-depth-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-soft); }
.hm-depth-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hm-depth-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem 1.4rem 1.4rem; }
.hm-depth-no { font-family: var(--serif); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold); }
.hm-depth-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.hm-depth-kind { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--rose-deep); }
.hm-depth-text { font-size: 0.86rem; line-height: 1.85; color: var(--ink); margin: 0.3rem 0 0.6rem; }
.hm-depth-btn { font-size: 0.84rem; color: var(--ink); border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 2px; }

.gf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gf-card { display: flex; flex-direction: column; gap: 0.5rem; background: linear-gradient(135deg, #f8ece9, #fbf3e6); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.gf-card b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.gf-card span { font-size: 0.84rem; line-height: 1.8; color: var(--ink-soft); }

.hm-brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.2rem 0; }
.hm-brand h3 { font-family: var(--serif); font-size: 1.1rem; margin: 0.2rem 0 0.5rem; color: var(--ink); }
.hm-brand p { font-size: 0.86rem; line-height: 1.9; }
.hm-link { display: inline-block; margin-top: 0.6rem; font-size: 0.84rem; color: var(--rose-deep); }

.bowl-cta { display: grid; grid-template-columns: 0.8fr 1.2fr; background: var(--surface-soft); border-radius: var(--radius); overflow: hidden; margin-top: 3rem; }
.bowl-cta-wide { margin-top: 0; }
.bowl-cta-img { min-height: 240px; position: relative; overflow: hidden; }
.bowl-cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.bowl-cta-body { padding: 2.2rem 2.4rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.5rem; }
.bowl-cta-body h3 { font-size: 1.35rem; color: var(--ink); }
.bowl-cta-body p { font-size: 0.9rem; line-height: 1.95; }
.bowl-cta-body .btn { margin-top: 0.6rem; }

.hm-quiz { max-width: 760px; margin: 0 auto; padding: 4.2rem 28px 4.6rem; text-align: center; }
.hm-quiz h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin: 0.2rem 0 0.7rem; }
.hm-quiz p { font-size: 0.92rem; line-height: 1.9; margin-bottom: 1.4rem; }

/* 所有選物 */
.sf, .nd, .gb, .qz, .ab { max-width: var(--maxw); margin: 0 auto; padding: 2.6rem 28px 4rem; }
.sf-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0.2rem 0 0.5rem; }
.sf-filters { margin: 1.6rem 0 0.8rem; display: grid; gap: 10px; }
.sf-row { display: flex; align-items: center; gap: 1rem; }
.sf-label { flex: 0 0 5.2em; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip { font-family: inherit; font-size: 0.82rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; cursor: pointer; }
.sf-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .sf-chip:not(.on):hover { border-color: var(--rose-deep); color: var(--rose-deep); } }
.sf-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-soft); margin: 0.8rem 0 1rem; }
.sf-empty { grid-column: 1 / -1; padding: 2rem 0; font-size: 0.9rem; }
.sf-empty a { text-decoration: underline; }

/* 需求頁 */
.nd-head { max-width: 46em; margin-bottom: 2rem; }
.nd-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.3rem 0 0.4rem; }
.nd-short { font-family: var(--serif); font-size: 1.02rem; color: var(--gold); margin-bottom: 0.8rem; }
.nd-intro { font-size: 0.94rem; line-height: 2; margin-bottom: 1.3rem; }
.nd-h { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.nd-gift { text-align: center; margin-top: 3rem; background: var(--surface-soft); padding: 2.2rem 1rem; border-radius: var(--radius); }
.nd-gift h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.nd-gift p { margin-bottom: 1rem; font-size: 0.9rem; }

/* 主題禮盒 */
.gb-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.6rem; scroll-margin-top: 90px; }
.gb-img { position: relative; min-height: 260px; background: var(--surface-soft); overflow: hidden; }
.gb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.gb-body { padding: 1.8rem 1.8rem 1.8rem 0; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.gb-body h2 { font-size: 1.4rem; }
.gb-sub { font-family: var(--serif); color: var(--gold); font-size: 0.95rem; }
.gb-body ul { margin: 0.3rem 0 0.8rem; padding-left: 1.2rem; }
.gb-body li { font-size: 0.9rem; line-height: 1.9; color: var(--ink); }
.gb-note { margin-top: 2rem; background: var(--surface-soft); border-radius: var(--radius); padding: 1.3rem 1.6rem; }
.gb-note p { font-size: 0.88rem; line-height: 1.9; margin-bottom: 0.4rem; }

/* 選物小測驗 */
.qz { max-width: 860px; }
.qz h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0.2rem 0 0.6rem; }
.qz-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 1.6rem; }
.qz-opt { font-family: inherit; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1rem; cursor: pointer; display: flex; flex-direction: column; gap: 0.3rem; }
.qz-opt b { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.qz-opt span { font-size: 0.78rem; line-height: 1.6; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .qz-opt:hover { border-color: var(--rose-deep); box-shadow: 0 10px 22px rgba(54, 44, 34, 0.07); } }
#qzResult h2 { font-size: 1.7rem; margin: 0.2rem 0 0.5rem; }
.qz-lead { font-size: 0.94rem; line-height: 2; margin-bottom: 0.6rem; }
.qz-h { font-size: 1.05rem; margin: 2rem 0 0.8rem; color: var(--ink); }
.qz-box { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.2rem; background: var(--surface-soft); border-radius: var(--radius); padding: 1rem 1.3rem; }
.qz-box b { font-family: var(--serif); font-size: 1.02rem; }
.qz-box span { flex: 1 1 260px; font-size: 0.86rem; line-height: 1.8; }
.qz-again { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 10px; }
#qzResult .ct-grid { grid-template-columns: repeat(3, 1fr); }

/* 認識心綻 */
.ab { max-width: 820px; }
.ab-sec { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.ab-sec h2 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.ab-sec p { font-size: 0.94rem; line-height: 2; margin-bottom: 0.9rem; }
.ab-addr { color: var(--ink-soft); font-size: 0.86rem !important; }

/* 岩座商品頁 */
.pd-pain { font-family: var(--serif); font-style: italic; font-size: 0.98rem; line-height: 1.9; color: var(--ink); margin-bottom: 0.8rem; }
.pp-main.pd-contain { object-fit: contain; mix-blend-mode: multiply; padding: 1.5rem; }
.sv-return { max-width: var(--maxw); margin: 0 auto; padding: 3.4rem 28px 1rem; }

@media (max-width: 960px) {
  .ct-grid { grid-template-columns: repeat(3, 1fr); }
  .hm-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.6rem 28px; }
  .hm-tiles, .gf-grid, .hm-depth-grid, .hm-brand-grid { grid-template-columns: 1fr 1fr; }
  .gb-card { grid-template-columns: 1fr; gap: 0; }
  .gb-img { min-height: 220px; }
  .gb-body { padding: 1.4rem; }
  .qz-options { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* 手機：選單展開時分組顯示，子選單直接列出 */
  .main-nav { max-height: 0; overflow-y: auto; }
  .main-nav.open { max-height: calc(100vh - 64px); }
  .main-nav { align-items: stretch; gap: 0; }
  .nav-parent::after { display: none; }
  .nav-parent { display: block; font-weight: 600; }
  .nav-sub { position: static; display: block; box-shadow: none; border: none; border-radius: 0; margin: 0; padding: 0; background: var(--surface-soft); }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 11px 36px; font-size: 0.86rem; border-bottom: 1px solid var(--line); }

  .ct-grid, .ct-grid-3, #qzResult .ct-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ct-body { padding: 0.65rem 0.75rem 0.85rem; }
  .ct-title { font-size: 0.88rem; }
  .ct-blurb { display: none; }

  .hm-hero-inner { padding: 2rem 20px 2.4rem; }
  .hm-hero h1 { font-size: 2.2rem; }
  .hm-hero-lead { font-size: 0.92rem; }
  .hm-mosaic { aspect-ratio: 1 / 0.9; gap: 8px; }
  .hm-hero-text { order: 1; }
  .hm-mosaic { order: 2; }
  .hm-sec { padding: 2.6rem 20px 0; }
  .hm-tiles, .gf-grid, .hm-depth-grid, .hm-brand-grid { grid-template-columns: 1fr; gap: 12px; }
  .hm-tile { padding: 1.2rem 1.2rem 1.1rem; }
  .hm-depth-img { aspect-ratio: 4 / 3; }
  .hm-brand-grid { gap: 1.4rem; padding: 1.6rem 0; }
  .bowl-cta { grid-template-columns: 1fr; }
  .bowl-cta-img { min-height: 200px; }
  .bowl-cta-body { padding: 1.4rem 1.3rem 1.6rem; }
  .hm-quiz { padding: 3rem 20px 3.4rem; }

  .sf, .nd, .gb, .qz, .ab { padding: 1.8rem 20px 3rem; }
  .sf-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sf-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .sf-chips::-webkit-scrollbar { display: none; }
  .sf-chip { white-space: nowrap; }
  .qz-options { grid-template-columns: 1fr; }
  .qz-opt { flex-direction: row; align-items: baseline; gap: 0.8rem; }
}

/* 手機：篩選列可左右滑，但不能撐寬整個頁面 */
.sf-filters { grid-template-columns: minmax(0, 1fr); }
.sf-row, .sf-row > .sf-chips, .nd-head { min-width: 0; }
@media (max-width: 720px) {
  .sf-row > .sf-chips { width: 100%; }
  .nd-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nd-tabs::-webkit-scrollbar { display: none; }
  .nd-tabs .sf-chip { white-space: nowrap; flex: 0 0 auto; }
}

/* ===== 首頁封面輪播與分割版面分類（仿粹淬官網） ===== */
/* 封面輪播：滿版、不留邊；電腦與手機都是同樣的 2:1 比例，每張一樣大 */
.hm-car { position: relative; overflow: hidden; background: #2b231d; }
.hm-stage { display: flex; transition: transform 0.4s ease; will-change: transform; }
.hm-slide { position: relative; flex: 0 0 100%; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; }
.hm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(40, 32, 26, 0.35); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hm-car-arrow.prev { left: 18px; }
.hm-car-arrow.next { right: 18px; }
@media (hover: hover) and (pointer: fine) { .hm-car-arrow:hover { background: rgba(40, 32, 26, 0.6); } }
.hm-car-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.hm-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; background: rgba(255, 255, 255, 0.25); padding: 0; cursor: pointer; transition: all 0.2s ease; }
.hm-dot::after { content: ""; position: absolute; inset: -9px -5px; }
.hm-dot.active { background: #fff; width: 22px; border-radius: 5px; }

/* 通用「完整顯示」框：圖不裁切，空白處用同一張圖的模糊放大版鋪滿 */
.frame { position: relative; overflow: hidden; }
.frame::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover; filter: blur(20px) brightness(0.92); }
.frame > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }

.hm-intro { max-width: 760px; margin: 0 auto; padding: 3rem 28px 0; text-align: center; }
.hm-intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.5; letter-spacing: 0.04em; margin: 0.4rem 0 0.8rem; color: var(--ink); }
.hm-intro p { font-size: 0.95rem; line-height: 1.95; color: var(--ink); margin-bottom: 1.4rem; }
.hm-intro .hm-hero-actions { justify-content: center; }

.hm-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hm-cat { display: grid; grid-template-columns: 1fr 1fr; min-height: 230px; border-radius: 4px; overflow: hidden; background: var(--c); color: #fff; transition: box-shadow 0.25s ease, transform 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .hm-cat:hover { box-shadow: 0 16px 30px rgba(54, 44, 34, 0.16); transform: translateY(-3px); } }
.hm-cat-img { display: block; position: relative; overflow: hidden; }
.hm-cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; z-index: 1; }
.hm-cat-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 0.35rem; padding: 1.2rem 1rem; }
.hm-cat-title { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.65rem); letter-spacing: 0.14em; line-height: 1.4; }
.hm-cat-sub { font-size: 0.82rem; letter-spacing: 0.06em; opacity: 0.95; line-height: 1.6; padding-top: 0.45rem; margin-top: 0.15rem; border-top: 1px solid rgba(255, 255, 255, 0.55); }
.hm-cat-en { font-family: var(--serif); font-size: 0.74rem; letter-spacing: 0.1em; opacity: 0.85; }
.hm-cat-go { margin-top: 0.5rem; font-size: 0.76rem; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 0.5rem; }
.hm-cat-go i { font-style: normal; display: inline-flex; width: 22px; height: 22px; border: 1px solid #fff; border-radius: 50%; align-items: center; justify-content: center; font-size: 0.95rem; line-height: 1; }
.hm-cat.flip .hm-cat-img { order: 2; }
.hm-cat.wide { grid-column: 1 / -1; min-height: 260px; }

@media (max-width: 960px) {
  .hm-cat-grid { grid-template-columns: 1fr; }
  .hm-cat.flip .hm-cat-img { order: 0; }
  .hm-cat:nth-child(even) .hm-cat-img { order: 2; }
}
@media (max-width: 720px) {
  .hm-car-arrow { display: none; }
  .hm-intro { padding: 2.2rem 20px 0; }
  .hm-cat { min-height: 170px; }
  .hm-cat-title { font-size: 1.2rem; letter-spacing: 0.1em; }
  .hm-cat-sub { font-size: 0.76rem; }
  .hm-cat-text { padding: 0.9rem 0.7rem; }
}

/* 商品卡：去背小圖完整顯示 */
.ct-contain img { object-fit: contain; mix-blend-mode: multiply; padding: 14%; }

/* 首頁熱門選物：粹淬兩張組合圖一排，日本商品一排 */
.hm-feat-label { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.1em; color: var(--ink-soft); margin: 1.8rem 0 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.hm-feat-label:first-of-type { margin-top: 0.4rem; }
.hm-feat-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hm-feat-card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .hm-feat-card:hover { box-shadow: 0 14px 28px rgba(54, 44, 34, 0.09); transform: translateY(-3px); } }
.hm-feat-img { display: block; aspect-ratio: 1 / 1; background: var(--surface-soft); overflow: hidden; }
.hm-feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-feat-body { display: flex; flex-direction: column; justify-content: center; gap: 0.3rem; padding: 1rem 1.2rem; }
.hm-feat-body .rp-choice-title { font-size: 1.1rem; }
@media (max-width: 720px) {
  .hm-feat-two { grid-template-columns: 1fr; gap: 12px; }
  .hm-feat-card { grid-template-columns: 0.9fr 1.1fr; }
  .hm-feat-body { padding: 0.7rem 0.9rem; }
  .hm-feat-body .rp-choice-title { font-size: 1rem; }
}

/* 較寬的分類磚（SPA 療癒）：圖在上、字在下，圖完整顯示 */
.hm-cat.wide { grid-template-columns: 1fr; min-height: 0; }
.hm-cat.wide .hm-cat-img { aspect-ratio: 16 / 9; order: 0; }
.hm-cat.wide .hm-cat-text { padding: 1.4rem 1rem 1.6rem; }
@media (min-width: 961px) {
  .hm-cat.wide { grid-template-columns: 1.2fr 1fr; }
  .hm-cat.wide .hm-cat-img { aspect-ratio: auto; min-height: 300px; }
}
.hm-depth-img { aspect-ratio: 1 / 1; }
@media (max-width: 720px) { .hm-depth-img { aspect-ratio: 5 / 4; } }


/* 全系列選物：每一塊都是「圖在左、字在右」，圖滿版填滿、不留邊 */
.hm-cat-grid { gap: 16px; }
.hm-cat { min-height: 0; grid-template-columns: 1fr 1fr; }
.hm-cat-img { aspect-ratio: 1 / 1; background: none; order: 0 !important; }
.hm-cat-img::before { display: none; }
.hm-cat-img img { object-fit: cover; }
.hm-cat-text { order: 1 !important; }
@media (max-width: 960px) { .hm-cat-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .hm-cat { min-height: 0; }
  .hm-cat-text { padding: 0.6rem 0.7rem; }
  .hm-cat-sub { font-size: 0.74rem; }
}

/* 所有選物：洽詢提示 */
.sf-empty { grid-column: 1 / -1; padding: 2rem 0; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; font-size: 0.92rem; }
.ct-note { display: flex; background: var(--surface-soft); border-style: dashed; }
.ct-note .ct-body { padding: 1.4rem; display: flex; flex-direction: column; justify-content: center; }


/* 輪播：原本已發布的岩座三張保留標語（深色漸層只出現在有標語的那幾張） */
.hm-slide { position: relative; }
.hm-slide.has-text::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(54, 38, 34, 0.62) 0%, rgba(54, 38, 34, 0.4) 42%, rgba(54, 38, 34, 0.1) 75%); }
.hm-slide-text { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); max-width: var(--maxw); margin: 0 auto; padding: 0 56px; color: #fff; display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; pointer-events: none; }
.hm-slide-text i { font-style: normal; font-size: 0.78rem; letter-spacing: 0.26em; opacity: 0.9; }
.hm-slide-text b { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.4; }
.hm-slide-text em { font-style: normal; font-size: clamp(0.9rem, 1.4vw, 1.05rem); line-height: 1.8; }
@media (max-width: 720px) { .hm-slide.has-text::after, .hm-slide-text { display: none; } }

/* 全系列選物：圖片格直接填滿整個左半邊，上下左右都貼齊、不留縫 */
.hm-cat { position: relative; min-height: 270px; }
.hm-cat-img { position: relative; aspect-ratio: auto !important; align-self: stretch; width: 100%; min-height: 100%; }
.hm-cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .hm-cat { min-height: 170px; } }


/* 專屬個人服務：兩項服務的快速切換 */
.sv-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.sv-jump a { font-size: 0.86rem; letter-spacing: 0.06em; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .sv-jump a:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.service-card { margin-bottom: 28px; scroll-margin-top: 90px; }

/* 專屬個人服務：頁首兩張大選項卡 */
.sv-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.4rem; max-width: 760px; }
.sv-pick-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: 0 8px 22px rgba(54, 44, 34, 0.07); transition: transform 0.25s ease, box-shadow 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .sv-pick-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(54, 44, 34, 0.14); } }
.sv-pick-img { flex: 0 0 84px; height: 104px; border-radius: 8px; overflow: hidden; background: #f4ece4; display: flex; align-items: center; justify-content: center; }
.sv-pick-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sv-pick-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sv-pick-body i { font-style: normal; font-size: 0.7rem; letter-spacing: 0.16em; color: #fff; background: #b9748a; border-radius: 999px; padding: 1px 10px; align-self: flex-start; }
.sv-pick-body b { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.sv-pick-body em { font-style: normal; font-size: 0.8rem; line-height: 1.6; color: var(--ink-soft); }
.sv-pick-body u { text-decoration: none; font-size: 0.8rem; color: #b9748a; margin-top: 2px; }
@media (max-width: 720px) { .sv-pick { grid-template-columns: 1fr; } }
