/* =========================
   COLLECTION TILES
========================= */

.collection-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.collection-card{
  display:block;
  background:#fff;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
  text-align:left;
  transition:transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.collection-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,0,0,0.12);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.collection-thumb{
  height:120px;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,var(--petal-frost),var(--soft-linen));
  border:1px solid rgba(0,0,0,0.06);
  margin-bottom:10px;
}

.collection-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.collection-name{
  font-weight:700;
  margin-bottom:4px;
}

.collection-sub{
  color:var(--muted);
  font-size:14px;
}


/* =========================
   PRODUCT CARDS
========================= */

.product-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:18px;
}

.product-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
  text-align:left;
  transition:transform 140ms ease, box-shadow 140ms ease;
}

.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.product-media{
  height:220px;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(0,0,0,0.06);
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:10px;
}

.product-title{
  font-size:16px;
  margin:0 0 6px;
}

.product-desc{
  color:var(--muted);
  font-size:14px;
  margin:0 0 12px;
}


/* =========================
   AFFILIATE / DISCLOSURE
========================= */

.affiliate-disclosure{
  margin-top:40px;
  font-size:13px;
  color:var(--muted);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width:900px){
  .product-grid{
    grid-template-columns:1fr 1fr;
  }

  .collection-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:520px){
  .product-grid{
    grid-template-columns:1fr;
  }

  .collection-grid{
    grid-template-columns:1fr;
  }
}