:root {
  --bg: #f6f1e8;
  --bg-soft: #fbf8f2;
  --paper: #ffffff;
  --ink: #3b3834;
  --muted: #7a7368;
  --gold: #b89742;
  --gold-deep: #b8894d;
  --navy: #1d4f6e;
  --ocean: #2f6f8f;
  --line: #06c755;
  --orange: #d98a4a;
  --shadow: 0 10px 30px rgba(61, 52, 41, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

/* 預設樣式（你原本寫的） */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px px solid rgba(201, 160, 106, 0.18);
  box-shadow: 0 6px 20px rgba(61, 52, 41, 0.06);
  transition: all 0.3s ease; /* 加上過場動畫，讓縮放或變色更平滑 */
}

/* 額外加上：當網頁下滑時改變的樣式 */
.site-header.is-scrolled {
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 改變陰影深淺 */
}




.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-zh {
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  color: var(--gold-deep);
}

.brand-en {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  color: #5d574f;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--gold-deep);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  /* background: var(--gold); */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-actions svg {
  flex-shrink: 0;
}

.line-btn {
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--line);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.line-btn svg {
  width: 15px;
  height: 15px;
}

.ghost-link,
.cart-link {
  position: relative;
  color: #6b645c;
}

.ghost-link svg,
.cart-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.ghost-link:hover,
.cart-link:hover {
  color: var(--gold-deep);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.nav-toggle,
.nav-toggle-btn {
  display: none;
}

.hero {
  width: 100%;
  margin: 0;
  height: 350px;
}

.hero-main {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 0;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 62, 92, 0.72) 0%, rgba(18, 62, 92, 0.18) 48%, transparent 70%);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide--1 {
  background-image: url("../img/shopping_banner_0.avif");
}


.hero-slide--2 {
  background-image: url("../img/shopping_banner_2.png");
}

.hero-slide--3 {
  background-image: url("../img/shopping_banner_3.png");
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  height: 100%;
  padding: 56px 88px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: #fff;
}

.hero-arrow--prev {
  left: 16px;
}

.hero-arrow--next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.hero-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.16em;
  font-size: 12px;
  opacity: 0.9;
}

.hero-copy h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.hero-sub {
  margin: 12px 0 22px;
  font-size: 15px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-badges li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-seafood {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 18%);
}

.floor-cards {
  width: 95%;
  margin: 24px auto 28px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.floor-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 0 22px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  /* 佔位底色／漸層，之後可替換為客戶提供的底圖（background-image） */
  background-size: cover;
  background-position: center;
}

.floor-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 29px;
}

.floor-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floor-card strong {
  font-size: 20px;
}

.floor-card em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

.floor-arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-arrow svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
}

.floor-card--blue {
  background-color: var(--navy);
  background-image: linear-gradient(135deg, #24628a, #123e5c);
}

.floor-card--orange {
  background-color: var(--orange);
  background-image: linear-gradient(135deg, #e29a58, #c56a2a);
}

.floor-card--cream {
  background-color: var(--gold);
  background-image: linear-gradient(135deg, #c9a87e, #9a6d3d);
}

.floor,
.site-footer {
  scroll-margin-top: 88px;
}

.floor {
  width: 95%;
  margin: 0 auto 56px;
  padding: 28px;
  border-radius: 28px;
  background: var(--bg-soft);
}

.floor--ready,
.floor--beauty {
  background: #fffdf8;
}

.floor-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.floor-label {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 12px;
}

.floor h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 32px;
  color: var(--navy);
}

.floor--ready h2 {
  color: #c56a2a;
}

.floor--beauty h2 {
  color: #9a6d3d;
}

.floor-desc {
  margin: 12px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.more-link {
  color: var(--ocean);
  font-weight: 600;
}

.promo-banner {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border-radius: 22px;
}

.promo-banner img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.promo-copy {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.promo-copy p {
  margin: 0 0 4px;
  font-size: 22px;
}

.promo-copy h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
}

.promo-copy--script p,
.promo-copy--script h3 {
  font-family: "Noto Serif TC", serif;
}

.promo-tag {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-size: 12px;
  line-height: 1.4;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-grid--two {
  grid-template-columns: repeat(5, 1fr);
  justify-items: stretch;
}

.product-grid--two .product-card:nth-child(n + 3) {
  display: none;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 12px;
}

.product-thumb {
  height: 150px;
  overflow: hidden;
  background: #eef3f6;
}

.product-thumb--beauty {
  background: #f4efe7;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card h3 {
  margin: 12px 12px 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.product-card p {
  margin: 0 12px 10px;
  color: var(--muted);
  font-size: 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.price {
  color: var(--gold-deep);
  font-weight: 700;
}

.cart-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3eee6;
  cursor: pointer;
}

.site-footer {
  background: #2b241c;
  color: #efe7da;
  padding: 40px 0 24px;
}

/* ---------- footer ---------- */
.footer {
  background-color: #1a2b4c; /* 您指定的深藍色底 */
  color: #ffffff;
  padding: 60px 20px 40px 20px;
  font-family: "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 1px;
}

.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* 💡 關鍵修改：改為居中對齊 */
  align-items: flex-start;
  gap: 80px; /* 💡 設定欄位與欄位間距，在大螢幕下均勻散開 */
  padding-bottom: 40px;
}

/* 核心欄位共同樣式 */
.footer-column {
  /* 💡 移除原本的 flex:1，改用內容寬度，避免左側區塊被強行拉大造成偏左 */
  flex: 0 1 auto; 
}

/* 左欄：Logo與社群 */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.footer-logo img {
  max-height: 52px;
  width: auto;
  display: block;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #b89742; /* 金色外框 */
  border-radius: 50%; /* 圓形外框 */
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #b89742; /* 金色 Font Awesome 圖標 */
  transition: fill 0.2s ease;
}
.icon-btn:hover {
  background-color: #b89742; /* 滑鼠移入時，金色填滿圓框 */
}
.icon-btn:hover svg {
  fill: #1a2b4c; /* 滑鼠移入時，圖標變為深藍色 */
}

/* 中欄：關係企業 */
.company-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.company-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  white-space: nowrap; /* 避免文字意外斷行 */
}

/* 右欄：聯絡資訊 */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
/* Font Awesome 聯絡小圖標樣式 */
.contact-list .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
}
.contact-list .icon svg {
  width: 16px;
  height: 16px;
  fill: #b89742; /* 您指定的金色圖標顏色 */
}
.contact-list .text {
  white-space: nowrap;
}

/* 版權宣告 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.social-icons {
  display: flex;
  gap: 30px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* 金色圓角方形外框，大小適中穩定 */
  width: 36px;
  height: 36px;
  background-color: #b89742; 
  border-radius: 12px;
  
  text-decoration: none;
  transition: transform 0.2s ease;
}

/* 讓內部左右兩個 SVG 完美置中，大小固定為 24px */
.icon-btn svg {
  width: 26px;        /* 👈 在這裡改大小才有反應！ */
  height: 26px;       /* 👈 在這裡改大小才有反應！ */
  fill: #1a2b4c;      /* 確保圖標維持深藍色線條 */
  display: block;
}

/* 💡 專門控制中間 LINE 純文字的魔術樣式 */
.line-text-btn span {
  color: #1a2b4c;          /* 完美的深藍色字體 */
  font-family: "Arial Black", "Impact", sans-serif; /* 💡 強制使用世界上最粗、最硬挺的英文字型 */
  font-size: 22px;         /* 字體大小，可改 13px 或 15px 直到您覺得最舒服 */
  font-weight: 900;        /* 絕對極粗體 */
  letter-spacing: -0.5px;  /* 讓英文字母緊湊一點，更像官方 Logo */
  line-height: 1;
  display: block;
}

/* 滑鼠懸停微放大 */
.icon-btn:hover {
  transform: scale(1.08);
}

.icon {
  font-size:60px;
  font-weight: bold;
  width: 26px;        
  height: 26px;      
  border-color:#b89742;      
  display: block;
}

/* ----------------------------------------- */

.copyright {
  margin: 0;
  text-align: center;
  color: #b9ae9c;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .product-grid,
  .product-grid--two {
    grid-template-columns: repeat(3, 1fr);
  }

  .floor-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle-btn span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle:checked ~ .main-nav,
  .nav-toggle:checked ~ .header-actions {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 16px;
  }

  .floor-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
  }

  .hero-main {
    height: 280px;
  }

  .hero-seafood {
    width: 100%;
    opacity: 0.35;
  }

  .hero-copy {
    padding: 36px 24px;
  }

  .product-grid,
  .product-grid--two {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid,
  .product-grid--two {
    grid-template-columns: 1fr;
  }
}
