/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #8B1A1A;
  --blue:   #1B2A4A;
  --green:  #2D5A3D;
  --cream:  #F8F4EF;
  --gold:   #C9A96E;
  --text:   #1A1A1A;
  --muted:  #6B6B6B;
  --border: rgba(26,26,26,0.12);
  --announce-h: 36px;
  --nav-h:  72px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: var(--announce-h);
  background: var(--blue);
  color: rgba(255,255,255,0.82);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 1rem;
}

.announce-gold {
  color: var(--gold);
  font-weight: 700;
  font-style: normal;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif TC', serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .logo-main, .hero-title, .tri-title, .venezia-title, .pure-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.08em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; }

.section-overline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-overline.light { color: rgba(255,255,255,0.6); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: var(--announce-h); left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(248,244,239,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 1.5rem;
}

.nav-logo { flex: 1; }
.logo-main {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--text);
  font-weight: 400;
}
.logo-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex; gap: 2rem;
}
.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--text);
}

.cart-btn {
  position: relative;
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--text);
  padding: 0.4rem;
  transition: color 0.2s;
}
.cart-btn:hover { color: var(--red); }

.cart-badge {
  position: absolute; top: -2px; right: -4px;
  background: var(--red); color: #fff;
  font-size: 0.58rem; font-family: sans-serif; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--blue);
  display: flex; align-items: center;
  padding-top: calc(var(--announce-h) + var(--nav-h));
  position: relative;
  overflow: hidden;
}

.hero-geo {
  position: absolute; inset: 0;
  pointer-events: none;
}

.geo-block {
  position: absolute;
  opacity: 0.18;
}
.geo-1 { width: 340px; height: 340px; background: var(--red);    top: 5%;  right: 8%;  transform: rotate(15deg); }
.geo-2 { width: 180px; height: 180px; background: var(--green);  top: 15%; right: 22%; transform: rotate(30deg); }
.geo-3 { width: 260px; height: 260px; background: var(--gold);   top: 40%; right: 5%;  transform: rotate(-10deg); border-radius: 4px; }
.geo-4 { width: 120px; height: 120px; background: var(--red);    top: 70%; right: 30%; transform: rotate(45deg); }
.geo-5 { width: 200px; height: 200px; background: var(--green);  bottom: 5%; right: 15%; transform: rotate(20deg); }
.geo-6 { width: 80px;  height: 80px;  background: var(--gold);   top: 20%; right: 40%; transform: rotate(60deg); }
.geo-7 { width: 150px; height: 150px; background: var(--red);    bottom: 20%; right: 50%; transform: rotate(-20deg); opacity: 0.08; }

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.5rem;
  max-width: 640px;
  margin-left: 8vw;
}

/* Hero brand logo */
.hero-logo-img {
  width: 280px;
  max-width: 70vw;
  margin-bottom: 2rem;
  filter: invert(1);
  opacity: 0.9;
  display: block;
}

.hero-overline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--gold); margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 0.8rem 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s;
}
.hero-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ===== STORY ===== */
.story { background: var(--cream); }

.story-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.story-text {
  background: var(--blue);
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}

.story-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.story-body p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 1rem;
  font-weight: 300;
}

.story-credit {
  margin-top: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* Story section logo */
.story-logo-img {
  margin-top: 2.5rem;
  width: 200px;
  filter: invert(1);
  opacity: 0.3;
  display: block;
}

.story-mosaic {
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem;
  position: relative;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 320px;
}

.m-block {
  aspect-ratio: 1;
  border-radius: 2px;
}
.m-red       { background: var(--red); }
.m-red-light { background: #B84040; }
.m-blue      { background: var(--blue); }
.m-blue-light{ background: #2A3D6B; }
.m-green     { background: var(--green); }
.m-green-light{ background: #3D7A55; }
.m-gold      { background: var(--gold); }

.mosaic-label {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ===== TRICOLOR ===== */
.tricolor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.tri-col { padding: 5rem 3rem; }
.tri-red   { background: var(--red); }
.tri-blue  { background: var(--blue); }
.tri-green { background: var(--green); }

.tri-inner { text-align: center; }

.tri-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tri-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tri-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.tri-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto;
}

/* ===== VENEZIA ===== */
.venezia { background: #111; }

.venezia-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 600px;
}

.venezia-content { padding: 5rem 4rem; }

.venezia-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.venezia-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin-bottom: 2rem;
  font-weight: 300;
}

.venezia-price-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}

.price-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 300;
}

.price-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  background: var(--red);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.size-row {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem;
}

.size-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  margin-right: 0.25rem;
}

.size-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 1rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
}
.size-btn:hover,
.size-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

/* Add to Cart button — primary (dark bg) */
.add-cart-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold);
  color: var(--text);
  border: none; cursor: pointer;
  padding: 0.9rem 2rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
  border-radius: 2px;
}
.add-cart-btn:hover { opacity: 0.85; }

/* outline variant for product cards */
.add-cart-btn.outline {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  margin-top: 0.75rem;
}
.add-cart-btn.outline:hover {
  border-color: var(--red);
  color: var(--red);
  opacity: 1;
}

/* Venezia image */
.venezia-img-wrap {
  padding: 3rem 4rem 3rem 0;
}

.venezia-real-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.venezia-img-fallback {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--blue);
}

.vimg-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 80%;
  padding: 2rem;
}

.vi-block { aspect-ratio: 1; border-radius: 3px; }
.vi-r1 { background: var(--red); }
.vi-b1 { background: var(--blue); filter: brightness(1.4); }
.vi-g1 { background: var(--green); filter: brightness(1.3); }
.vi-r2 { background: var(--gold); }
.vi-b2 { background: var(--red); filter: brightness(0.7); }
.vi-g2 { background: var(--green); }
.vi-gold1 { background: var(--gold); filter: brightness(0.8); }
.vi-r3 { background: var(--red); filter: brightness(1.3); }
.vi-b3 { background: var(--blue); filter: brightness(1.6); }

.vimg-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
}

/* ===== PURE COLLECTION ===== */
.pure { background: var(--cream); padding: 6rem 1.5rem; }

.pure-inner { max-width: 1200px; margin: 0 auto; }

.pure-header { text-align: center; margin-bottom: 3.5rem; }

.pure-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pure-sub {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-weight: 300;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-img-wrap { position: relative; overflow: hidden; }

/* Real product images */
.product-real-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-real-img {
  transform: scale(1.04);
}

.product-info { padding: 1.5rem; }

.product-name {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: baseline;
}
.product-name-en {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 300;
}

.product-pantone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.product-material {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 300;
}

.product-price-row {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.product-badge {
  font-size: 0.65rem;
  background: #FFF0EE;
  color: var(--red);
  border: 1px solid rgba(139,26,26,0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ===== MORE COLOURS ===== */
.more-colours {
  background: #fff;
  padding: 4rem 0 4rem;
  border-top: 1px solid var(--border);
}

.more-colours-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.more-colours-inner .section-overline {
  margin-bottom: 2rem;
}

.colour-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding-bottom: 0.5rem;
}

.colour-scroll-wrap::-webkit-scrollbar {
  height: 3px;
}
.colour-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.colour-scroll-wrap::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.colour-scroll-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.colour-thumb {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
}

.colour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.colour-thumb:hover img {
  transform: scale(1.06);
}

/* ===== PROMISES ===== */
.promises {
  background: #fff;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.promises-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.promise-item i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.promise-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.promise-item p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== FOOTER ===== */
.footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-est {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.78rem;
  line-height: 1.8;
  font-weight: 300;
}

.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.4);
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed; top: 0; right: -400px; bottom: 0; z-index: 201;
  width: 380px; max-width: 100vw;
  background: #fff;
  display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.cart-drawer.open { right: 0; }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--muted);
  padding: 0.25rem;
  transition: color 0.2s;
}
.cart-close:hover { color: var(--text); }

.cart-items {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2rem;
  font-weight: 300;
}

.cart-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.cart-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--muted);
}

.cart-item-controls {
  display: flex; align-items: center; gap: 0.5rem;
}

.qty-btn {
  background: none; border: 1px solid var(--border);
  width: 24px; height: 24px;
  border-radius: 2px; cursor: pointer;
  font-size: 0.9rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.qty-btn:hover { border-color: var(--red); color: var(--red); }

.qty-num { font-size: 0.85rem; min-width: 20px; text-align: center; }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex; justify-content: space-between;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

.checkout-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none; cursor: pointer;
  padding: 1rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
  border-radius: 2px;
}
.checkout-btn:hover { opacity: 0.85; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(2rem);
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  white-space: nowrap;
  z-index: 300;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; gap: 1.2rem; }
  .nav-links.open {
    display: flex;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(248,244,239,0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
  }
  .nav-toggle { display: block; }

  .story-inner { grid-template-columns: 1fr; }
  .story-text { padding: 3rem 2rem; }
  .story-mosaic { padding: 2.5rem; }

  .tricolor { grid-template-columns: 1fr; }
  .tri-col { padding: 3rem 2rem; }

  .venezia-inner { grid-template-columns: 1fr; }
  .venezia-content { padding: 3rem 1.5rem; }
  .venezia-img-wrap { padding: 0 1.5rem 3rem; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .colour-thumb { width: 160px; height: 160px; }

  .promises-inner { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .announce-bar { font-size: 0.62rem; letter-spacing: 0.08em; }
  .hero-content { padding: 3rem 1.5rem; margin-left: 0; }
  .hero-title { font-size: 2.8rem; }
  .hero-logo-img { width: 200px; }
  .product-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .colour-thumb { width: 140px; height: 140px; }
  .promises-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .authority-inner { grid-template-columns: 1fr; gap: 2rem; }
  .authority-col--featured { border-left: none; border-right: none; padding: 2rem 0; border-top: 1px solid rgba(201,169,110,0.3); border-bottom: 1px solid rgba(201,169,110,0.3); }
}

/* ===== PRODUCT CARD LINKS ===== */
.product-img-link {
  display: block;
  text-decoration: none;
}
.product-img-link:hover .product-real-img {
  transform: scale(1.03);
}
.product-name a {
  color: inherit;
  text-decoration: none;
}
.product-name a:hover {
  color: var(--gold);
}

/* ===== AUTHORITY BANNER ===== */
.authority-banner {
  background: var(--cream);
  padding: 5rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
}
.authority-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.authority-col {
  text-align: center;
  padding: 0 1rem;
}
.authority-col--featured {
  border-left: 1px solid rgba(201,169,110,0.3);
  border-right: 1px solid rgba(201,169,110,0.3);
  padding: 0 2rem;
}
.authority-overline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.authority-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.authority-col--featured .authority-title {
  font-size: 1.65rem;
}
.authority-desc {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}
.authority-divider {
  max-width: 1100px;
  margin: 3rem auto 2rem;
  height: 1px;
  background: var(--border);
}
.authority-quote {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--blue);
  letter-spacing: 0.05em;
  opacity: 0.75;
  padding-bottom: 1rem;
}

/* ===== FEATURED GRID (index.html 精選三欄) ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.featured-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.featured-img-link { display: block; text-decoration: none; }
.featured-img-link .product-real-img { transition: transform 0.4s ease; }
.featured-card:hover .product-real-img { transform: scale(1.04); }

@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ===== PRODUCTS PAGE ===== */
.page-hero {
  background: var(--blue);
  padding: calc(var(--announce-h) + var(--nav-h) + 3rem) 1.5rem 3rem;
  text-align: center;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.page-hero-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2em;
}

/* Tab bar */
.tab-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(var(--announce-h) + var(--nav-h));
  z-index: 50;
  padding: 0 1.5rem;
}
.tab-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar-inner::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: 1rem 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--text);
  border-bottom-color: var(--gold);
}

/* Products section */
.products-section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.products-section:last-of-type { border-bottom: none; }
.products-section-inner { max-width: 1200px; margin: 0 auto; }
.products-section-header { margin-bottom: 3rem; }
.products-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.products-section-sub {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .product-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 400px) {
  .product-grid-4 { grid-template-columns: 1fr; }
}

/* ===== STORY PAGE ===== */
.story-page-hero {
  background: var(--blue);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--announce-h) + var(--nav-h) + 2rem) 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.story-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(139,26,26,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, rgba(45,90,61,0.12) 0%, transparent 50%);
}
.story-page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.story-hero-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 15vw, 10rem);
  color: rgba(255,255,255,0.08);
  line-height: 1;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.story-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.story-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  font-weight: 300;
}

/* Timeline */
.story-timeline {
  background: var(--cream);
  padding: 6rem 1.5rem;
}
.story-timeline-inner {
  max-width: 900px;
  margin: 0 auto;
}
.timeline-header {
  text-align: center;
  margin-bottom: 5rem;
}
.timeline-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.1em;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 119px;
  top: 0; bottom: -4rem;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: right;
  padding-top: 0.2rem;
  line-height: 1;
}
.timeline-content {
  padding-left: 2rem;
  padding-bottom: 1rem;
  border-left: none;
}
.timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 115px; top: 8px;
}
.timeline-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 2;
  font-weight: 300;
}
.timeline-text strong {
  font-weight: 500;
  color: var(--blue);
}

@media (max-width: 600px) {
  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 1.5rem;
  }
  .timeline-item::before { left: 69px; }
  .timeline-dot { left: 65px; }
  .timeline-year { font-size: 1.6rem; }
  .timeline-content { padding-left: 1rem; }
}

/* Story tricolor */
.story-tricolor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #111;
}
.story-tri-col { padding: 4rem 3rem; text-align: center; }
.story-tri-col.rosso { border-right: 1px solid rgba(255,255,255,0.06); }
.story-tri-col.blu   { border-right: 1px solid rgba(255,255,255,0.06); }
.story-tri-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.story-tri-col.rosso .story-tri-word { color: #C0392B; }
.story-tri-col.blu   .story-tri-word { color: #3A5A8A; }
.story-tri-col.verde .story-tri-word { color: #4A8A6A; }
.story-tri-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-weight: 300;
}
@media (max-width: 768px) {
  .story-tricolor { grid-template-columns: 1fr; }
  .story-tri-col.rosso, .story-tri-col.blu {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* Story auth section */
.story-auth {
  background: #fff;
  padding: 5rem 1.5rem;
}
.story-auth-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.story-auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.story-auth-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2.2;
  font-weight: 300;
}
.story-auth-text p { margin-bottom: 1rem; }
.story-auth-seal {
  display: inline-block;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  padding: 1rem 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ===== STORY PAGE — IMAGE BLOCKS ===== */

/* Hero 橫幅圖 */
.story-hero-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #1B2A4A;
}
.story-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 時間軸側邊圖 */
.story-img-side {
  margin-top: 1.5rem;
  max-width: 480px;
}
.story-img-side img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 300px;
}
.story-img-side.img-missing img { display: none; }
.story-img-side.img-missing { display: none; }

/* 創辦人肖像 */
.story-founder {
  max-width: 800px;
  margin: 0 auto 0;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--cream);
}
.story-founder img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.25rem;
}
.story-founder.img-missing img { display: none; }
.story-founder p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.story-founder .img-note {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* 馬賽克圖 */
.story-mosaic {
  width: 100%;
  overflow: hidden;
  background: var(--blue);
  text-align: center;
  padding-bottom: 1.5rem;
}
.story-mosaic img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.story-mosaic.img-missing img { display: none; }
.story-mosaic .img-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  padding: 1rem 2rem 0;
}

/* 圖片說明文字（通用） */
.img-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
  font-style: italic;
}

/* 結尾夜景圖 */
.story-closing-img {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #0D1A2E;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-closing-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-closing-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,26,46,0.3) 0%, rgba(13,26,46,0.65) 100%);
}
.story-closing-text {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: #fff;
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
  padding: 0 2rem;
}

/* ===== STORY MOSAIC DESIGN ===== */
.story-mosaic-design {
  padding: 80px 40px;
  background: #F8F4EF;
}
.mosaic-design-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mosaic-design-text .section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mosaic-design-text h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: 2rem;
  color: #1A1A1A;
  margin: 12px 0 20px;
}
.mosaic-design-text p {
  color: #555;
  line-height: 2;
  margin-bottom: 28px;
}
.mosaic-design-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mosaic-design-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ===== STORY BRAND LOGO ===== */
.story-brand-logo {
  margin-bottom: 2rem;
}

/* Mobile */
@media (max-width: 768px) {
  .story-hero-img { height: 240px; }
  .story-closing-img { height: 320px; }
  .story-closing-text { font-size: 1.25rem; }
  .story-founder img { width: 200px; height: 250px; }
  .mosaic-design-inner { grid-template-columns: 1fr; }
  .story-brand-logo img { width: 220px; }
}
