@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-bg:      #ffffff;
  --color-bg-2:    #f6f4f2;
  --color-accent:  #b49c84;
  --color-text:    #110f0f;
  --color-black:   #000000;
  --wide:          1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Familjen Grotesk', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── HEADER ── */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 28px;
  transition: opacity 0.15s;
}

.site-nav a:hover { opacity: 0.5; }

.site-nav a.active {
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 2px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--color-bg-2);
  text-align: center;
  padding: 48px 24px;
  margin-top: 80px;
  font-size: 13px;
  color: #888;
}

/* ── MAIN ── */
main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 56px 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--color-black);
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.btn:hover { background: #333; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 1.5px solid var(--color-black);
}

.btn-outline:hover { background: var(--color-black); color: #fff; }

/* ── PAGE TITLE ── */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page-subtitle {
  color: #777;
  font-size: 15px;
  margin-bottom: 48px;
}

/* ── HOME HERO ── */
.hero {
  background: var(--color-bg-2);
  padding: 96px 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.05rem;
  color: #555;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── HOME FEATURES ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  background: var(--color-bg-2);
  border-radius: 8px;
  padding: 32px 28px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── PRODUCTS PAGE ── */
.products-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* Filter Panel */
.filter-panel {
  min-width: 180px;
  max-width: 180px;
  position: sticky;
  top: 88px;
}

.filter-panel h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 12px;
}

.filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 12px;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  color: var(--color-text);
  font-family: inherit;
  transition: background 0.15s;
}

.filter-btn:hover { background: #f0eeec; }

.filter-btn.active {
  background: var(--color-black);
  color: #fff;
}

/* Product List */
.products-list { flex: 1; }

.product-item {
  display: flex;
  gap: 28px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e5e5e5;
}

.product-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-item.hidden { display: none; }

.product-image {
  width: 50%;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.product-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.product-info p {
  flex: 1;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-website {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  flex-shrink: 0;
}

.buy-btn {
  display: inline-block;
  background: var(--color-black);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s;
}

.buy-btn:hover { background: #333; color: #fff; }

/* No results message */
.no-results {
  display: none;
  text-align: center;
  padding: 64px 0;
  color: #999;
  font-size: 15px;
}

.no-results.visible { display: block; }

/* ── ABOUT PAGE ── */
.about-content {
  max-width: 680px;
}

.about-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
}

.about-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 10px 14px;
  outline: none;
  transition: border 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-black);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── MOBILE ── */
@media (max-width: 700px) {
  .site-nav a { margin-left: 16px; font-size: 13px; }

  .products-layout { flex-direction: column; }

  .filter-panel {
    min-width: unset;
    max-width: unset;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: static;
  }

  .filter-panel h3 { width: 100%; }

  .filter-btn {
    display: inline-block;
    width: auto;
    border: 1.5px solid #ddd;
    margin-bottom: 0;
  }

  .product-item { flex-direction: column; }
  .product-image, .product-info { width: 100%; }
  .product-image img { height: 200px; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .hero { padding: 64px 24px; }
}
