  * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
  }
:root {
   --dark-bg: #1a1410;
   --dark-card: #242018;
   --gold: #c9a961;
   --gold-light: #d4b87a;
   --text-primary: #e8dcc8;
   --text-secondary: #8b8680;
   --text-muted: #6b6560;
   --border-color: #c9a961;
  }
  html {
   scroll-behavior: smooth;
  }
  body {
   background-color: var(--dark-bg);
   color: var(--text-primary);
   font-family: 'Noto Serif TC', serif;
   line-height: 1.6;
   overflow-x: hidden;
  }
  .container {
   max-width: 1280px;
   margin: 0 auto;
   padding: 0 1rem;
  }
  @media (min-width: 768px) {
   .container {
    padding: 0 1.5rem;
   }
  }
  @media (min-width: 1024px) {
   .container {
    padding: 0 2rem;
   }
  }

  /* navbar */
  header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 50;
   background: rgba(26, 20, 16, 0.95);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(201, 169, 97, 0.2);
   transition: all 0.3s ease;
  }
  header.scrolled {
   background: rgba(26, 20, 16, 0.98);
  }
  .navbar {
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 5rem;
   padding: 0 1rem;
  }
  @media (min-width: 1024px) {
   .navbar {
    padding: 0 2rem;
   }
  }
  .logo-section {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   cursor: pointer;
   text-decoration: none;
   color: inherit;
  }
  .logo-img {
   width: 2.5rem;
   height: 2.5rem;
   object-fit: contain;
  }
  @media (min-width: 1024px) {
   .logo-img {
    width: 3rem;
    height: 3rem;
   }
  }
  .logo-text h1 {
   font-size: 1.125rem;
   font-weight: 500;
   color: var(--gold);
   letter-spacing: 0.15em;
   line-height: 1.2;
   margin-bottom: 0.25rem;
  }
  .logo-text p {
   font-size: 0.75rem;
   color: var(--text-secondary);
   letter-spacing: 0.12em;
   font-family: 'Cormorant Garamond', serif;
   font-style: italic;
  }
  nav {
   display: none;
   gap: 2rem;
   align-items: center;
  }
  @media (min-width: 1024px) {
   nav {
    display: flex;
   }
  }
  nav a {
   color: var(--text-primary);
   text-decoration: none;
   font-size: 0.875rem;
   letter-spacing: 0.08em;
   transition: color 0.2s ease;
  }
  nav a:hover, .nav-link:hover {
   color: var(--gold);
  }
  .nav-link {
   position: relative;
   padding-bottom: 0.25rem;
  }
  .nav-link::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 1px;
   background: var(--gold);
   transition: width 0.3s ease;
  }
  .nav-link:hover::after {
   width: 100%;
  }
  .cta-button {
   display: none;
   background: transparent;
   border: 1px solid var(--gold);
   color: var(--gold);
   padding: 0.5rem 1.5rem;
   font-size: 0.75rem;
   letter-spacing: 0.08em;
   cursor: pointer;
   font-family: 'Noto Serif TC', serif;
   transition: all 0.2s ease;
  }
  @media (min-width: 1024px) {
   .cta-button {
    display: block;
   }
  }
  .cta-button:hover {
   background: var(--gold);
   color: var(--dark-bg);
  }
  .mobile-menu-btn {
   display: block;
   background: none;
   border: none;
   color: var(--gold);
   font-size: 1.5rem;
   cursor: pointer;
   padding: 0.5rem;
  }
  @media (min-width: 1024px) {
   .mobile-menu-btn {
    display: none;
   }
  }

  /* hero */
  .hero {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--dark-bg);
   overflow: hidden;
   margin-top: 5rem;
  }
  .hero::before {
   content: '';
   position: absolute;
   inset: 0;
   background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663758041256/GazYRwsorFyaaNDtXG46tq/hero_bg-ehs6jYsU4eFDrTFUonBph6.webp');
   background-size: cover;
   background-position: center;
   opacity: 0.7;
   z-index: 0;
  }
  .hero::after {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to bottom, rgba(26,20,16,0.4) 0%, rgba(26,20,16,0.2) 40%, rgba(26,20,16,0.6) 80%, rgba(26,20,16,1) 100%);
   z-index: 1;
  }
  .hero-content {
   position: relative;
   z-index: 2;
   text-align: center;
   max-width: 56rem;
   padding: 0 1.5rem;
  }
  .hero-logo {
   width: 5rem;
   height: 5rem;
   margin: 0 auto 2rem;
   object-fit: contain;
   filter: drop-shadow(0 0 20px rgba(201,169,97,0.4));
   animation: fadeInUp 0.8s ease 0.2s both;
  }
  .hero-subtitle {
   font-family: 'Cormorant Garamond', serif;
   font-size: 0.875rem;
   letter-spacing: 0.3em;
   color: var(--gold);
   font-style: italic;
   margin-bottom: 1rem;
   animation: fadeInUp 0.8s ease 0.4s both;
  }
  .hero-title {
   font-size: 3rem;
   font-weight: 300;
   letter-spacing: 0.2em;
   margin-bottom: 1.5rem;
   line-height: 1.2;
   animation: fadeInUp 0.8s ease 0.5s both;
  }
  @media (min-width: 768px) {
   .hero-title {
    font-size: 4rem;
   }
  }
  @media (min-width: 1024px) {
   .hero-title {
    font-size: 5rem;
   }
  }
  .hero-tagline {
   font-size: 1.125rem;
   letter-spacing: 0.25em;
   color: var(--gold);
   font-weight: 300;
   margin-bottom: 0.75rem;
   animation: fadeInUp 0.8s ease 0.65s both;
  }
  .hero-description {
   font-size: 0.875rem;
   letter-spacing: 0.1em;
   color: var(--text-secondary);
   margin-bottom: 3rem;
   animation: fadeInUp 0.8s ease 0.75s both;
  }
  .gold-line {
   width: 6rem;
   height: 1px;
   background: linear-gradient(90deg, transparent, var(--gold), transparent);
   margin: 0 auto 3rem;
   animation: fadeInUp 0.8s ease 0.8s both;
  }
  .hero-buttons {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   animation: fadeInUp 0.8s ease 0.9s both;
  }
  @media (min-width: 640px) {
   .hero-buttons {
    flex-direction: row;
    justify-content: center;
   }
  }
  .btn-gold, .btn-secondary {
   background: transparent;
   font-family: 'Noto Serif TC', serif;
   cursor: pointer;
   transition: all 0.2s ease;
   padding: 1rem 2.5rem;
   font-size: 0.875rem;
   letter-spacing: 0.08em;
  }
  .btn-gold {
   border: 1px solid var(--gold);
   color: var(--gold);
   flex: 1;
  }
  .btn-gold:hover {
   background: var(--gold);
   color: var(--dark-bg);
  }
  .btn-secondary {
   border: 1px solid rgba(201,169,97,0.25);
   color: var(--text-secondary);
   flex: 1;
  }
  .btn-secondary:hover {
   border-color: var(--gold);
   color: var(--gold);
  }
  
  /* categories */
  .categories-section {
   padding: 6rem 0;
   background: #0f0d0a;
  }
  .categories-grid {
   display: grid;
   grid-template-columns: repeat(2,1fr);
   gap: 1rem;
  }
  @media (min-width: 1024px) {
   .categories-grid {
    grid-template-columns: repeat(5,1fr);
   }
  }
  .category-card {
   position: relative;
   overflow: hidden;
   cursor: pointer;
   aspect-ratio: 3/4;
   border: 1px solid rgba(201,169,97,0.15);
   transition: all 0.3s ease;
   animation: fadeInUp 0.8s ease both;
  }
  .category-card:hover {
   border-color: rgba(201,169,97,0.5);
  }
  .category-card img {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.7s ease;
  }
  .category-card:hover img {
   transform: scale(1.1);
  }
  .category-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(26,20,16,0.9) 0%, rgba(26,20,16,0.4) 50%, rgba(26,20,16,0.2) 100%);
  }
  .category-content {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 1rem;
   text-align: center;
  }
  .category-name {
   font-size: 0.9rem;
   font-weight: 500;
   color: var(--text-primary);
   letter-spacing: 0.15em;
   margin-bottom: 0.25rem;
  }
  .category-en {
   font-size: 0.75rem;
   color: var(--gold);
   font-family: 'Cormorant Garamond', serif;
   font-style: italic;
   letter-spacing: 0.1em;
  }

 /* story */
  .story-container {
   max-width: 56rem;
   margin: 0 auto;
  }
  .story-header {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 1rem;
   margin-bottom: 3rem;
  }
  .story-header .gold-line {
   flex: 1;
   max-width: 6rem;
   margin: 0;
  }
  .story-logo {
   width: 4rem;
   height: 4rem;
   object-fit: contain;
   filter: drop-shadow(0 0 15px rgba(201,169,97,0.3));
  }
  .story-text {
   color: var(--text-secondary);
   line-height: 2.2;
   letter-spacing: 0.05em;
   font-size: 0.95rem;
   text-align: left;
  }
  .story-text p {
   margin-bottom: 1.5rem;
  }
  .trust-section {
   padding: 4rem 0;
   background: #0f0d0a;
   border-top: 1px solid rgba(201,169,97,0.15);
   border-bottom: 1px solid rgba(201,169,97,0.15);
  }
  .trust-grid {
   display: grid;
   grid-template-columns: repeat(2,1fr);
   gap: 2rem;
   text-align: center;
  }
  @media (min-width: 1024px) {
   .trust-grid {
    grid-template-columns: repeat(4,1fr);
   }
  }
  .trust-item h3 {
   font-size: 1.875rem;
   font-weight: 300;
   color: var(--gold);
   letter-spacing: 0.1em;
   margin-bottom: 0.25rem;
  }
  .trust-item p {
   font-size: 0.875rem;
   color: var(--text-primary);
   letter-spacing: 0.12em;
   margin-bottom: 0.5rem;
  }
  .trust-item .trust-sub {
   font-size: 0.75rem;
   color: var(--text-muted);
   font-family: 'Cormorant Garamond', serif;
   font-style: italic;
  }

  /* footer */
  footer {
   background: #0a0805;
   border-top: 1px solid rgba(201,169,97,0.2);
   padding: 4rem 0 2rem;
  }
  .footer-content {
   display: grid;
   grid-template-columns: 1fr;
   gap: 3rem;
   margin-bottom: 4rem;
  }
  @media (min-width: 1024px) {
   .footer-content {
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
   }
  }
  .footer-brand {
   grid-column: 1 / -1;
  }
  @media (min-width: 1024px) {
   .footer-brand {
    grid-column: span 2;
   }
  }
  .footer-brand-title {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   margin-bottom: 1.5rem;
  }
  .footer-brand-logo {
   width: 3rem;
   height: 3rem;
   object-fit: contain;
  }
  .footer-brand-text h3 {
   font-size: 1.125rem;
   font-weight: 500;
   color: var(--gold);
   letter-spacing: 0.15em;
  }
  .footer-description {
   font-size: 0.875rem;
   color: var(--text-secondary);
   line-height: 1.8;
   margin-bottom: 1.5rem;
   max-width: 360px;
  }
  .footer-section h4 {
   font-size: 0.875rem;
   font-weight: 500;
   color: var(--gold);
   letter-spacing: 0.15em;
   margin-bottom: 1.5rem;
  }
  .footer-section ul {
   list-style: none;
  }
  .footer-section li {
   margin-bottom: 0.75rem;
  }
  .footer-section a {
   font-size: 0.875rem;
   color: var(--text-secondary);
   text-decoration: none;
   transition: color 0.2s ease;
  }
  .footer-section a:hover {
   color: var(--gold);
  }
  .footer-bottom {
   border-top: 1px solid rgba(201,169,97,0.15);
   padding-top: 2rem;
   display: flex;
   flex-direction: column;
   gap: 1rem;
  }
  @media (min-width: 1024px) {
   .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
   }
  }
  .footer-copyright {
   font-size: 0.75rem;
   color: var(--text-muted);
   letter-spacing: 0.05em;
  }

  /* animations */
  @keyframes fadeInUp {
   from {
    opacity: 0;
    transform: translateY(2rem);
   }

   to {
    opacity: 1;
    transform: translateY(0);
   }
  }
  @keyframes fadeIn {
   from {
    opacity: 0;
   }

   to {
    opacity: 1;
   }
  }
  @media (prefers-reduced-motion: reduce) {
   * {
    animation-duration: 0.01ms !important;
   }
  }


  /* mobile menu */
  .mobile-menu {
   position: fixed;
   inset: 0;
   background: rgba(5,4,3,0.98);
   z-index: 9999;
   padding: 2rem;
   display: none;
   backdrop-filter: blur(14px);
   overflow-y: auto;
  }
  .mobile-menu.active {
   display: block;
  }
  .mobile-menu-header {
   display: flex;
   justify-content: space-between;
   padding-bottom: 1.5rem;
   border-bottom: 1px solid rgba(201,169,97,0.15);
   margin-bottom: 1.5rem;
  }
  .mobile-menu-close {
   background: none;
   border: none;
   color: var(--gold);
   font-size: 1.75rem;
   cursor: pointer;
  }
  .mobile-menu-links {
   display: flex;
   flex-direction: column;
   gap: 2rem;
   text-align: center;
   min-height: 70vh;
   justify-content: center;
  }
  .mobile-menu-links a {
   color: var(--text-primary);
   text-decoration: none;
   font-size: 1.5rem;
   letter-spacing: 0.12em;
   transition: color 0.2s ease;
  }
  .mobile-menu-links a:hover {
   color: var(--gold);
  }
  .mobile-menu-divider {
   width: 8rem;
   height: 1px;
   margin: 1rem auto;
   background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .mobile-menu-cta {
   margin-top: 2rem;
   width: 100%;
   background: transparent;
   border: 1px solid var(--gold);
   color: var(--gold);
   padding: 1rem;
   font-size: 1.5rem;
   letter-spacing: 0.12em;
   font-family: 'Noto Serif TC', serif;
   cursor: pointer;
  }
  @media (min-width: 1024px) {
   .mobile-menu {
    display: none !important;
   }
  }

  /* collections overlay */
  .collections-overlay {
   position: fixed;
   inset: 0;
   background: #050403;
   z-index: 9998;
   display: none;
   overflow-y: auto;
  }
  .collections-overlay.active {
   display: block;
  }
  .collections-hero {
   padding: 8rem 2rem 4rem;
   text-align: center;
   border-bottom: 1px solid rgba(201,169,97,0.15);
  }
  .collections-label {
   color: var(--gold);
   font-size: 0.9rem;
   letter-spacing: 0.45em;
   font-family: 'Cormorant Garamond', serif;
   margin-bottom: 2rem;
  }
  .collections-main-title {
   font-size: 1.7rem;
   font-weight: 300;
   letter-spacing: 0.18em;
   margin-bottom: 2rem;
   color: #f5f1ea;
  }
  .collections-line {
   width: 10rem;
   height: 1px;
   margin: 0 auto 2rem;
   background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .collections-count {
   font-size: 0.85rem;
   color: rgba(255,255,255,0.55);
   letter-spacing: 0.08em;
  }
  .collections-content {
   padding: 3rem 1.5rem 5rem;
  }
  .category-filter-grid {
   display: grid;
   grid-template-columns: repeat(3,1fr);
   gap: 1rem;
   margin-bottom: 3rem;
  }
  .filter-btn {
   height: 3.5rem;
   background: rgba(10,10,10,0.96);
   border: 1px solid rgba(181,138,74,0.28);
   color: rgba(255,255,255,0.6);
   font-size: 0.85rem;
   letter-spacing: 0.12em;
   font-family: 'Noto Serif TC', serif;
   cursor: pointer;
   transition: all 0.2s;
  }
  .filter-btn.active {
   border-color: #c9a961;
   color: #d8b36d;
   background: rgba(201,169,97,0.06);
  }
  .sort-row {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 3rem;
   flex-wrap: wrap;
  }
  .sort-label {
   color: rgba(255,255,255,0.5);
   font-size: 1rem;
  }
  .sort-select {
   height: 3.5rem;
   background: #0c0907;
   border: 1px solid rgba(181,138,74,0.28);
   color: rgba(255,255,255,0.8);
   padding: 0 1.5rem;
   font-size: 0.9rem;
   font-family: 'Noto Serif TC', serif;
   cursor: pointer;
  }
  .collections-divider {
   height: 1px;
   background: rgba(201,169,97,0.15);
   margin-bottom: 3rem;
  }
  @media (max-width: 640px) {
   .category-filter-grid {
    grid-template-columns: repeat(2,1fr);
   }

   .collections-main-title {
    font-size: 1.2rem;
   }
  }
  .close-collections-btn {
   position: fixed;
   top: 1.5rem;
   right: 1.5rem;
   color: var(--gold);
   font-size: 1rem;
   width: 2rem;
   height: 2rem;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   z-index: 10001;
   transition: all 0.2s;
  }
  .close-collections-btn:hover {
   background: var(--gold);
   color: #1a1410;
  }

  /* product modal */
  .product-modal {
   position: fixed;
   inset: 0;
   background: rgba(0,0,0,0.92);
   display: none;
   z-index: 10000;
   align-items: center;
   justify-content: center;
   padding: 10px;
  }
  .product-modal.active {
   display: flex;
  }
  .modal-box {
   background: #151515;
   width: min(1100px,95vw);
   max-height: 90vh;
   overflow: auto;
   border: 1px solid #c9a961;
   padding: 20px;
  }
  .modal-grid {
   display: grid;
   grid-template-columns: 1.2fr 1fr;
   gap: 20px;
  }
  .main-gallery img {
   width: 100%;
   max-height: 450px;
   object-fit: contain;
   background: #2a241e;
  }
  .thumb-row {
   display: flex;
   gap: 10px;
   margin-top: 15px;
   flex-wrap: wrap;
  }
  .thumb-row img {
   width: 60px;
   height: 60px;
   object-fit: cover;
   cursor: pointer;
   border: 1px solid #444;
   transition: 0.2s;
  }
  .thumb-row img:hover {
   border-color: var(--gold);
  }
  .close-modal {
   position: fixed;
   top: 4rem;
   right: 2rem;
   font-size: 30px;
   cursor: pointer;
   color: #c9a961;
   line-height: 0;
  }
  .modal-details h2 {
   font-size: 1.6rem;
   margin-bottom: 0.5rem;
   color: var(--gold);
  }
  .modal-details .meta {
   color: var(--text-secondary);
   margin-bottom: 1rem;
  }
  .modal-details .price {
   font-size: 1.5rem;
   color: var(--gold);
   margin: 1rem 0;
  }
  .modal-details .desc {
   color: var(--text-primary);
   line-height: 1.6;
   margin-top: 1rem;
   border-top: 1px solid rgba(201,169,97,0.3);
   padding-top: 1rem;
  }
  @media(max-width:768px) {
   .modal-grid {
    grid-template-columns: 1fr;
   }
  }

  /* toast */
  .toast-message {
   position: fixed;
   bottom: 2rem;
   left: 50%;
   transform: translateX(-50%);
   background: rgba(0,0,0,0.85);
   backdrop-filter: blur(12px);
   color: var(--gold);
   border: 1px solid var(--gold);
   padding: 0.75rem 1.5rem;
   border-radius: 40px;
   font-size: 0.9rem;
   z-index: 20000;
   letter-spacing: 0.08em;
   white-space: nowrap;
   pointer-events: none;
   animation: fadeInUp 0.2s ease;
  }
  
  .footer-tagline{
   font-size: 1rem;
   color: var(--text-muted);
   font-family: 'Cormorant Garamond', serif;
   font-style: italic;
  }