@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap");
@import url("examples.css");

:root {
  --ink: #2a2420;
  --muted: #7a6e64;
  --line: #e4d8c8;
  --paper: #faf6f0;
  --white: #fffcf7;
  --green: #8b5a3c;
  --teal: #a67c52;
  --blue: #6b5344;
  --coral: #b85c38;
  --gold: #c89352;
  --dark: #2a2420;
}

body.shop-demo {
  font-family: "Inter", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

body.shop-demo h1,
body.shop-demo h2,
body.shop-demo .shop-page-hero h1 {
  font-family: "Fraunces", "Noto Serif TC", "Songti TC", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.shop-demo .shop-nav,
body.shop-demo .demo-nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(250, 246, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

body.shop-demo .shop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.shop-demo .shop-brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

body.shop-demo .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  background: radial-gradient(circle at 30% 30%, var(--coral) 0%, var(--green) 75%);
}

body.shop-demo .shop-brand strong {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: 1.22rem;
}

body.shop-demo .shop-brand > div > span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

body.shop-demo .shop-nav-links a.active,
body.shop-demo .shop-nav-links a:hover {
  color: var(--coral);
  background: rgba(184, 92, 56, 0.1);
}

body.shop-demo .pill-button {
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(42, 36, 32, 0.18);
}

body.shop-demo .ghost-button:hover {
  border-color: var(--coral);
  color: var(--coral);
}

body.shop-demo .shop-hero {
  background:
    linear-gradient(135deg, #faf0e4 0%, #e8d4bc 55%, #dcc4a8 100%);
  min-height: auto;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

body.shop-demo .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

body.shop-demo .testimonial-card .author {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

body.shop-demo .testimonial-card .avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

body.shop-demo .testimonial-card .name {
  display: block;
  font-weight: 700;
}

body.shop-demo .testimonial-card .meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

body.shop-demo .demo-section:last-of-type {
  padding-bottom: clamp(80px, 10vw, 120px);
}

@media (max-width: 900px) {
  body.shop-demo .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

body.shop-demo .eyebrow {
  color: var(--coral);
  letter-spacing: 0.24em;
  font-weight: 600;
}

body.shop-demo .tech-stack span {
  border-color: rgba(42, 36, 32, 0.12);
  background: rgba(255, 252, 247, 0.72);
}

body.shop-demo .shop-strip {
  background: var(--ink);
  color: var(--white);
}

body.shop-demo .shop-strip span {
  color: rgba(255, 252, 247, 0.72);
}

body.shop-demo .brand-stats strong {
  font-family: "Fraunces", serif;
  color: var(--ink);
}

body.shop-demo .product-card {
  border-radius: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body.shop-demo .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(42, 36, 32, 0.12);
}

body.shop-demo .product-image {
  background: #eee4d6;
}

body.shop-demo .cart-bar {
  border-radius: 999px;
  border-color: rgba(42, 36, 32, 0.1);
}

body.shop-demo .testimonial-card {
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

body.shop-demo .testimonial-card .quote {
  font-family: "Fraunces", "Noto Serif TC", serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

body.shop-demo .avatar {
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

body.shop-demo .nav-cart {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.shop-demo .demo-nav {
    grid-template-columns: 1fr 1fr;
  }

  body.shop-demo .shop-nav-links {
    grid-column: 1 / -1;
  }
}

body.shop-demo .brand-story-section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

body.shop-demo .brand-story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

body.shop-demo .brand-story-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 28px 70px rgba(42, 36, 32, 0.14);
}

body.shop-demo .brand-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  body.shop-demo .brand-story-grid {
    grid-template-columns: 1fr;
  }
}
