:root {
      --main: #4a230f;
      --bg: #faf7f2;
      --border: #e8dfd3;
      --text: #111827;
      --muted: #6b7280;
      --accent: #b45309;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      background: var(--bg);
      color: var(--text);
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(255,255,255,0.94);
      border-bottom: 1px solid var(--border);
      backdrop-filter: blur(10px);
    }
    .site-header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 10px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }
    .brand-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: #111827;
      min-width: 0;
    }
    .brand-link img { width: 28px; height: 28px; object-fit: contain; }
    .brand-link span {
      font-weight: 600;
      font-size: 16px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .header-right {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .menu-shell {
      position: relative;
    }
    .menu-trigger {
      border: 1px solid #d7dadd;
      border-radius: 12px;
      background: #fff;
      color: #4b5563;
      font-size: 14px;
      font-weight: 400;
      min-height: 42px;
      padding: 9px 14px;
      line-height: 1.2;
      cursor: pointer;
    }
    .menu-trigger:hover {
      background: #f8fafc;
    }
    .menu-panel {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      min-width: 260px;
      background: #fff;
      border: 1px solid #e8dfd3;
      border-radius: 14px;
      box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
      padding: 10px;
      display: none;
      z-index: 50;
    }
    .menu-panel.is-open {
      display: grid;
      gap: 4px;
    }
    .menu-section-title {
      margin: 2px 4px 0;
      color: #6b7280;
      font-size: 11px;
      letter-spacing: 0.8px;
      font-weight: 600;
    }
    .menu-section-divider {
      margin: 6px 4px;
      height: 1px;
      background: #ece6dc;
      border-radius: 999px;
    }
    .menu-panel a {
      text-decoration: none;
      color: #374151;
      font-size: 14px;
      padding: 10px 12px;
      border-radius: 10px;
      line-height: 1.25;
      min-height: 42px;
      display: flex;
      align-items: center;
    }
    .menu-panel a.is-active {
      color: #111827;
      background: rgba(0, 0, 0, 0.06);
      font-weight: 600;
    }
    .menu-item-disabled {
      color: #9ca3af;
      font-size: 14px;
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px dashed #d1d5db;
      background: #f3f4f6;
      cursor: default;
      user-select: none;
      opacity: 0.9;
    }
    .menu-panel a:hover {
      background: #f7f7f7;
      color: #111827;
    }
    .menu-backdrop {
      position: fixed;
      inset: 0;
      border: 0;
      margin: 0;
      padding: 0;
      background: rgba(17, 24, 39, 0.28);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.16s ease;
      z-index: 45;
    }
    .menu-backdrop.is-open {
      opacity: 1;
      pointer-events: auto;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px 64px;
    }
    .content-shell {
      padding: 32px 24px;
    }
    .top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .top-actions {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .top-admin-action {
      text-decoration: none;
      color: var(--main);
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 10px;
      min-height: 42px;
      padding: 10px 14px;
      font-size: 14px;
      line-height: 1.2;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
    }
    .top-admin-action:hover {
      background: rgba(17, 24, 39, 0.04);
    }
    .category-row {
      margin-bottom: 12px;
    }
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
      border: 0;
      color: var(--main);
      border-radius: 10px;
      padding: 6px 2px;
      font-size: 14px;
      font-weight: 500;
    }
    .back-link:hover {
      background: rgba(17, 24, 39, 0.04);
      padding-left: 12px;
      padding-right: 12px;
    }
    .back-link-icon {
      font-size: 16px;
      line-height: 1;
    }
    .category-pill {
      display: inline-flex;
      align-items: center;
      background: var(--main);
      color: #fff;
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 14px;
    }
    .page-title {
      margin: 0 0 14px;
      font-size: clamp(30px, 3vw, 32px);
      line-height: 1.2;
      letter-spacing: 0.01em;
      color: #111827;
      font-weight: 400;
    }
    .hero-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
      align-items: start;
    }
    .hero-visual {
      position: relative;
      z-index: 1;
    }
    .hero-visual img {
      width: 100%;
      aspect-ratio: 1 / 1;
      border-radius: 16px;
      object-fit: cover;
      max-height: none;
      background: #fff;
      box-shadow: 0 14px 30px rgba(74, 35, 15, 0.05);
    }
    .thumbnail-panel {
      margin-top: 16px;
      position: relative;
      z-index: 3;
      pointer-events: auto;
    }
    .thumbnail-panel h3 {
      margin: 0 0 8px;
      color: #111827;
      font-size: 16px;
      font-weight: 500;
    }
    .thumb-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      position: relative;
      z-index: 3;
      pointer-events: auto;
    }
    .thumb-btn {
      border: 2px solid #d6d3d1;
      border-radius: 12px;
      padding: 0;
      overflow: hidden;
      background: #fff;
      width: 120px;
      height: 120px;
      cursor: pointer;
      position: relative;
      z-index: 3;
      pointer-events: auto;
      touch-action: manipulation;
      transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
    }
    .thumb-btn:hover {
      border-color: #b8b2aa;
      transform: translateY(-1px);
      box-shadow: 0 6px 14px rgba(17, 24, 39, 0.1);
    }
    .thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .thumb-btn.is-active {
      border-color: var(--main);
      outline: 3px solid rgba(74, 35, 15, 0.32);
      outline-offset: 1px;
      box-shadow: 0 0 0 6px rgba(74, 35, 15, 0.22), 0 14px 26px rgba(74, 35, 15, 0.22);
      transform: translateY(-2px) scale(1.01);
    }
    .desc {
      margin: 0 0 18px;
      color: #666666;
      font-size: 16px;
      line-height: 1.55;
    }
    .price-row {
      display: flex;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 12px;
      margin: 0 0 20px;
    }
    .price-main {
      display: inline-flex;
      border-radius: 16px;
      padding: 11px 18px;
      font-size: clamp(24px, 2.8vw, 32px);
      font-weight: 600;
      color: var(--main);
      background: rgba(255, 255, 255, 0.92);
      box-shadow: inset 0 0 0 1px #efe6dc;
      line-height: 1;
    }
    .price-ffclub {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      color: #b45309;
      font-weight: 600;
      padding-bottom: 3px;
      animation: bolt-blink 0.9s ease-in-out infinite alternate;
    }
    .price-ffclub::before {
      content: "⚡";
      font-size: 12px;
      line-height: 1;
    }
    .hint {
      margin: 0 0 20px;
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 7px;
    }
    .hint-action {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      border-radius: 12px;
      background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
      border: 1.5px solid #f59e0b;
      color: #111827;
      padding: 8px 14px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 8px 16px rgba(217, 119, 6, 0.26);
      transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
      animation: hint-pulse 1.1s ease-in-out infinite alternate;
    }
    .hint-action::after {
      content: "›";
      font-size: 18px;
      line-height: 1;
      margin-left: 2px;
    }
    .hint-action:hover {
      filter: brightness(1.02);
      transform: translateY(-1px);
      box-shadow: 0 12px 22px rgba(217, 119, 6, 0.3);
    }
    .hint-action.is-static {
      cursor: default;
      pointer-events: none;
      background: #fff8ed;
      border-color: #f7c98e;
      color: #6b2a13;
      box-shadow: 0 6px 16px rgba(247, 201, 142, 0.16);
      animation: none;
    }
    .hint-action.is-static::after {
      content: "";
      display: none;
    }
    .hint-action.is-static:hover {
      filter: none;
      transform: none;
      box-shadow: 0 6px 16px rgba(247, 201, 142, 0.16);
    }
    .hint-action .bolt-icon {
      color: #7c2d12;
      font-size: 16px;
      line-height: 1;
      animation: bolt-blink 0.9s ease-in-out infinite alternate;
    }
    .hint-action.is-static .bolt-icon {
      animation: none;
    }
    .hint-sub {
      font-size: 12px;
      color: #7a4b2c;
      line-height: 1.45;
      font-weight: 700;
    }
    .inline-section { margin-top: 18px; }
    .supply-notice {
      margin: 0 0 16px;
      padding: 16px;
      border: 1px solid #f5c38b;
      border-radius: 16px;
      background: #fff7ed;
    }
    .supply-notice h3 {
      margin: 0 0 8px;
      color: #9a3412;
      font-size: 20px;
      font-weight: 700;
    }
    .supply-notice p {
      margin: 0;
      color: #7c2d12;
      font-size: 16px;
      line-height: 1.55;
    }
    .supply-notice-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 12px;
    }
    .supply-link {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      border: 1px solid #d1d5db;
      border-radius: 12px;
      background: #fff;
      color: var(--main);
      padding: 10px 16px;
      font-size: 14px;
      line-height: 1.4;
    }
    .supply-link:hover {
      background: rgba(17, 24, 39, 0.03);
    }
    .inline-section h3 {
      margin: 0 0 8px;
      font-size: 18px;
      font-weight: 400;
      color: #111827;
    }
    .variant-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .variant-chip {
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 12px;
      padding: 11px 12px;
      display: inline-flex;
      flex-direction: column;
      gap: 6px;
      align-items: flex-start;
      min-width: 236px;
      text-align: left;
      color: #111827;
      cursor: pointer;
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }
    .variant-chip:hover {
      border-color: #d4c6b5;
    }
    .variant-chip.is-active {
      border-color: var(--main);
      box-shadow: 0 0 8px rgba(74, 35, 15, 0.14);
    }
    .variant-chip-title-wrap {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .variant-chip-check {
      width: 16px;
      height: 16px;
      margin-top: 2px;
      border-radius: 999px;
      border: 1px solid #d1d5db;
      color: transparent;
      font-size: 11px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      background: #fff;
    }
    .variant-chip.is-active .variant-chip-check {
      border-color: var(--main);
      background: var(--main);
      color: #fff;
    }
    .variant-chip-title { font-size: 14px; font-weight: 600; }
    .variant-chip-detail {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
      min-height: 20px;
      padding-left: 23px;
    }
    .variant-chip-sub {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.35;
    }
    .variant-chip-ffclub {
      font-size: 12px;
      color: #b45309;
      padding: 0;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      line-height: 1.25;
    }
    .variant-chip-ffclub .bolt-icon {
      color: #b45309;
      font-size: 12px;
      line-height: 1;
      animation: bolt-blink 0.9s ease-in-out infinite alternate;
    }
    @keyframes bolt-blink {
      from { opacity: 0.45; }
      to { opacity: 1; }
    }
    @keyframes hint-pulse {
      from { transform: scale(0.985); }
      to { transform: scale(1.015); }
    }
    .quantity-shell {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
      height: 46px;
    }
    .qty-btn {
      width: 44px;
      height: 42px;
      border: 0;
      background: #fff;
      color: #6b7280;
      font-size: 18px;
      cursor: pointer;
    }
    .qty-value {
      width: 56px;
      height: 42px;
      border-left: 1px solid #ece7df;
      border-right: 1px solid #ece7df;
      display: inline-block;
      font-size: 15px;
      font-weight: 500;
      color: #111827;
      text-align: center;
      background: #fff;
      outline: none;
      appearance: textfield;
      -moz-appearance: textfield;
      padding: 0;
    }
    .qty-value::-webkit-outer-spin-button,
    .qty-value::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    .cta-group {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      border: 1px solid transparent;
      border-radius: 10px;
      padding: 10px 24px;
      font-size: 14px;
      font-weight: 400;
      min-height: 42px;
      height: 42px;
      background: #fff;
      color: #111827;
      cursor: pointer;
      transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }
    #tk-cta-add,
    #tk-cta-buy { min-width: 160px; }
    #tk-cta-share,
    .btn-outline {
      border-color: #d1d5db;
      background: #fff;
    }
    .btn-outline:hover {
      background: rgba(17, 24, 39, 0.03);
    }
    .btn-primary {
      background: var(--main);
      border-color: var(--main);
      color: #fff;
      box-shadow: 0 6px 14px rgba(74, 35, 15, 0.2);
    }
    .btn-primary:hover {
      filter: brightness(1.04);
    }
    .btn:active {
      transform: translateY(1px);
    }
    .btn.is-loading {
      opacity: 0.72;
      pointer-events: none;
    }
    .is-hidden {
      display: none !important;
    }
    .ingredient-list p {
      margin: 0 0 6px;
      color: #4b5563;
      font-size: 14px;
    }
    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .tag-pill {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 24px;
      color: var(--main);
      background: rgba(17, 24, 39, 0.05);
      font-size: 13px;
      font-weight: 500;
      transition: background 0.15s ease, transform 0.15s ease;
    }
    .tag-pill:hover {
      background: rgba(17, 24, 39, 0.08);
      transform: translateY(-1px);
    }
    .site-footer {
      margin-top: 32px;
      background: transparent;
    }
    .footer-inner {
      max-width: 1440px;
      margin: 0 auto;
      padding: 12px 12px 104px;
      display: grid;
      gap: 20px;
    }
    .brand-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
    }
    .brand-card {
      background: #fff;
      border: 1px solid #e7dacb;
      border-radius: 24px;
      padding: 32px 34px 30px;
      display: grid;
      gap: 18px;
    }
    .brand-slogan {
      margin: 0;
      display: inline-flex;
      width: fit-content;
      align-items: center;
      min-height: 40px;
      background: var(--main);
      color: #fff;
      border-radius: 999px;
      padding: 0 18px;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    .brand-title {
      margin: 0;
      color: var(--main);
      font-size: clamp(28px, 2.8vw, 36px);
      line-height: 1.18;
      letter-spacing: -0.02em;
    }
    .brand-desc {
      margin: 0;
      width: 100%;
      box-sizing: border-box;
      color: #6b7280;
      font-size: 14px;
      line-height: 1.85;
      background: #fffaf5;
      border: 1px solid #e7dacb;
      border-radius: 18px;
      padding: 16px 18px;
    }
    .contact-list {
      display: grid;
      gap: 10px;
    }
    .contact-list p {
      margin: 0;
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr);
      gap: 14px;
      align-items: start;
      font-size: 14px;
      line-height: 1.65;
    }
    .contact-list span {
      color: #7b8190;
      font-weight: 500;
    }
    .contact-list a {
      text-decoration: none;
      color: #4b5563;
      overflow-wrap: anywhere;
    }
    .social-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 4px;
    }
    .social-buttons a {
      text-decoration: none;
      color: var(--main);
      border: 1px solid #decdb9;
      background: #fff;
      border-radius: 14px;
      padding: 10px 14px;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.2;
    }
    .legal-row {
      border: 1px solid #e7dacb;
      background: #fff;
      border-radius: 24px;
      padding: 20px 34px;
      display: flex;
      gap: 16px;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }
    .legal-controls {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }
    .admin-link {
      text-decoration: none;
      color: var(--main);
      border: 1px solid #decdb9;
      background: #fff;
      border-radius: 14px;
      padding: 10px 16px;
      font-size: 14px;
      line-height: 1.2;
      font-weight: 600;
    }
    .admin-link:hover {
      background: #fff8f0;
    }
    .legal-links {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
    }
    .legal-links a {
      color: var(--main);
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
    }
    .copyright {
      margin: 0;
      color: #8b95a7;
      font-size: 14px;
    }
    @media (min-width: 641px) {
      .content-shell {
        padding: 32px;
      }
      .hero-shell {
        gap: 32px;
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
      }
      .hero-visual { order: 2; }
      .hero-info { order: 1; }
      .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (max-width: 640px) {
      .container {
        padding-left: 12px;
        padding-right: 12px;
      }
      .content-shell {
        padding: 24px 16px 28px;
      }
      .header-right {
        width: 100%;
      }
      .menu-shell {
        flex: 1 1 100%;
      }
      .menu-trigger {
        width: 100%;
      }
      .menu-panel {
        position: fixed;
        top: 56px;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        box-shadow: none;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        z-index: 60;
      }
      .menu-backdrop {
        top: 56px;
        z-index: 55;
      }
      .top-row {
        align-items: center;
        justify-content: space-between;
      }
      .back-link {
        width: auto;
        justify-content: flex-start;
      }
      .top-admin-action {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 13px;
      }
      .btn {
        width: 100%;
      }
      .thumb-btn {
        width: calc((100% - 12px) / 2);
        max-width: 120px;
        height: auto;
        aspect-ratio: 1 / 1;
      }
      .variant-chip {
        min-width: 100%;
      }
      .brand-link span {
        font-size: 14px;
      }
      .footer-inner {
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 92px;
        gap: 16px;
      }
      .brand-card {
        padding: 22px 18px;
        border-radius: 20px;
        gap: 14px;
      }
      .brand-slogan {
        min-height: 36px;
        padding: 0 14px;
        font-size: 13px;
      }
      .brand-title {
        font-size: 22px;
      }
      .brand-desc {
        padding: 14px;
        border-radius: 16px;
      }
      .contact-list p {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
      }
      .social-buttons a,
      .admin-link {
        border-radius: 12px;
        padding: 9px 12px;
        font-size: 13px;
      }
      .legal-row {
        padding: 18px;
        border-radius: 20px;
      }
      .legal-controls {
        width: 100%;
        gap: 12px;
      }
      .copyright {
        width: 100%;
        text-align: right;
      }
      .page-title {
        font-size: 32px;
        line-height: 1.2;
      }
    }
    @media (max-width: 320px) {
      .container {
        padding-left: 8px;
        padding-right: 8px;
      }
      .content-shell {
        padding-left: 8px;
        padding-right: 8px;
      }
    }
