/* Sisi affiliate edit: clear attribution, product-first photography and responsive cards. */
.brand img {
  display: block;
  width: 138px;
  height: auto;
  object-fit: contain;
}

.hero-art {
  border: 1px solid rgba(173, 139, 90, 0.14);
}

.hero-art img {
  object-position: 56% center;
}

.affiliate-disclosure {
  max-width: 820px;
  margin: -16px 0 28px;
  padding: 12px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 254, 250, 0.72);
  color: #625d55;
  font-size: 11px;
  line-height: 1.75;
}

.category-filters {
  gap: 8px;
}

.filter {
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.55);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter.active,
.filter:hover {
  border-color: #c9b79f;
  background: var(--white);
  color: var(--ink);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px 16px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8e1d8;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(55, 43, 29, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(55, 43, 29, 0.09);
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #f0ede8;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.product-tag {
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(232, 225, 216, 0.8);
  color: #514c43;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 14px 16px;
}

.product-category {
  min-height: 1.5em;
  font-size: 8px;
}

.product-info h3 {
  min-height: 2.6em;
  margin: 6px 0;
  font-size: 16px;
  line-height: 1.3;
}

.product-desc {
  min-height: 4.8em;
  margin: 0 0 14px;
  color: #716b62;
  font-size: 10px;
  line-height: 1.7;
}

.product-bottom {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 11px;
}

.product-price {
  color: #77716a;
  font-size: 9px;
  font-weight: 500;
}

.product-buy {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-size: 8px;
  letter-spacing: 0.065em;
  transition: color 180ms ease, border-color 180ms ease;
}

.product-buy:hover {
  border-color: #8d6d43;
  color: #8d6d43;
}

.product-card[hidden] {
  display: none;
}

.marketplace-cta {
  align-items: center;
  background: rgba(255, 254, 250, 0.7);
}

.marketplace-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.market-buttons .button {
  gap: 14px;
}

.footer-brand {
  display: block;
  width: 130px;
  height: auto;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
  }

  .desktop-nav {
    display: none;
  }

  .desktop-nav.is-open {
    position: absolute;
    z-index: 10;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 22px 6%;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 14px 24px rgba(40, 34, 28, 0.08);
  }

  .desktop-nav.is-open a {
    padding: 6px 0;
  }

  .menu-toggle {
    display: inline-block;
    min-width: 32px;
    min-height: 32px;
  }

  .header-actions {
    gap: 12px;
  }

  .bag-link {
    display: none;
  }

  .brand img {
    width: 98px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .product-info {
    padding: 13px 11px 14px;
  }

  .product-info h3 {
    font-size: 15px;
  }

  .product-desc {
    min-height: 5.6em;
    font-size: 9px;
  }

  .product-buy {
    font-size: 7.5px;
  }

  .market-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 370px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-image img,
  .filter,
  .product-buy {
    transition: none;
  }
}
