.masthead-home {
  display: inline-block;
  width: clamp(185px, 19vw, 265px);
  max-width: 100%;
}
.masthead-home img { width: 100%; height: auto; }
.masthead-home:focus-visible { outline: 2px solid #36586b; outline-offset: 5px; }

/* One unframed photograph above a shared specification baseline. */
.gift {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "intro photo" "specs specs" "limit limit";
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(50px, 6vw, 96px) max(6vw, calc((100vw - 1200px) / 2));
  background: radial-gradient(ellipse at 76% 30%, #f8fbfa 0%, #e1ebee 52%, #d4e2e7 100%);
  color: #213744;
}
.gift::before { display: none; }
.gift__copy { grid-area: intro; align-self: center; }
.gift__eyebrow { color: #406170; }
.gift__title-line { display: grid; gap: 15px; }
.gift-title-logo { width: min(185px, 75%); height: auto; transform: none; }
.gift__headline-emphasis { color: #213744; line-height: 1.22; text-wrap: balance; }
.gift__headline small { color: #455a65; white-space: normal; font-size: 1rem; }
.gift__trust-line { border: 0; color: #405762; font-style: normal; margin: 14px 0 0; }
.gift .gift__visual { grid-area: photo; width: 100%; min-height: 0; aspect-ratio: auto; margin: 0; padding: 0; }
.gift .gift__visual .gift__product {
  display: block; position: static; width: 100%; height: auto;
  margin: 0 auto; transform: none; filter: drop-shadow(0 15px 10px #304b5b28);
}
.gift-figs {
  grid-area: specs; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; gap: 0; border-top: 1px solid #8ca4b0;
}
.gift-figs li { border: 0; padding: 24px 20px 0; align-content: start; }
.gift-figs li:first-child { padding-left: 0; }
.gift-figs li + li { border-left: 1px solid #afc2ca; }
.gift-fig { color: #213744; }
.gift-spec-icon { stroke: #496c7d; }
.gift-figs p, .gift__lead { color: #354d5b; }
.gift__lead { grid-area: limit; margin: 0; padding-top: 14px; border-top: 1px solid #afc2ca; }
@media (max-width: 820px) {
  .gift { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "photo" "specs" "limit"; padding: 48px 22px; gap: 22px; }
  .gift .gift__visual { max-width: 490px; justify-self: center; }
  .gift-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-figs li { padding: 16px 10px 15px 0; }
  .gift-figs li + li { border-left: 0; }
  .gift-figs li:nth-child(even) { padding-left: 12px; }
  .gift-figs li:nth-child(n+3) { border-top: 1px solid #afc2ca; }
}
.offer-gift-name {
  color: var(--beurer-pink);
  white-space: nowrap;
}
.plan__card .assurance {
  flex-flow: row nowrap;
  align-items: center;
  gap: clamp(6px, 2vw, 18px);
}
.plan__card .assurance li {
  gap: 4px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .plan__card .assurance { font-size: clamp(12px, 3vw, 14px); }
  .plan__card .assurance__icon { width: 15px; height: 15px; }
}

/* 收尾（Claude Code 2026-11-20）：手機上贈品句最後「止」單獨掉行 */
.gift__lead { text-wrap: balance; }

@media (max-width: 820px) {
  .hero__subtitle, .plan__card .limit-line { max-width: none; text-wrap: wrap; }
  .mobile-line { display: block; }
  .mobile-phrase { display: inline-block; }
}

/* 設計評審修改（Claude Code 2026-11-25）：贈品段收尾按鈕、手機底部常駐列 */
.gift__close {
  grid-area: limit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  padding-top: 18px;
  border-top: 1px solid #afc2ca;
}
.gift__close .gift__lead { grid-area: auto; padding-top: 0; border-top: 0; }
.gift__close .gift__cta { flex: none; margin: 0; min-width: min(420px, 100%); }
@media (max-width: 820px) {
  .gift__close { flex-direction: column; align-items: stretch; gap: 16px; }
}

.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #f8fbfa;
    border-top: 1px solid #c7d5db;
    box-shadow: 0 -8px 24px #21374414;
    transform: translateY(110%);
    visibility: hidden;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; }
  .sticky-cta__price { margin: 0; color: #354d5b; font-size: 0.95rem; white-space: nowrap; }
  .sticky-cta__price strong { color: #213744; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; margin-right: 2px; }
  .sticky-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
  }
  .sticky-cta__button span { font-size: 1.4rem; line-height: 0; }
  .sticky-cta__button:hover { background: #2F3D4A; }
  .sticky-cta__button:focus-visible { outline: 2px solid #557b90; outline-offset: 3px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .sticky-cta { transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.32s; }
  .sticky-cta.is-visible { transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
}

/* 注意事項框（2026-11-25）：框只比區塊內縮 24px（手機 16px），文字原本幾乎貼框；內文與框保持 28px（手機 20px） */
.notes { padding-left: 52px; padding-right: 52px; }
@media (max-width: 820px) {
  .notes { padding-left: 36px; padding-right: 36px; }
}

/* 送完版（2026-11-25）：只在 活動頁-v7-送完版 的 index.html 用到 */
.hero-gift__title--soldout {
  color: #6b7d88;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #6b7d88;
}
.hero-gift__title--soldout .hero-gift__name { color: inherit; }
