﻿@charset "UTF-8";
/* ===================================================================
   店家專屬頁 StoreInv.cshtml
   以「店家介紹」為主體，發票查詢改為單一外連按鈕。
   資料來源目前為 Google 試算表，之後改公司資料庫時只需換 JS 的取數來源。
   =================================================================== */
.page_store_inv {
  color: #17233a;
  background: #f6f8fc;
}
.page_store_inv .is-hidden {
  display: none !important;
}
@media (max-width: 720px) {
  .page_store_inv {
    padding-bottom: 76px;
  }
}
.page_store_inv {
  /* ============================================================
     1. 主視覺
     ------------------------------------------------------------
     不開放店家自傳背景圖。背景是「網格漸層」：JS 從商標抓主色後，
     寫入下面這幾個 --hero-* CSS 變數；沒有商標或抓色失敗時，
     var() 的第二個參數（也就是這裡寫死的預設藍）會自動生效，
     所以永遠有畫面，不會因為抓色失敗而開天窗。
     另外疊了一層固定的極淡網點紋理（見 &::before），
     不管背景色是什麼都會有一點質感，不會是死板的純漸層。
     ============================================================ */
}
.page_store_inv .store-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 32px;
  color: #fff;
  background: radial-gradient(circle at 80% -12%, var(--hero-accent, rgba(56, 189, 248, 0.55)), transparent 58%), radial-gradient(circle at -8% 112%, var(--hero-accent2, rgba(147, 51, 234, 0.4)), transparent 58%), linear-gradient(125deg, var(--hero-base1, #082f75), var(--hero-base2, #0874ed));
}
.page_store_inv .store-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.5px);
  background-position: 0 0;
  background-size: 18px 18px;
  opacity: 0.07;
  pointer-events: none;
}
.page_store_inv .store-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  align-items: center;
}
.page_store_inv .store-hero__logo {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  padding: 10px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(24, 61, 113, 0.12);
}
.page_store_inv .store-hero__logo img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.page_store_inv .store-hero__copy {
  flex: 1;
  min-width: 0;
}
.page_store_inv .store-hero__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}
.page_store_inv .store-hero__name {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.page_store_inv .store-hero__slogan {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.page_store_inv .store-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.page_store_inv .store-hero__chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 12px;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
.page_store_inv .store-hero__chip .material-icons {
  font-size: 15px;
}
.page_store_inv .store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page_store_inv {
  /* ============================================================
     2. 按鈕
     ============================================================ */
}
.page_store_inv .store-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.page_store_inv .store-btn .material-icons {
  font-size: 19px;
}
.page_store_inv .store-btn:hover, .page_store_inv .store-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}
.page_store_inv .store-btn--primary {
  color: #082f75;
  background: #fff;
  box-shadow: 0 10px 24px rgba(3, 24, 63, 0.28);
}
.page_store_inv .store-btn--primary:hover, .page_store_inv .store-btn--primary:focus {
  color: #082f75;
  background: #f4f8ff;
}
.page_store_inv .store-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}
.page_store_inv .store-btn--ghost:hover, .page_store_inv .store-btn--ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
.page_store_inv .store-btn.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
}
.page_store_inv {
  /* ============================================================
     3. 內容區
     ============================================================ */
}
.page_store_inv .store-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding: 28px 0 40px;
}
.page_store_inv .store-card {
  padding: 24px;
  color: #17233a;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(24, 61, 113, 0.08);
  margin-bottom: 20px;
}
.page_store_inv .store-card:last-child {
  margin-bottom: 0;
}
.page_store_inv .store-card h2 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #082f75;
}
.page_store_inv .store-card h2 .material-icons {
  font-size: 20px;
  color: #0874ed;
}
.page_store_inv .store-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.85;
  color: #17233a;
}
.page_store_inv .store-card p:last-child {
  margin-bottom: 0;
}
.page_store_inv .store-notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #7a4a00;
  background: #fff8e8;
  border: 1px solid #ffe0a6;
  border-radius: 10px;
}
.page_store_inv .store-notice .material-icons {
  flex: 0 0 auto;
  font-size: 20px;
  color: #ff8a3d;
}
.page_store_inv .store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.page_store_inv .store-tags li {
  padding: 6px 14px;
  font-size: 14px;
  color: #073f98;
  background: #f4f8ff;
  border: 1px solid rgba(8, 116, 237, 0.18);
  border-radius: 999px;
}
.page_store_inv .store-faq__item {
  padding: 14px 0;
  border-bottom: 1px dashed #dfe7f1;
}
.page_store_inv .store-faq__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.page_store_inv .store-faq__q {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: #082f75;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
}
.page_store_inv .store-faq__q .material-icons {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 20px;
  color: #60708a;
  transition: transform 0.2s ease;
}
.page_store_inv .store-faq__a {
  padding: 10px 0 0 26px;
  font-size: 15px;
  line-height: 1.85;
  color: #60708a;
}
.page_store_inv .store-faq__item.is-open .page_store_inv .store-faq__q .material-icons {
  transform: rotate(180deg);
}
.page_store_inv .store-claim__stage {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #073f98;
  background: #f4f8ff;
  border-radius: 999px;
}
.page_store_inv .store-claim__tip {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #7a4a00;
  background: #fff8e8;
  border-radius: 10px;
}
.page_store_inv .store-claim__tip .material-icons {
  flex: 0 0 auto;
  font-size: 18px;
  color: #ff8a3d;
}
.page_store_inv .store-claim__desc {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #60708a;
}
.page_store_inv .store-claim__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.page_store_inv .store-claim__item {
  padding: 12px 14px;
  background: #f4f8ff;
  border: 1px solid rgba(8, 116, 237, 0.14);
  border-radius: 10px;
}
.page_store_inv .store-claim__row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
}
.page_store_inv .store-claim__row + .store-claim__row {
  margin-top: 4px;
}
.page_store_inv .store-claim__row dt {
  flex: 0 0 62px;
  margin: 0;
  font-size: 12px;
  color: #60708a;
}
.page_store_inv .store-claim__row dd {
  margin: 0;
  color: #17233a;
  word-break: break-all;
}
.page_store_inv .store-claim__no {
  font-weight: 700;
  color: #073f98;
}
.page_store_inv .store-claim__empty {
  padding: 8px 0;
  font-size: 14px;
  color: #60708a;
}
.page_store_inv .store-demo-flag {
  background: rgba(255, 138, 61, 0.22);
  border-color: rgba(255, 138, 61, 0.5);
}
.page_store_inv {
  /* ============================================================
     4. 側欄
     ============================================================ */
}
.page_store_inv .store-aside {
  position: sticky;
  top: 20px;
}
.page_store_inv .store-info-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.page_store_inv .store-info-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #dfe7f1;
}
.page_store_inv .store-info-list li:first-child {
  padding-top: 0;
}
.page_store_inv .store-info-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.page_store_inv .store-info-list .material-icons {
  flex: 0 0 auto;
  font-size: 20px;
  color: #0874ed;
}
.page_store_inv .store-info-list dt, .page_store_inv .store-info-list .store-info-list__label {
  margin: 0 0 2px;
  font-size: 13px;
  color: #60708a;
}
.page_store_inv .store-info-list dd, .page_store_inv .store-info-list .store-info-list__value {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #17233a;
  word-break: break-word;
}
.page_store_inv .store-info-list dd a, .page_store_inv .store-info-list .store-info-list__value a {
  color: #075bd8;
}
.page_store_inv .store-social {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed #dfe7f1;
}
.page_store_inv .store-social__label {
  margin: 0 0 10px;
  font-size: 13px;
  color: #60708a;
}
.page_store_inv .store-social__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page_store_inv .store-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: #075bd8;
  background: #f4f8ff;
  border: 1px solid rgba(8, 116, 237, 0.18);
  border-radius: 50%;
  transition: background-color 0.15s ease;
}
.page_store_inv .store-social a:hover {
  color: #fff;
  background: #0874ed;
}
.page_store_inv .new-tag {
  display: none;
  padding: 1px 8px;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #b35900;
  vertical-align: middle;
  background: rgba(255, 138, 61, 0.16);
  border: 1px solid rgba(255, 138, 61, 0.45);
  border-radius: 999px;
}
.page_store_inv.show-new-tags .new-tag {
  display: inline-block;
}
.page_store_inv .store-branch select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 15px;
  color: #17233a;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
}
.page_store_inv {
  /* ============================================================
     5. 載入 / 查無資料
     ============================================================ */
}
.page_store_inv .store-state {
  padding: 56px 20px;
  text-align: center;
  color: #60708a;
}
.page_store_inv .store-state .material-icons {
  font-size: 40px;
  color: rgba(8, 116, 237, 0.5);
}
.page_store_inv .store-state h2 {
  margin: 12px 0 6px;
  font-size: 18px;
  color: #17233a;
}
.page_store_inv .store-state p {
  margin: 0;
  font-size: 15px;
}
.page_store_inv {
  /* ============================================================
     6. 手機固定底部 CTA
     ============================================================ */
}
.page_store_inv .store-cta-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #dfe7f1;
  box-shadow: 0 -6px 20px rgba(24, 61, 113, 0.1);
}
.page_store_inv .store-cta-bar .store-btn {
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
}
.page_store_inv .store-cta-bar .store-btn--primary {
  color: #fff;
  background: #0874ed;
  box-shadow: none;
}
.page_store_inv .store-cta-bar .store-btn--primary:hover, .page_store_inv .store-cta-bar .store-btn--primary:focus {
  color: #fff;
  background: #075bd8;
}
.page_store_inv .store-cta-bar .store-btn--ghost {
  color: #075bd8;
  background: #fff;
  border-color: #dfe7f1;
}
.page_store_inv .store-cta-bar .store-btn--ghost:hover, .page_store_inv .store-cta-bar .store-btn--ghost:focus {
  color: #075bd8;
  background: #f4f8ff;
}
.page_store_inv {
  /* ============================================================
     7. RWD
     ============================================================ */
}
@media (max-width: 960px) {
  .page_store_inv .store-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .page_store_inv .store-aside {
    position: static;
  }
}
@media (max-width: 720px) {
  .page_store_inv .store-hero {
    padding: 28px 0 24px;
  }
  .page_store_inv .store-hero__inner {
    gap: 16px;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  .page_store_inv .store-hero__logo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
  }
  .page_store_inv .store-hero__name {
    font-size: 25px;
  }
  .page_store_inv .store-hero__slogan {
    font-size: 15px;
  }
  .page_store_inv .store-hero__meta {
    justify-content: center;
  }
  .page_store_inv .store-hero__actions {
    display: none;
  }
  .page_store_inv .store-cta-bar {
    display: flex;
  }
  .page_store_inv .store-card {
    padding: 20px;
  }
}
@media (max-width: 520px) {
  .page_store_inv .store-hero__name {
    font-size: 22px;
  }
  .page_store_inv .store-card {
    padding: 16px;
  }
  .page_store_inv .store-card h2 {
    font-size: 17px;
  }
}
