/* ============================================================
   島物送首頁 — 專屬樣式（tokens & shared 在 shop_base.css）
   ============================================================ */

/* ---- Hero ---- */
.sh-home-hero {
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--brick-600);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--brick-500);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  margin: 0 0 24px;
}
.hero__title .period { color: var(--brick-600); }
.hero__sub {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-700);
  margin: 0 0 32px;
  max-width: 480px;
}
.hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__note {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-card);
  border: 1px dashed var(--line-200);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-700);
  max-width: 480px;
  line-height: 1.7;
}
.hero__note .dot {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brick-100);
  color: var(--brick-600);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  margin-top: 2px;
}
.hero__note b { color: var(--brick-600); font-weight: 600; }

/* Hero food collage */
.hero__media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  background:
    radial-gradient(ellipse at 30% 30%, #EFE2C7 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, #E2D3B4 0%, transparent 60%),
    linear-gradient(135deg, #F4EAD3, #E8D9BB);
  border-radius: 12px;
  padding: 28px;
}
.hero__media::before {
  content: "";
  position: absolute;
  top: -18px; left: -18px; right: -18px; bottom: -18px;
  border: 1px solid var(--line-200);
  border-radius: 18px;
  pointer-events: none;
}
.collage { position: relative; width: 100%; height: 100%; }
.food-tile {
  position: absolute;
  background: linear-gradient(160deg, #FBF5E7, #ECDFC1);
  border-radius: 50%;
  box-shadow:
    inset 0 6px 18px rgba(255,255,255,.6),
    inset 0 -10px 24px rgba(120,80,30,.08),
    0 8px 24px -8px rgba(80,50,20,.25);
  display: grid; place-items: center;
  color: var(--ink-700);
  text-align: center;
  font-family: var(--font-serif);
}
.food-tile small { display: block; font-size: 10px; color: var(--ink-400); letter-spacing: .2em; margin-top: 2px; font-family: var(--font-sans); }
.food-tile.t-1 { width: 52%; height: 52%; top: 6%; left: 28%; font-size: 17px; }
.food-tile.t-2 { width: 38%; height: 38%; top: 38%; left: 4%; font-size: 14px; background: linear-gradient(160deg, #F0E2BE, #D9C28F); }
.food-tile.t-3 { width: 36%; height: 36%; top: 58%; left: 38%; font-size: 14px; background: linear-gradient(160deg, #ECD9AA, #C9A86B); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.food-tile.t-3 small { color: rgba(255,255,255,.7); }
.food-tile.t-4 { width: 30%; height: 30%; top: 2%; left: 4%; font-size: 13px; background: linear-gradient(160deg, #EFE0BC, #C19B5C); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.food-tile.t-4 small { color: rgba(255,255,255,.7); }
.food-tile.t-5 { width: 26%; height: 26%; top: 66%; right: 4%; font-size: 12px; background: linear-gradient(160deg, #E8D7A8, #B58B4A); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.food-tile.t-5 small { color: rgba(255,255,255,.7); }
.collage__sprig { position: absolute; top: -6%; right: -4%; width: 28%; opacity: .8; }

/* Trust badges row */
.trust-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-100);
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item__icon {
  width: 36px; height: 36px;
  border: 1px solid var(--line-200);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brick-600);
  flex: 0 0 auto;
}
.trust-item__title { font-size: 14px; color: var(--ink-900); margin-bottom: 2px; }
.trust-item__desc  { font-size: 12px; color: var(--ink-500); line-height: 1.6; }

/* ---- Section primitives ---- */
.sh-home-hero ~ section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head__deco {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--ink-400); font-size: 12px; letter-spacing: 0.3em; margin-bottom: 12px;
}
.section-head__deco::before, .section-head__deco::after {
  content: ""; display: block; width: 24px; height: 1px; background: var(--line-200);
}
.section-head__title {
  font-family: var(--font-serif); font-size: 34px; font-weight: 600;
  color: var(--ink-900); margin: 0 0 14px; letter-spacing: 0.04em;
}
.section-head__sub { font-size: 15px; color: var(--ink-500); margin: 0; }

/* ---- Three Steps ---- */
.sh-home-steps {
  background: var(--bg-section);
  border-top: 1px solid var(--line-100);
  border-bottom: 1px solid var(--line-100);
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--line-100);
  border-radius: var(--r-lg); padding: 32px 28px;
  position: relative; transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.step-card__num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-serif); font-size: 56px; line-height: 1;
  color: var(--bg-card-soft); font-weight: 600;
}
.step-card__icon {
  width: 56px; height: 56px;
  background: var(--brick-100); color: var(--brick-600);
  border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
}
.step-card__title {
  font-family: var(--font-serif); font-size: 22px; color: var(--ink-900);
  margin: 0 0 8px; letter-spacing: 0.04em;
}
.step-card__desc {
  font-size: 14px; color: var(--ink-500); line-height: 1.75;
  margin: 0 0 22px; min-height: 48px;
}
.step-card .sh-btn { width: 100%; }

/* ---- Product DM ---- */
.dm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--line-100);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product-card__media {
  aspect-ratio: 3 / 4; position: relative;
  display: grid; place-items: end center; overflow: hidden;
}
.product-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,10,0) 55%, rgba(30,20,10,.55) 100%);
  pointer-events: none;
}
.product-card__media span {
  position: relative; z-index: 1; padding: 16px 18px;
  color: #FBF6EC; font-family: var(--font-serif);
  font-size: 13px; letter-spacing: 0.25em; opacity: .85;
}
.product-card__body { padding: 18px 20px 22px; border-top: 1px solid var(--line-100); }
.product-card__name { font-family: var(--font-serif); font-size: 19px; letter-spacing: 0.08em; color: var(--ink-900); margin: 0 0 4px; }
.product-card__meta { font-size: 12px; color: var(--ink-400); letter-spacing: 0.08em; margin: 0 0 12px; }
.product-card__desc { font-size: 13px; color: var(--ink-500); line-height: 1.7; margin: 0; }

/* Placeholder gradients */
.ph-jar      { background: linear-gradient(160deg, #EBD4A6 0%, #B45C36 55%, #57211A 100%); }
.ph-snack    { background: linear-gradient(160deg, #F1DEB2 0%, #C99356 55%, #6B3D17 100%); }
.ph-dry      { background: linear-gradient(160deg, #F0E0B6 0%, #B0793A 55%, #5C351A 100%); }
.ph-noodle   { background: linear-gradient(160deg, #F4E7C6 0%, #D8B173 55%, #7A4F1E 100%); }
.ph-tea      { background: linear-gradient(160deg, #EAD9B4 0%, #93673A 55%, #3B2410 100%); }
.ph-frozen   { background: linear-gradient(160deg, #F4ECDB 0%, #BFA382 55%, #6D5638 100%); }
.ph-sauce    { background: linear-gradient(160deg, #E9CFA8 0%, #A0552C 55%, #4A2412 100%); }
.ph-stew     { background: linear-gradient(160deg, #E6CDA0 0%, #8E3F22 55%, #441A12 100%); }
.ph-dumpling { background: linear-gradient(160deg, #F5E9CC 0%, #D9B97D 60%, #8C6132 100%); }
.ph-fruit    { background: linear-gradient(160deg, #FBE9B4 0%, #E1A23B 55%, #88541A 100%); }
.ph-drink    { background: linear-gradient(160deg, #E8D9B9 0%, #8C5C30 55%, #3F2410 100%); }
.ph-seasonal { background: linear-gradient(160deg, #FAE2B6 0%, #DC8A2C 55%, #6F3A15 100%); }

.ph-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 88px; height: 88px;
  color: rgba(255,245,225,.55); z-index: 1;
}

/* ---- Locked Section ---- */
.sh-home-locked {
  background: var(--bg-section); position: relative; padding: 96px 0;
}
.locked__deco {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  color: var(--ink-400); font-size: 12px; letter-spacing: 0.3em; margin-bottom: 10px;
}
.locked__deco::before, .locked__deco::after { content: "／"; color: var(--ink-300); }
.locked__title {
  text-align: center; font-family: var(--font-serif); font-size: 34px;
  margin: 0 0 12px; letter-spacing: 0.06em; color: var(--ink-900);
}
.locked__sub { text-align: center; color: var(--ink-500); margin: 0 0 48px; }
.locked__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.locked__blur-bg { width: 100%; pointer-events: none; }
.locked__blur-bg img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); }
.locked__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.35) 0%, rgba(250,246,238,.55) 80%);
}
.locked__panel {
  background: rgba(255,255,255,.96); border: 1px solid var(--line-200);
  backdrop-filter: blur(2px); border-radius: var(--r-lg);
  padding: 44px 56px 40px; text-align: center;
  width: min(540px, 90%); box-shadow: var(--shadow-lift);
}
.locked__panel-icon {
  width: 64px; height: 64px; margin: 0 auto 22px;
  background: var(--bg-card-soft); color: var(--brick-600);
  border-radius: 50%; display: grid; place-items: center;
}
.locked__panel h3 {
  font-family: var(--font-serif); font-size: 22px; margin: 0 0 18px;
  color: var(--ink-900); letter-spacing: 0.06em;
}
.locked__panel-rule {
  width: 56px; height: 1px; background: var(--line-200);
  margin: 0 auto 22px; position: relative;
}
.locked__panel-rule::before {
  content: "\2726"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: #fff;
  color: var(--line-300); padding: 0 6px; font-size: 11px;
}
.locked__panel .sh-btn-primary { width: 100%; margin-bottom: 14px; }
.locked__panel-foot { font-size: 13px; color: var(--ink-500); }
.locked__panel-foot a {
  color: var(--brick-600); border-bottom: 1px solid var(--brick-500);
  padding-bottom: 2px; margin-left: 4px;
}

/* ---- CTA Strip ---- */
.sh-home-cta-strip {
  background: var(--bg-accent); padding: 56px 0;
  border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200);
}
.cta-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-strip__text { flex: 1; min-width: 260px; }
.cta-strip__title {
  font-family: var(--font-serif); font-size: 26px; margin: 0 0 8px;
  color: var(--ink-900); letter-spacing: 0.06em;
}
.cta-strip__sub { font-size: 14px; color: var(--ink-700); margin: 0; }
.cta-strip__actions { display: flex; gap: 12px; }

/* ---- LINE Block ---- */
.sh-home-line { background: var(--bg-section); }
.line-block__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.line-block__text h2 {
  font-family: var(--font-serif); font-size: 32px;
  line-height: 1.45; letter-spacing: 0.04em; margin: 0 0 18px;
}
.line-block__text p { font-size: 15px; color: var(--ink-700); line-height: 1.85; margin: 0 0 24px; }
.line-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 28px; }
.line-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-700); }
.line-feature__dot { width: 6px; height: 6px; background: var(--brick-500); border-radius: 50%; margin-top: 8px; flex: 0 0 auto; }
.line-mock { display: grid; grid-template-columns: auto auto; gap: 28px; align-items: center; justify-content: center; }
.phone {
  width: 280px; background: #fff; border-radius: 36px;
  border: 1px solid var(--line-200); padding: 14px 12px; box-shadow: var(--shadow-lift);
}
.phone__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 12px; border-bottom: 1px solid var(--line-100); margin-bottom: 12px;
}
.phone__bar .logo { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; border: 1px solid var(--line-100); }
.phone__bar .name { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.phone__bar .name small { display: block; font-size: 10px; color: var(--ink-400); font-weight: 400; }
.bubble {
  background: #EEF7E7; border: 1px solid #D5E9C5; padding: 14px;
  border-radius: 4px 14px 14px 14px; margin: 0 6px 12px;
  font-size: 12px; color: var(--ink-700); line-height: 1.7;
}
.bubble strong { color: var(--brick-600); font-size: 13px; display: block; margin-bottom: 4px; }
.bubble ul { margin: 8px 0 4px; padding-left: 18px; }
.bubble li { margin-bottom: 2px; }
.bubble__cta {
  display: inline-block; margin-top: 8px; font-size: 11px;
  background: #FBF6EC; border: 1px solid #C9B996; padding: 4px 10px;
  border-radius: 4px; color: var(--brick-600);
}
.qr-block { text-align: center; }
.qr-block__qr {
  width: 140px; height: 140px; background: #fff;
  border: 1px solid var(--line-200); border-radius: var(--r-md);
  padding: 10px; margin-bottom: 12px; overflow: hidden;
}
.qr-block__qr svg { width: 100%; height: 100%; }
.qr-block__label { font-size: 12px; color: var(--ink-500); line-height: 1.5; }
.qr-block__label b { display: block; color: var(--ink-700); font-size: 13px; margin-bottom: 2px; font-weight: 600; }

/* ---- Trust Strip ---- */
.sh-home-trust { background: var(--bg-page); padding: 56px 0 64px; }
.trust-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--bg-card); border: 1px solid var(--line-100);
  border-radius: var(--r-lg); overflow: hidden;
}
.trust-cell {
  padding: 28px 24px; display: flex; align-items: flex-start;
  gap: 16px; border-right: 1px solid var(--line-100);
}
.trust-cell:last-child { border-right: 0; }
.trust-cell__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--brick-600); border: 1px solid var(--line-200);
  border-radius: 8px; flex: 0 0 auto;
}
.trust-cell h4 { font-family: var(--font-serif); font-size: 16px; margin: 0 0 4px; color: var(--ink-900); letter-spacing: 0.05em; }
.trust-cell p { font-size: 12px; color: var(--ink-500); line-height: 1.6; margin: 0; }

/* ---- FAQ ---- */
.sh-home-faq { background: var(--bg-section); }
.faq__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.faq__head h2 { font-family: var(--font-serif); font-size: 30px; margin: 0; letter-spacing: 0.06em; }
.faq__head a { font-size: 13px; color: var(--brick-600); border-bottom: 1px solid var(--brick-500); padding-bottom: 2px; }
.faq__list { background: var(--bg-card); border: 1px solid var(--line-100); border-radius: var(--r-md); overflow: hidden; }
.faq__item { border-top: 1px solid var(--line-100); }
.faq__item:first-child { border-top: 0; }
.faq__item summary {
  display: flex; align-items: center; gap: 14px; padding: 22px 28px;
  cursor: pointer; list-style: none; font-size: 15px; color: var(--ink-900); transition: background .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--bg-card-soft); }
.faq__item summary::before {
  content: "?"; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--brick-500); color: var(--brick-600);
  display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: 0 0 auto;
}
.faq__item summary::after {
  content: ""; margin-left: auto; width: 10px; height: 10px;
  border-right: 1.5px solid var(--ink-500); border-bottom: 1.5px solid var(--ink-500);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item-body { padding: 0 28px 24px 66px; color: var(--ink-700); font-size: 14px; line-height: 1.85; }

/* ---- Footer CTA ---- */
.sh-home-footer-cta {
  background: var(--bg-accent); padding: 56px 0; position: relative; overflow: hidden;
}
.footer-cta__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer-cta__leaf { opacity: 0.4; color: var(--ink-500); line-height: 1; }
.footer-cta__center { text-align: center; }
.footer-cta__title { font-family: var(--font-serif); font-size: 28px; letter-spacing: 0.08em; color: var(--ink-900); margin: 0 0 24px; }
.footer-cta__actions { display: flex; gap: 16px; justify-content: center; }
.footer-cta__bowl { opacity: 0.4; color: var(--ink-500); line-height: 1; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .steps-grid, .dm-grid { grid-template-columns: 1fr; }
  .line-block__grid { grid-template-columns: 1fr; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .trust-cell { border-right: 0; border-bottom: 1px solid var(--line-100); }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .cta-strip__actions { justify-content: center; }
  .footer-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .footer-cta__leaf, .footer-cta__bowl { display: none; }
}
