/* shop pages：資訊／政策頁版型、頁尾連結列、聯絡卡（配色沿用 tomo-brand.css 變數） */

/* 內容頁：最大寬 760px、舒適行距 */
.shop-page { max-width: 760px; margin: 0 auto; padding: 0.5rem 0 2rem; line-height: 1.9; color: var(--tomo-text, #4A403A); overflow-wrap: anywhere; }
.shop-page h2 { margin: 2.2rem 0 0.7rem; padding-left: 0.7rem; border-left: 3px solid var(--tomo-teal-light, #5E9EA0); font-size: 1.25rem; line-height: 1.5; color: var(--tomo-ink, #3B322C); }
.shop-page p { margin: 0 0 1rem; }
.shop-page ul, .shop-page ol { margin: 0 0 1rem 1.3rem; padding: 0; }
.shop-page li { margin-bottom: 0.4rem; }
.shop-page a { color: var(--tomo-teal, #2F6F73); text-decoration: underline; text-underline-offset: 3px; }

/* 常見問題：details 收合 */
.shop-faq { margin-top: 1.2rem; }
.shop-faq details { margin-bottom: 0.7rem; background: #fff; border: 1px solid var(--tomo-line, rgba(94, 158, 160, 0.28)); border-radius: 10px; }
.shop-faq summary { position: relative; padding: 0.9rem 2.6rem 0.9rem 1.1rem; font-weight: 600; color: var(--tomo-ink, #3B322C); cursor: pointer; list-style: none; }
.shop-faq summary::-webkit-details-marker { display: none; }
.shop-faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: var(--tomo-teal, #2F6F73); }
.shop-faq details[open] summary::after { content: "\2212"; }
.shop-faq details[open] summary { border-bottom: 1px solid var(--tomo-line, rgba(94, 158, 160, 0.28)); }
.shop-faq details p { margin: 0; padding: 0.9rem 1.1rem 1rem; }

/* 聯絡資訊卡 */
.shop-contact { margin: 1.4rem 0 0; padding: 1.4rem 1.5rem; background: var(--tomo-cream-deep, #F1E9DB); border: 1px solid var(--tomo-line, rgba(94, 158, 160, 0.28)); border-radius: 14px; }
.shop-contact-list { margin: 0; }
.shop-contact-row { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--tomo-line, rgba(94, 158, 160, 0.28)); }
.shop-contact-row dt { flex: 0 0 6.5em; margin: 0; font-weight: 600; color: var(--tomo-ink, #3B322C); }
.shop-contact-row dd { flex: 1; margin: 0; min-width: 0; }
.shop-contact-social-box { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1rem; padding-top: 1rem; }
.shop-page .shop-contact-social-title, .shop-page .shop-contact-note { margin: 0; }
.shop-page .shop-contact-note { padding-top: 0.8rem; font-size: 0.9rem; color: #8A7E74; }
.shop-page .shop-contact-social-box a { text-decoration: none; }

/* 頁尾連結列：位於版權列上方 */
.shop-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.3rem; max-width: 640px; margin-top: 0.3rem; }
.shop-footer-link { font-size: 14px; letter-spacing: 0.08em; color: var(--tomo-text, #4A403A); text-decoration: none; }
.shop-footer-link:hover, .shop-footer-link:focus-visible { color: var(--tomo-teal, #2F6F73); text-decoration: underline; text-underline-offset: 4px; }

@media all and (max-width: 600px) {
	.shop-page { line-height: 1.8; }
	.shop-contact { padding: 1rem; }
	.shop-contact-row { flex-direction: column; gap: 0.1rem; }
	.shop-contact-row dt { flex-basis: auto; font-size: 0.9rem; color: var(--tomo-teal, #2F6F73); }
	.shop-footer-links { gap: 0.2rem 1rem; }
}
