@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

@font-face {
  font-family: "Grained";
  src:
    url("fonts/Grained-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1f0f2d;
  --ink-2: #2f1745;
  --lavender: #f4ecff;
  --lilac: #e6d9ff;
  --accent: #7a3cf0;
  --accent-2: #c09bff;
  --muted: #6d5f86;
  --card: #ffffff;
  --border: #e8ddff;
  --shadow: 0 20px 50px rgba(50, 16, 82, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #f8f3ff 0%, #ffffff 100%);
  color: var(--ink);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 4vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 52px;
  width: auto;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: "Grained", 'Playfair Display', 'Inter', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
}

.nav a {
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--lavender);
}

.cta {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 20px rgba(122, 60, 240, 0.15);
}

.cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff;
}

.cta--solid {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cta--ghost {
  background: transparent;
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 6vw, 4.5rem) 4vw 1rem;
}

.hero__copy h1 {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0.2rem 0 0.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.lede {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__badges span {
  background: var(--lavender);
  color: var(--ink-2);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__card {
  width: min(360px, 90%);
  padding: 1.5rem;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 20%, rgba(192, 155, 255, 0.35), transparent 50%), #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.featured-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.featured-thumb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(50, 16, 82, 0.10);
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
}

.card-title {
  margin: 0;
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 1.4rem;
}

.card-price {
  margin: 0.2rem 0;
  font-weight: 700;
  color: var(--accent);
}

.card-note {
  margin: 0;
  color: var(--muted);
}

.glow {
  position: absolute;
  inset: 10% 5% auto auto;
  height: 160px;
  width: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 60, 240, 0.25), transparent 55%);
  filter: blur(12px);
  z-index: -1;
}

.catalog {
  padding: 1rem 4vw 4rem;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin: 0.3rem 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.pill-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.45rem 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
}

.product-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(50, 16, 82, 0.12);
}

.image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--lavender);
  aspect-ratio: 4 / 5;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-card:hover .image-wrap img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.65rem;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 10px 24px rgba(122, 60, 240, 0.25);
}

.product-body {
  padding: 1rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.product-name {
  font-weight: 700;
  margin: 0;
  font-size: 1.05rem;
}

.product-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 800;
  color: var(--accent);
}

.chip {
  background: var(--lavender);
  color: var(--ink-2);
  padding: 0.3rem 0.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
}

.footer {
  padding: 2rem 4vw 3rem;
  border-top: 1px solid var(--border);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer__note {
  color: var(--muted);
  margin: 0.1rem 0 0;
}

.footer__links {
  display: flex;
  gap: 1rem;
  font-weight: 700;
}

.footer__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.skeleton {
  height: 320px;
  border-radius: 18px;
  background: linear-gradient(90deg, #f5edff 0%, #ece0ff 50%, #f5edff 100%);
  background-size: 200% 100%;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { background-position: 0 0; }
  100% { background-position: -200% 0; }
}

/* Product detail */
.detail-shell {
  padding: clamp(1.5rem, 5vw, 3.5rem) 4vw 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
}

.detail-media {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 0.8rem;
}

.detail-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-media img {
  width: 100%;
  border-radius: 12px;
}

.detail-info h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-family: 'Playfair Display', 'Inter', serif;
}

.detail-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.2rem 0 0.6rem;
}

.detail-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.detail-meta .pill {
  background: var(--lavender);
  color: var(--ink-2);
}

.detail-desc {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.detail-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.detail-list li::before {
  content: "•";
  color: var(--accent);
}

.detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.note {
  margin-top: 0.6rem;
  color: var(--muted);
}

.about-hero {
  padding: clamp(2rem, 5vw, 4rem) 4vw 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: center;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.founders {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-card h1 {
  margin: 0 0 0.6rem;
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.about-card p {
  color: var(--muted);
  line-height: 1.6;
}

.quote {
  background: var(--lavender);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-weight: 700;
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .hero__visual {
    order: -1;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
