/* ============================================================
   Hooked — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Tokens ────────────────────────────────────────────── */
:root {
  --bg:         #F4EFE6;
  --bg-card:    #FAF7F2;
  --bg-dark:    #1E1A14;
  --text:       #221D13;
  --text-mid:   #5C5347;
  --text-muted: #8F8478;
  --accent:     #B85C2A;
  --accent-lt:  rgba(184,92,42,0.08);
  --accent-dk:  #9A4A20;
  --border:     #DDD5C8;
  --border-lt:  #EDE7DD;
  --sold-text:  #A09890;

  --radius-sm:  2px;
  --radius:     3px;
  --radius-lg:  6px;

  --shadow-card: 0 1px 3px rgba(34,29,19,0.06), 0 4px 16px rgba(34,29,19,0.05);
  --shadow-lift: 0 8px 32px rgba(34,29,19,0.13), 0 2px 8px rgba(34,29,19,0.07);

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-serif:   'DM Serif Display', Georgia, serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overscroll-behavior: none; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 72px;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border-lt);
  padding: 0 40px;
}

.nav-inner {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  height: 68px;
}

.nav-logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1.92rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.nav-logo-img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.nav-tagline {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mid);
  line-height: 1;
  white-space: nowrap;
}

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border-lt);
}

.hero-layout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-tagline em {
  font-style: italic;
  color: var(--accent);
}

.hero-intro {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  flex-shrink: 0;
}

/* ── Grid ───────────────────────────────────────────────── */
.grid-section {
  padding: 36px 0 96px;
}

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

/* ── Cards ──────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card {
  background: var(--bg-card);
  cursor: pointer;
  animation: fadeIn 0.5s var(--ease-out) both;
  position: relative;
  overflow: hidden;
}

.card.sold {
  cursor: pointer;
  opacity: 0.45;
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image wrap */
.card-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.card:not(.sold):hover .card-image-wrap img {
  transform: scale(1.04);
}

/* Sold overlay badge */
.sold-overlay {
  display: none;
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.card.sold .sold-overlay { display: block; }

.sold-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 400;
  color: var(--sold-text);
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  padding: 4px 12px;
  background: var(--bg);
}

/* Card body */
.card-body {
  padding: 28px 28px 32px;
}

.card-meta {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}

.card-price {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-mid);
}

.card.sold .card-price {
  color: var(--sold-text);
  text-decoration: line-through;
}

.card-bottom { display: none; }

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
}

/* ── Product detail ──────────────────────────────────────── */
.product-page {
  padding-top: 0;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.product-back:hover { color: var(--text); }
.product-back svg   { width: 14px; height: 14px; }

/* Two-column layout: photos left, sidebar right */
.product-layout {
  display: grid;
  grid-template-columns: 55% 1fr;
  align-items: start;
}

/* Left: stacked photos */
.product-photos {
  border-right: 1px solid var(--border-lt);
}

.product-photo {
  min-height: calc(100vh - 68px - 72px);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-lt);
}

.product-photo:last-child { border-bottom: none; }

.product-photo img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 68px - 72px);
  object-fit: contain;
  padding: 40px;
  display: block;
}

/* Right: sticky sidebar */
.product-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px - 72px);
  overflow: hidden;
  padding: 24px 48px 32px;
  display: flex;
  flex-direction: column;
}

.product-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.product-price.sold {
  color: var(--sold-text);
  text-decoration: line-through;
}

/* ── Facts bar (horizontal columns) ─────────────────────── */
.product-facts {
  display: flex;
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
  margin-bottom: 14px;
}

.product-fact {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.product-fact + .product-fact {
  padding-left: 14px;
  border-left: 1px solid var(--border-lt);
}

.product-fact-label {
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.product-fact-value {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Condition line below facts ──────────────────────────── */
.product-condition {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-condition-label {
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 8px;
}

.product-description {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-mid);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.product-cta { flex-shrink: 0; padding-top: 12px; }

/* ── Extended info below the photo/sidebar split ─────────── */
.product-extended {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-lt);
}

.product-extended-right {
  width: 45%;
  padding: 40px 0 80px 48px;
}

.product-extended-right p {
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.product-extended-right a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.18s, border-color 0.18s;
}

.product-extended-right a:hover {
  color: var(--text);
  border-color: var(--text);
}

.sold-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--sold-text);
  font-style: italic;
  line-height: 1.6;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 24px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.btn-buy:hover { background: var(--bg-dark); }

.btn-buy:disabled,
.btn-buy[disabled] {
  background: var(--border);
  color: var(--sold-text);
  cursor: not-allowed;
}

.btn-buy svg { width: 14px; height: 14px; }

.btn-outline {
  display: inline-block;
  padding: 11px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.18s;
}

.btn-outline:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ── Not found ───────────────────────────────────────────── */
.not-found {
  padding: 112px 0;
  text-align: center;
}

.not-found h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.not-found p { color: var(--text-muted); margin-bottom: 32px; }

/* ── About / Voorwaarden ─────────────────────────────────── */
.about-page {
  padding: 72px 0 112px;
  max-width: 660px;
}

.about-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 48px;
}

.about-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.about-page p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.about-page p strong { color: var(--text); font-weight: 500; }
.about-page a { color: var(--text); border-bottom: 1px solid var(--border); }
.about-page a:hover { border-color: var(--text); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg);
  border-top: 1px solid var(--border-lt);
  padding: 20px 40px;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: right;
}

.footer-instagram {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  text-align: center;
}

.footer-instagram:hover { color: var(--accent); }

.footer-voorwaarden {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: left;
  transition: color 0.18s;
}

.footer-voorwaarden:hover { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .product-layout { grid-template-columns: 1fr; }

  .product-photos { border-right: none; }

  .product-photo {
    min-height: 70vw;
  }

  .product-photo img {
    min-height: 70vw;
  }

  .product-sidebar {
    position: static;
    border-top: 1px solid var(--border-lt);
    padding: 24px 24px 40px;
  }

  .product-extended {
    justify-content: flex-start;
  }

  .product-extended-right {
    width: 100%;
    padding: 36px 24px 64px;
  }
}

@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .container { padding: 0 20px; }
  .footer { padding: 28px 20px; }

  .hero { padding: 32px 0 28px; }
  .hero-layout { flex-direction: column; gap: 16px; }
  .hero-tagline { white-space: normal; font-size: 2rem; }
  .hero-intro { font-size: 0.8375rem; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-block-text { padding: 28px 20px; }

  .sticky-cta-inner { padding: 12px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-direction: column; gap: 8px; }
}
