/* SWEEDOM 甜境官方網站樣式
   CI：Pantone 286C 藍 #043491、Pantone 1575C 橘 #EF7F18
   對比：CI 藍在橘底 4.05（只用於 24px 以上或粗體 19px 以上的大字），
         一般文字在橘底改用深藍 #011B4D（6.1）；白字在 CI 藍底 11.0。 */
:root {
  --orange: #ef7f18;
  --orange-tint: #fde6cf;
  --blue: #043491;
  --blue-deep: #022766;
  --blue-ink: #011b4d;
  --cream: #fff5ea;
  --ink: #1b2240;
  --muted: #4a5070;
  --line: #ecdcc8;
  --radius: 20px;
  --wrap: 1120px;
  --font: "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", "Heiti TC", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root:lang(en) {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC",
    "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  overflow-wrap: break-word;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
}
a {
  color: var(--blue);
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: 0.01em;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.visit :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.narrow {
  width: min(100% - 40px, 800px);
}

/* ---------- 跳到內容 ---------- */
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- 頁首 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(1.4) blur(10px);
  }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}
.brand {
  display: block;
  flex: none;
  padding: 4px 0;
}
.brand img {
  width: 124px;
}
.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  background: var(--cream);
  color: var(--blue);
}
.lang {
  flex: none;
  padding: 5px 15px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.lang:hover {
  background: var(--blue);
  color: #fff;
}
@media (max-width: 780px) {
  .header-row {
    flex-wrap: wrap;
    gap: 0 12px;
    min-height: 0;
    padding-top: 10px;
  }
  .brand {
    flex: 1;
  }
  .brand img {
    width: 108px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 4px 0 0;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .site-nav a {
    padding: 6px 12px;
    font-size: 14px;
  }
  .site-nav a:first-child {
    padding-left: 0;
  }
}

/* ---------- 按鈕 ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.actions.center {
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn .icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-deep);
}
.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-white:hover {
  background: var(--cream);
}
.btn-outline {
  border-color: var(--blue);
  background: #fff;
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}
.btn-outline-light {
  border-color: #fff;
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--blue);
}

/* ---------- 圖示 ---------- */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-tint);
  color: var(--blue);
}
.badge-lg {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}
.badge-lg .icon {
  width: 28px;
  height: 28px;
}
.badge-dark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- 淺弧（呼應店內告示的弧形） ---------- */
.arc {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -2px;
  height: 72px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--cream);
}
.arc-white {
  height: 48px;
  background: #fff;
}

/* ---------- 首頁主視覺 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--blue-ink);
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 76px 0 116px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-title {
  margin: 0;
  font-size: inherit;
}
.hero-logo {
  width: min(440px, 100%);
}
.hero-lead {
  display: block;
  margin-top: 26px;
  color: var(--blue);
  font-size: clamp(26px, 3.1vw, 36px);
  font-weight: 800;
  line-height: 1.35;
}
.hero-sub {
  max-width: 30em;
  margin: 14px 0 0;
  color: var(--blue-ink);
  font-size: 18px;
  font-weight: 500;
}
.hero-media {
  position: relative;
  margin: 0;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  border-radius: 32px;
  background: var(--blue);
}
.hero-media img {
  position: relative;
  width: 100%;
  border: 6px solid #fff;
  border-radius: 32px;
  box-shadow: 0 30px 60px -24px rgba(1, 27, 77, 0.55);
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 48px 0 104px;
  }
  .hero-media {
    max-width: 440px;
    margin-right: 18px;
  }
}

/* ---------- 區塊 ---------- */
.section {
  padding: 92px 0;
}
@media (max-width: 780px) {
  .section {
    padding: 68px 0;
  }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.section h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(28px, 3.4vw, 40px);
}
.section-intro {
  max-width: 40em;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* 品牌故事 */
.story {
  background: var(--cream);
}
.story-body {
  max-width: 46em;
  font-size: 18px;
}
.story-body p {
  margin: 0 0 14px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.feature .badge {
  margin-bottom: 18px;
}
.feature h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
@media (max-width: 860px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* 商品 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-text {
  padding: 22px 24px 28px;
}
.product h3 {
  margin: 0;
  color: var(--blue);
  font-size: 21px;
}
.alt-name {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.product-text p:last-child {
  margin: 0;
  font-size: 16px;
}
.products-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}
.note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 960px) and (min-width: 621px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .product:last-child picture {
    flex: 0 0 50%;
  }
  .product:last-child .product-text {
    align-self: center;
  }
}
@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* 門市資訊 */
.visit {
  background: var(--blue);
  color: #fff;
}
.visit .kicker,
.visit h2 {
  color: #fff;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.store-name {
  margin: -6px 0 26px;
  color: #ffe2c2;
  font-size: 18px;
  font-weight: 700;
}
.visit-list {
  display: grid;
  gap: 18px;
  margin: 0;
}
.visit-row {
  position: relative;
  min-height: 44px;
  padding-left: 60px;
}
.visit-row .badge {
  position: absolute;
  top: 2px;
  left: 0;
}
.visit-row dt {
  color: #c9d5f2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.visit-row dd {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.visit-note {
  margin: 24px 0 0;
  color: #e4eaf8;
}
.visit-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.visit-link:hover {
  color: #ffe2c2;
}

/* 官方 LINE 面板：門市區右側（line-feature，橘卡）與客服／隱私權頁（line-card） */
.line-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 30px;
}
.line-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.line-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.line-kicker .icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.line-title {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}
.line-title span {
  display: inline-block;
}
.line-body {
  margin: 10px 0 0;
  font-size: 16px;
}
.line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.line-qr {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: #fff;
  color: var(--blue-ink);
}
.line-qr img {
  width: 148px;
  height: 148px;
  image-rendering: pixelated;
}
.line-qr figcaption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.line-feature {
  flex-direction: column;
  align-items: stretch;
  padding: 36px 32px;
  background: var(--orange);
  color: var(--blue-ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.line-feature .line-qr {
  align-self: center;
}
.visit .line-feature :focus-visible {
  outline-color: var(--blue-ink);
}
.line-card {
  margin: 18px 0 0;
  padding: 26px 28px;
  border: 2px solid var(--orange);
  background: var(--cream);
  color: var(--ink);
}
.line-card .line-kicker {
  color: var(--blue);
}
.line-card .line-title {
  font-size: 21px;
}
.line-card .line-qr {
  border: 1px solid var(--line);
}
.other-channels {
  margin: 30px 0 0;
  color: var(--blue);
  font-size: 18px;
}
@media (max-width: 860px) {
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .line-feature {
    max-width: 520px;
  }
}
@media (max-width: 560px) {
  .line-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .line-card {
    padding: 22px 20px;
  }
  .line-actions .btn {
    width: 100%;
  }
}

/* 依裝置切換 LINE 連結（不需要 JavaScript）：
   觸控為主（手機、平板）→ 點一下直接開啟 LINE 聊天；滑鼠為主（電腦）→ 開官方帳號頁並顯示 QR Code。
   不支援這兩個媒體查詢的舊瀏覽器兩種都會顯示。 */
@media (hover: none), (pointer: coarse) {
  .only-desktop {
    display: none !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .only-touch {
    display: none !important;
  }
}

/* 聯絡 */
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.contact-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.contact-card .badge {
  margin-bottom: 14px;
}
.contact-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.contact-value {
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
}
.contact-note {
  color: var(--muted);
  font-size: 14px;
}
.more {
  margin: 26px 0 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon {
  width: 20px;
  height: 20px;
}

/* ---------- 頁尾 ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: var(--blue-ink);
  color: #e4eaf8;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 44px;
}
.footer-brand img {
  width: 132px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.15s;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.22);
}
.social .icon {
  width: 22px;
  height: 22px;
}
.legal-line {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b9c4e2;
  font-size: 13px;
  line-height: 1.9;
}
.legal-line > span:not(.sep) {
  display: inline-block;
}
.sep {
  margin: 0 10px;
  opacity: 0.6;
}
@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .contact-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 18px 20px;
  }
  .contact-card .badge {
    grid-row: 1 / span 3;
    margin: 0;
  }
}

/* ---------- 內頁（隱私權、客服） ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 92px;
  background: var(--orange);
  color: var(--blue-ink);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.crumbs {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
}
.crumbs a {
  color: var(--blue-ink);
  font-weight: 750;
}
.page-hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(34px, 4.4vw, 48px);
}
.updated {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.prose {
  padding: 40px 0 96px;
}
.prose h2 {
  margin: 46px 0 12px;
  color: var(--blue);
  font-size: 22px;
}
.prose ul {
  padding-left: 1.3em;
}
.prose li {
  margin: 6px 0;
}
.prose li::marker {
  color: var(--orange);
}
.lead-p {
  font-size: 18px;
}
.callout {
  padding: 14px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--cream);
  color: var(--muted);
  font-size: 15px;
}
.prose .contact-grid {
  margin-top: 18px;
  padding-left: 0;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.faq {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.faq-item {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.faq-item h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 18px;
}
.faq-item p {
  margin: 0;
}

/* ---------- 404 ---------- */
.notfound {
  padding: 96px 0 110px;
  background: var(--cream);
  text-align: center;
}
.notfound img {
  width: 220px;
  margin: 0 auto 28px;
}
.notfound h1 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 40px);
}
.notfound h1 .en {
  display: block;
  margin-top: 4px;
  font-size: 0.6em;
}
.notfound p {
  color: var(--muted);
}

@media print {
  .site-header,
  .site-footer .social,
  .arc,
  .actions,
  .line-actions {
    display: none !important;
  }
  .page-hero,
  .hero {
    background: none;
  }
}
